/* ===== CSS VARIABLES ===== */
:root {
  --green: #6a0dad;
  --green-dark: #4a0080;
  --green-light: #9c27b0;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #777;
  --dark: #1a1a1a;
  --text: #444;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  display: inline-block;
  width: auto;
  align-self: flex-start;
}
.btn-white:hover { background: var(--gray-light); transform: translateY(-2px); }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}
.top-bar-contact a {
  color: var(--white);
  opacity: 0.9;
  transition: var(--transition);
}
.top-bar-contact a:hover { opacity: 1; }
.top-bar-contact i { margin-right: 0.3rem; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-fresh {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--green);
  letter-spacing: 0.1em;
}
.logo-lavation {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding: 0.5rem 0.65rem;
  border-radius: 3px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  min-width: 200px;
  border-top: 3px solid var(--green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.main-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  border-bottom: 1px solid #eee;
}
.main-nav .dropdown li:last-child a { border-bottom: none; }
.main-nav .dropdown li a:hover { background: var(--gray-light); color: var(--green); }

.header-btn { white-space: nowrap; margin-left: auto; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  display: block;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.jpeg') center 30% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,0,87,0.72) 0%, rgba(106,13,173,0.65) 50%, rgba(26,0,48,0.75) 100%);
  z-index: 1;
}
.hero-overlay {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 780px;
  animation: fadeUp 1s ease forwards;
}
.hero-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT INTRO ===== */
.about-intro {
  padding: 5rem 0;
  background: var(--white);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.section-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
}
.about-intro-text p {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
}
.about-intro-image img {
  border-radius: 4px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--green);
  padding: 3rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  gap: 0.75rem;
  padding: 1rem;
}
.feature-item i {
  font-size: 2rem;
  opacity: 0.9;
}
.feature-item span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ===== ANY INDUSTRY ===== */
.any-industry {
  padding: 5rem 0;
  background: var(--gray-light);
}
.any-industry-inner {
  max-width: 700px;
}
.any-industry-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}
.any-industry-text p {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 5rem 0;
  background: var(--white);
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  text-align: center;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--green);
  margin: 0.75rem auto 2rem;
}
.section-title.white { color: var(--white); }
.section-title.white::after { background: rgba(255,255,255,0.5); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.service-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img { transform: scale(1.05); }
.service-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 2rem 1rem 0.85rem;
}
.service-label a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--green-dark);
  padding: 5rem 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  color: var(--white);
}
.why-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  min-width: 50px;
}
.why-item h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.95);
}
.why-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ===== CLIENTS ===== */
.clients-section {
  padding: 5rem 0;
  background: var(--gray-light);
}
.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.client-logo {
  opacity: 0.7;
  transition: var(--transition);
  filter: grayscale(1);
}
.client-logo:hover { opacity: 1; filter: grayscale(0); }
.client-logo img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-col p i { margin-right: 0.5rem; color: var(--green-light); }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--green-light); padding-left: 4px; }
.footer-col a[href^="mailto"], .footer-col a[href^="tel"] {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom-inner a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-bottom-inner a:hover { color: var(--white); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 550px;
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  animation: slideUp 0.4s ease;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.85rem; line-height: 1.5; }
.cookie-banner a { color: var(--green-light); text-decoration: underline; }
.cookie-banner.hidden { display: none; }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25d366;
  /* WhatsApp green override below */
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
  z-index: 1000;
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }

/* ===== INNER PAGES ===== */
.page-hero {
  position: relative;
  background: var(--green-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 5rem 0 3rem;
  text-align: center;
  overflow: hidden;
}
/* Purple overlay on top of background image — keeps text readable */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,0,87,0.78) 0%, rgba(106,13,173,0.70) 100%);
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.page-hero p {
  opacity: 0.85;
  font-size: 1rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.75rem;
}
.breadcrumb a { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

.page-content {
  padding: 5rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar-inner { justify-content: center; text-align: center; }
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .main-nav.open { max-height: 600px; }
  .main-nav > ul { flex-direction: column; padding: 1rem; gap: 0; }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid #eee; }
  .main-nav a { padding: 0.75rem 0.5rem; font-size: 0.85rem; }
  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-light);
    display: none;
  }
  .main-nav .has-dropdown.open .dropdown { display: block; }
  .header-btn { display: none; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); } /* 2 cols on tablet */
  .why-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-content h1 { font-size: 1.6rem; }
  .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 6px 6px 0 0; }
}

/* ===== SPLIT HERO ===== */
.hero-split {
  display: flex;
  min-height: 88vh;
  position: relative;
}
.hero-split-panel {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-split-left {
  background-image: url('../images/carpet.jpeg');
  background-position: center center;
  flex: 1;
  position: relative;
}
.hero-split-right {
  background-image: url('../images/hero.jpeg');
  background-position: center 25%;
  position: relative;
}
/* Left panel overlay fades right so photo clears on the right edge */
.hero-split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(30,0,60,0.88) 0%,
    rgba(106,13,173,0.72) 40%,
    rgba(106,13,173,0.20) 70%,
    rgba(106,13,173,0.00) 100%
  );
}
/* Right panel — no overlay, photo totally clear */
.hero-split-right::after { display: none; }

/* Text block — lives on the left panel on desktop */
.hero-split-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 6rem 3rem 4rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.hero-split-content .hero-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-split-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ── MOBILE ──
   Both photos side by side, each taking 50% width.
   Text is absolutely positioned straddling the seam — 
   centred horizontally across the full hero width,
   sitting right where the two photos meet.
   A gradient on each photo fades inward toward the seam
   so the centre is dark enough to read the text.
*/
@media (max-width: 768px) {
  .hero-split {
    min-height: 72vw;
    overflow: hidden;
  }
  .hero-split-left {
    flex: 1;
  }
  /* Left photo: clear on the left edge, darkens toward the right (seam) */
  .hero-split-overlay {
    background: linear-gradient(to right,
      rgba(20,0,50,0.00) 0%,
      rgba(40,0,90,0.75) 70%,
      rgba(40,0,90,0.92) 100%
    );
  }
  .hero-split-right {
    flex: 1;
  }
  /* Right photo: darkens toward the left (seam), clears on the right edge */
  .hero-split-right::after {
    display: block !important;
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
      rgba(20,0,50,0.00) 0%,
      rgba(40,0,90,0.75) 70%,
      rgba(40,0,90,0.92) 100%
    );
  }
  /* Text floats absolutely, anchored at the seam (left: 50%) */
  .hero-split-content {
    position: absolute;
    z-index: 10;
    /* Horizontally: centre the text block at the seam */
    left: 50%;
    transform: translateX(-10%);
    top: 0;
    bottom: 0;
    width: 70vw;
    max-width: 70vw;
    padding: 0 1rem;
    /* Vertically centred */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    height: 100%;
  }
  .hero-split-content .hero-tag {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5rem;
    white-space: normal;
  }
  .hero-split-content h1 {
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }
  .btn-white {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ===== SERVICE PAGE LAYOUT ===== */
.service-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service-page-content > div:last-child img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .service-page-content  {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-page-content > div:last-child img {
    height: 260px;
  }
}

/* ===== ABOUT PAGE (MATCH SERVICE PAGES) ===== */
.about-title{
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-copy p{
  margin-bottom: 1rem;
}

.about-media img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px){
  .about-media img{
    height: 260px; /* matches your service-page image height on mobile */
  }
}

/* ===== PROJECTS PAGE (MATCH SERVICE PAGES) ===== */
.projects-title{
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.projects-copy p{
  margin-bottom: 1rem;
}

.projects-media img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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