/* ============================================================
           TOKENS & FOUNDATIONS
           ============================================================ */
:root {
  --color-primary: #47614c;
  --color-secondary: #1a3a1e;
  --color-accent: #c9a84c;
  --color-accent-light: #e8d5a3;
  --color-green-dark: #0f2a13;
  --color-green-mid: #1e4a24;
  --color-green-bright: #2d8a3e;
  --color-gold: #c9a84c;
  --color-gold-light: #f0e2b5;
  --color-white: #ffffff;
  --color-off-white: #f8f6f0;
  --color-gray-50: #faf9f6;
  --color-gray-100: #f0ede6;
  --color-gray-200: #e0dbd0;
  --color-gray-300: #c5bdb0;
  --color-gray-400: #a09888;
  --color-gray-500: #7a7266;
  --color-gray-600: #5a5248;
  --color-gray-700: #3d3a32;
  --color-gray-800: #26241f;
  --color-gray-900: #14120e;
  --color-black: #0a0907;

  --font-primary:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-height: 76px;
  --container-max-width: 1280px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
           RESET & BASE
           ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-off-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-gold);
}
ul,
ol {
  list-style: none;
  padding: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
           UTILITY CLASSES
           ============================================================ */
.container {
  max-width: var(--container-max-width);
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.section-padding-lg {
  padding: 120px 0;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-gray-900);
  line-height: 1.15;
}

.section-title .highlight {
  color: var(--color-gold);
  position: relative;
}

.section-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  opacity: 0.3;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--color-gray-500);
  max-width: 600px;
  margin-top: 12px;
  line-height: 1.8;
}

.text-gold {
  color: var(--color-gold);
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

.bg-dark-green {
  background-color: var(--color-primary);
}

.bg-dark-green-soft {
  background-color: var(--color-green-dark);
}

/* ============================================================
           BUTTONS
           ============================================================ */
.btn-gold {
  background: var(--color-gold);
  color: var(--color-gray-900);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.btn-gold:hover {
  background: #b8942e;
  color: var(--color-gray-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  padding: 11px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--color-gold);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-gray-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-gray-900);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-white:hover {
  background: var(--color-off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-dark {
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-dark:hover {
  background: var(--color-gray-700);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================
           HEADER / NAVIGATION
           ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgb(90 80 59 / 92%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-gold), #b8942e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-gray-900);
  flex-shrink: 0;
}

.logo span {
  color: var(--color-gold);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--color-white);
  background: rgba(201, 168, 76, 0.15);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle .bar {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: all var(--transition);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
           HERO / SLIDER
           ============================================================ */
.hero-slider {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 9, 7, 0.85) 0%,
    rgba(10, 9, 7, 0.4) 50%,
    rgba(10, 9, 7, 0.7) 100%
  );
  z-index: 1;
}

.hero-slider .slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slide-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
  width: 100%;
}

.hero-slider .slide-content .container {
  max-width: 780px;
}

.hero-slider .badge-gold {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  margin-bottom: 20px;
}

.hero-slider h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.hero-slider h1 .highlight {
  color: var(--color-gold);
  position: relative;
}

.hero-slider .hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-slider .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid transparent;
  transition: all var(--transition);
  padding: 0;
}

.slider-dots button.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.2);
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================================
           ABOUT SECTION
           ============================================================ */
.about-section {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  transition: all var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.about-card:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.about-card .icon {
  font-size: 2.4rem;
  color: var(--color-gold);
  margin-bottom: 12px;
  display: block;
}

.about-card h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-gray-900);
  margin-bottom: 6px;
}

.about-card p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
           WORLDWIDE LOCATIONS
           ============================================================ */
.locations-section {
  background: var(--color-gray-50);
}

.locations-section .section-title {
  color: var(--color-gray-900);
}

.locations-section .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.locations-section .btn-gold {
  margin-top: 20px;
}

/* ============================================================
           TRUST / PARTNERS
           ============================================================ */
.trust-section {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0;
}

.trust-section .section-title {
  color: var(--color-white);
}

.trust-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 60px;
  margin-top: 40px;
}

.partner-item {
  text-align: center;
  max-width: 200px;
}

.partner-item .logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.8rem;
}

.partner-item .partner-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
           LATEST PRODUCTS
           ============================================================ */
.products-section {
  background: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-light);
}

.product-card .product-image {
  position: relative;
  padding-top: 65%;
  background: var(--color-gray-200);
  overflow: hidden;
}

.product-card .product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-card .product-image .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-gold);
  color: var(--color-gray-900);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 50px;
}

.product-card .product-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-body h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-gray-900);
  margin-bottom: 4px;
}

.product-card .product-body .product-category {
  font-size: 0.8rem;
  color: var(--color-gray-400);
  margin-bottom: 6px;
}

.product-card .product-body p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}

.product-card .product-body .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.product-card .product-body .product-meta .price {
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1rem;
}

.product-card .product-body .product-meta .btn-sm-gold {
  background: var(--color-gold);
  color: var(--color-gray-900);
  padding: 5px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.product-card .product-body .product-meta .btn-sm-gold:hover {
  background: #b8942e;
  transform: translateY(-2px);
}

.view-all-link {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
           CONTACT SECTION
           ============================================================ */
.contact-section {
  background: #2a4a30;
  color: var(--color-white);
  padding: 80px 0;
}

.contact-section .section-title {
  color: var(--color-white);
}

.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.contact-item .icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

.contact-item h5 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

.contact-item a:hover {
  color: var(--color-gold);
}

/* ============================================================
           FOOTER
           ============================================================ */
.footer {
  background: rgb(90 80 59 / 92%);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer .logo {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.8;
}

.footer h5 {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer ul li a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
  font-size: 1.1rem;
}

.footer .footer-social a:hover {
  background: var(--color-gold);
  color: var(--color-gray-900);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* ============================================================
           RESPONSIVE
           ============================================================ */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 9, 7, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    text-align: left;
    border-radius: 8px;
  }

  .nav-link.active::after {
    display: none;
  }

  .hero-slider {
    min-height: 90vh;
  }

  .hero-slider .slide-content {
    padding: 80px 0 40px;
  }

  .hero-slider h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-slider .hero-actions {
    flex-direction: column;
  }

  .hero-slider .hero-actions .btn-gold,
  .hero-slider .hero-actions .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .partner-grid {
    gap: 20px;
  }

  .partner-item .logo-placeholder {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-slider h1 {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
           REDUCED MOTION
           ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
