:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --primary-gold: #fbbf24;
  --primary-gold-dim: #d97706;
  --text-light: #f8fafc;
  --text-dim: #94a3b8;
  --accent-red: #ef4444;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-darker);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Header */
.header {
  background-color: rgba(15, 23, 42, 0.95);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

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

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--primary-gold);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-dark);
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  top: 100%;
  left: 0;
  padding: 10px 0;
  margin-top: 10px; /* Gap for hover ease */
}

/* Bridge to keep hover active */
.dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content li {
  display: block;
}

.dropdown-content a {
  color: var(--text-dim) !important; /* Override nav-list a color if needed */
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: all 0.2s;
  font-weight: 400;
}

.dropdown-content a:hover {
  background-color: rgba(251, 191, 36, 0.1);
  color: var(--primary-gold) !important;
  padding-left: 25px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-cta {
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.header-cta:hover {
  background: var(--primary-gold);
  color: var(--bg-darker);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("https://i0.wp.com/www.yurdabakanhaliyikama.com/images/hero.webp?ssl=1") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.6),
    rgba(2, 6, 23, 0.9)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gold-text {
  color: var(--primary-gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #01b031;
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background: #075e54;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--bg-darker);
  transform: translateY(-2px);
}

/* Subpage Header */
.page-header {
  height: 40vh;
  background: url("https://i0.wp.com/www.yurdabakanhaliyikama.com/images/hero.webp?ssl=1") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.8);
}

.page-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-gold);
}

/* Sections General */
.section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  height: 400px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-gold);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.service-card p {
  color: #e2e8f0;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.price {
  font-weight: 700;
  color: var(--primary-gold);
  font-size: 1.1rem;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

/* Hygiene Section */
.hygiene-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.compare-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary-gold-dim);
}

.compare-img {
  width: 100%;
  display: block;
}

.compare-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary-gold);
  letter-spacing: 1px;
}

/* Difference / Materials */
.difference-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.difference-container .section-title {
  text-align: left;
}

.diff-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-highlight {
  margin-top: 30px;
  background: rgba(251, 191, 36, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-gold);
  display: flex;
  gap: 15px;
  align-items: center;
}

.feature-highlight i {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

/* Delivery Section */
.delivery-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.delivery-content .section-title {
  text-align: left;
}

.delivery-steps {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step {
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: var(--bg-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 10px;
}

.step-line {
  color: var(--text-dim);
  letter-spacing: -2px;
}

.delivery-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Video Section */
.video-placeholder {
  width: 100%;
  height: 500px;
  background: #000;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.play-button:hover {
  background: var(--primary-gold);
  color: var(--bg-darker);
  transform: scale(1.1);
}

.video-player {
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

/* About (Refined) */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .lead {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
  border-left: 3px solid var(--primary-gold);
  padding-left: 20px;
}

.features-list {
  margin-top: 30px;
}

.features-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-dim);
}

.features-list i {
  color: var(--primary-gold);
}

.about-image-placeholder {
  height: 400px;
  background: var(--bg-card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  background: url("https://i0.wp.com/www.yurdabakanhaliyikama.com/images/about.webp?ssl=1") center/cover no-repeat;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
}

.contact-info {
  padding: 60px;
}

.contact-info .section-title {
  text-align: left;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-top: 5px;
}

.contact-item h4 {
  margin-bottom: 5px;
  color: var(--text-light);
}

.contact-item p,
.contact-item a {
  color: var(--text-dim);
}

.contact-item a:hover {
  color: var(--primary-gold);
}

.map-container {
  min-height: 400px;
  width: 100%;
  background: #333;
}

.btn-whatsapp-full {
  display: flex;
  justify-content: center;
  background: #128c7e;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-top: 40px;
  font-weight: bold;
  text-align: center;
}

/* Footer */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--text-dim);
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer {
  padding: 40px 0;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 20px;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

/* Floating Button */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #04b030;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-badge {
  background: white;
  color: #333;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.google-badge i {
  color: #4285f4;
}

.stars {
  color: #f4b400;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.review-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: var(--bg-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.faq-item p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Service Areas (SEO) */
.districts-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.district-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b48e28 100%);
  color: var(--bg-darker);
  padding: 30px;
  border-radius: 12px;
  margin: 40px auto 0;
  text-align: center;
  max-width: 800px;
  box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.promo-icon {
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.promo-content p {
  font-size: 1.1rem;
  font-weight: 500;
}

.promo-banner.hero-overlap {
  margin-top: -60px;
  z-index: 20;
  position: relative;
  max-width: 900px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1002;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start; /* Align left to make space for absolute button if needed, or keep center */
    padding-left: 20px;
    padding-right: 20px;
    position: relative; /* Ensure relative positioning for absolute child */
  }

  /* Absolute position for the toggle to keep it top-right */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 25px;
  }

  .logo {
    font-size: 1.4rem; /* Slightly smaller to prevent wrap/overlap */
    padding-right: 50px; /* Space for hamburger button */
    word-break: break-word; /* Prevent overflow */
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-card); /* Add background for visibility */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  /* Ensure individual links are centered blocks */
  .nav-list li {
      width: 100%;
      text-align: center;
  }

  .nav-dropdown-toggle {
    justify-content: center; /* Center the flex content (text + icon) */
    width: 100%; /* Ensure it spans full width to allow centering */
  }

  /* Ensure dropdowns are static in mobile flow */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: 0;
    margin-top: 10px;
    display: none; /* Keep hidden until tapped? Or show all? Let's show all for simplicity or keep hover behavior */
    text-align: center; /* Force center alignment for dropdown items */
    width: 100%;
  }
  
  .dropdown-content a {
      text-align: center;
      padding: 10px 0; /* Remove horizontal padding that causes shift */
  }

  /* Make dropdown always visible on mobile if parent is active? 
     Or simplistic approach: Just list them. 
     For now let's just make the main menu toggleable. */
  .dropdown:hover .dropdown-content {
      display: block;
  } 
  
  /* Fix animation Keyframe for Menu */
  @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .about-container,
  .hygiene-container,
  .difference-container,
  .delivery-container,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links a {
    margin: 0 10px;
  }

  .hygiene-text {
    order: 2;
  }

  .compare-wrapper {
    order: 1;
  }

  .diff-image {
    order: 1;
  }

  .diff-text {
    order: 2;
  }

  .delivery-steps {
    flex-direction: column;
    gap: 20px;
  }

  .step-line {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

/* Refactored Utility Classes */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-icon {
  font-size: 0.8rem;
}

.footer-logo-block {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: block;
}

.footer-desc {
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-copyright {
  border-top: none;
  padding-top: 0;
}
