/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #d4a853;
  --primary-dark: #b8912e;
  --dark: #1a1a1a;
  --dark-light: #2d2d2d;
  --gray: #4a4a4a;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ===== LANGUAGE SWITCHER (Flag Dropdown) ===== */
.lang-switcher {
  position: relative;
  margin-left: 25px;
}

.lang-switcher-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.lang-switcher-btn:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switcher-btn .flag {
  font-size: 1.2rem;
  line-height: 1;
}

.lang-switcher-btn .arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
}

.lang-switcher.open .lang-switcher-btn .arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 6px 0;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all var(--transition);
  z-index: 1001;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.lang-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.lang-dropdown a.active {
  color: var(--primary);
  background: rgba(212, 168, 83, 0.08);
}

.lang-dropdown a .flag {
  font-size: 1.2rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span.highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
}

/* ===== SECTION STYLING ===== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .underline {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== HOME - FEATURES ===== */
.features {
  background: var(--gray-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SERVICES PAGE ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 35px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: var(--gray-light);
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.7;
}

.service-card ul {
  margin-top: 12px;
  padding-left: 0;
}

.service-card ul li {
  padding: 5px 0;
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
  padding: 25px 20px;
  color: var(--white);
}

.portfolio-item .overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.portfolio-item .overlay p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== IMAGE SLIDER ===== */
.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.55);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

.slider-counter {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(26, 26, 26, 0.6);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 2;
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 25px auto 0;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.slider-dots .dot:hover {
  background: var(--primary-dark);
}

.slider-dots .dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slide img {
    height: 320px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ===== ABOUT PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 35px;
}

.stat-item {
  text-align: center;
  padding: 25px 15px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 5px;
}

.about-image {
  position: relative;
}

.about-image .placeholder-img {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, var(--dark-light), var(--gray));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
}

.about-image .about-photo {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-values {
  background: var(--gray-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
}

.value-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 25px;
  line-height: 1.8;
}

.contact-details {
  margin-top: 20px;
}

.contact-details .detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-details .detail-item .icon {
  width: 50px;
  height: 50px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details .detail-item .text h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 3px;
}

.contact-details .detail-item .text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 400px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--dark);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 25px;
  border-top: 1px solid var(--dark-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo {
  margin-bottom: 15px;
  display: inline-block;
}

.footer-about p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--dark-light);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .lang-switcher {
    margin-left: 0;
    margin-right: 15px;
  }

  .lang-dropdown {
    right: auto;
    left: 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .features-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
