/*
 * AH EXPORTS - Custom Luxury Style Rules
 * Palette: Cream (#FAF7F0), Dark Green (#0E3A2F), Gold Accent (#C5A560)
 * Fonts: Cormorant Garamond (Headings), Poppins (Body)
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-cream: #FAF7F0;
  --color-cream-dark: #F2ECE0;
  --color-green: #0E3A2F;
  --color-green-light: #164f40;
  --color-green-dark: #07251e;
  --color-gold: #C5A560;
  --color-gold-hover: #b3924e;
  --color-dark: #1b1b1b;
  --color-text-body: #4a4a4a;
  
  --font-headings: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
body {
  background-color: var(--color-cream);
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .brand-heading {
  font-family: var(--font-headings);
  color: var(--color-green);
  font-weight: 600;
  letter-spacing: 0.5px;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--color-green);
}

.text-gold {
  color: var(--color-gold) !important;
}

.text-green {
  color: var(--color-green) !important;
}

.bg-cream {
  background-color: var(--color-cream) !important;
}

.bg-cream-dark {
  background-color: var(--color-cream-dark) !important;
}

.bg-green {
  background-color: var(--color-green) !important;
}

/* Premium Buttons */
.btn-gold {
  background-color: var(--color-gold);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 1px solid var(--color-gold);
  border-radius: 0px;
  transition: var(--transition-smooth);
}
.btn-gold:hover {
  background-color: var(--color-green);
  border-color: var(--color-green);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-gold) !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 1px solid var(--color-gold);
  border-radius: 0px;
  transition: var(--transition-smooth);
}
.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-green {
  background-color: var(--color-green);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 1px solid var(--color-green);
  border-radius: 0px;
  transition: var(--transition-smooth);
}
.btn-green:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

/* Sticky Header with Glassmorphism */
.luxury-navbar {
  background-color: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197, 165, 96, 0.2);
  transition: var(--transition-smooth);
  z-index: 1030;
}

.navbar-brand img {
  max-height: 55px;
  transition: var(--transition-smooth);
}

.luxury-navbar.scrolled {
  padding-top: 5px;
  padding-bottom: 5px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: var(--color-green) !important;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 20px !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold) !important;
}

/* Dropdown / Mega Menu Style */
.dropdown-menu {
  background-color: var(--color-cream);
  border: 1px solid rgba(197, 165, 96, 0.2);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  margin-top: 0;
}

.dropdown-item {
  color: var(--color-green);
  font-size: 13px;
  padding: 8px 25px;
  font-weight: 400;
}
.dropdown-item:hover {
  background-color: var(--color-cream-dark);
  color: var(--color-gold);
  padding-left: 30px;
}

/* Hero Section Styles */
.hero-slider-section {
  position: relative;
  height: calc(100vh - 85px);
  min-height: 550px;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(14, 58, 47, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  max-width: 750px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 64px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.15;
}

/* Section Decorators */
.section-padding {
  padding: 90px 0;
}

.section-title-wrapper {
  margin-bottom: 55px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 46px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  font-size: 16px;
  color: #777;
}

/* Gold Divider */
.gold-divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 20px 0;
}

.gold-divider.center {
  margin: 20px auto;
}

/* Category Grid & Cards */
.category-card {
  position: relative;
  overflow: hidden;
  height: 380px;
  margin-bottom: 30px;
  border-radius: 0px;
  border: 1px solid rgba(197, 165, 96, 0.1);
  background-color: var(--color-cream-dark);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(14, 58, 47, 0.9) 10%, rgba(14, 58, 47, 0.2) 60%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition-smooth);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(14, 58, 47, 0.95) 20%, rgba(14, 58, 47, 0.3) 70%);
}

.category-card h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 500;
}

.category-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.category-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.category-link {
  color: var(--color-gold);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.category-card:hover .category-link {
  opacity: 1;
  transform: translateY(0);
}

/* Product Cards */
.product-card {
  background-color: #fff;
  border: 1px solid rgba(197, 165, 96, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(14, 58, 47, 0.05);
}

.product-img-wrapper {
  position: relative;
  height: 280px;
  background-color: var(--color-cream-dark);
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-green);
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  font-weight: 500;
}

.product-info {
  padding: 25px;
}

.product-cat {
  font-size: 11px;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
  display: block;
}

.product-title {
  font-size: 22px;
  color: var(--color-green);
  margin-bottom: 15px;
  font-weight: 500;
}

.product-meta-specs {
  font-size: 13px;
  color: #777;
  border-top: 1px solid rgba(197, 165, 96, 0.1);
  padding-top: 15px;
  margin-top: 15px;
}

/* Manufacturing Process Timeline */
.timeline-container {
  position: relative;
  padding: 50px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(197, 165, 96, 0.3);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-green);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 18px;
  z-index: 5;
  border: 2px solid var(--color-cream);
}

.timeline-content {
  width: 45%;
  background-color: #fff;
  padding: 30px;
  border: 1px solid rgba(197, 165, 96, 0.1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

/* Certifications Logo Grid */
.cert-logo-wrapper {
  background-color: #fff;
  border: 1px solid rgba(197, 165, 96, 0.15);
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: var(--transition-smooth);
}
.cert-logo-wrapper:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.cert-logo-wrapper img {
  max-width: 100%;
  max-height: 80px;
  filter: grayscale(1);
  opacity: 0.8;
  transition: var(--transition-smooth);
}
.cert-logo-wrapper:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Stats Section */
.stat-box {
  text-align: center;
  padding: 30px;
  border-right: 1px solid rgba(197, 165, 96, 0.2);
}
.stat-box:last-child {
  border-right: none;
}
.stat-num {
  font-family: var(--font-headings);
  font-size: 55px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 5px;
}
.stat-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--color-cream);
}

/* Testimonials Swiper */
.testimonial-card {
  background-color: var(--color-cream-dark);
  padding: 40px;
  border: 1px solid rgba(197, 165, 96, 0.15);
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-headings);
  font-size: 24px;
  font-style: italic;
  color: var(--color-green);
  margin-bottom: 25px;
}
.testimonial-author {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}
.testimonial-company {
  font-size: 11px;
  color: var(--color-gold);
  letter-spacing: 1px;
}

/* FAQ Accordion */
.accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(197, 165, 96, 0.2);
  margin-bottom: 10px;
}

.accordion-button {
  background-color: transparent !important;
  color: var(--color-green) !important;
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 500;
  padding: 20px 0;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--color-gold) !important;
}

.accordion-button::after {
  background-image: none !important;
  content: "+";
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 0 20px 0;
  color: #666;
}

/* Premium Footer */
.luxury-footer {
  background-color: var(--color-green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 3px solid var(--color-gold);
  font-size: 14px;
}

.luxury-footer h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
}
.luxury-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--color-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 25px;
  font-size: 13px;
}

/* Floating Actions Bar */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-call {
  background-color: #007bff;
}

.btn-totop {
  background-color: var(--color-gold);
  display: none; /* Controlled by JS */
}

/* Breadcrumb Styling */
.premium-breadcrumb {
  margin-bottom: 40px;
}
.premium-breadcrumb .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin: 0;
}
.premium-breadcrumb .breadcrumb-item, 
.premium-breadcrumb .breadcrumb-item a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: #888;
}
.premium-breadcrumb .breadcrumb-item a:hover {
  color: var(--color-gold);
}
.premium-breadcrumb .breadcrumb-item.active {
  color: var(--color-gold);
}

/* Product details modal styles */
.modal-content {
  background-color: var(--color-cream);
  border: 1px solid var(--color-gold);
  border-radius: 0;
}

.modal-header {
  border-bottom: 1px solid rgba(197, 165, 96, 0.2);
}

.modal-header .btn-close {
  background-color: transparent;
  filter: sepia(1) saturate(5) hue-rotate(330deg);
  opacity: 1;
}

.modal-body {
  padding: 30px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-title {
    font-size: 42px;
  }
  .section-title {
    font-size: 32px;
  }
  .nav-link {
    padding: 10px 15px !important;
  }
  .timeline-line {
    left: 40px;
  }
  .timeline-badge {
    left: 40px;
  }
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(197, 165, 96, 0.2);
  }
  .stat-box:last-child {
    border-bottom: none;
  }
}
