/* =============================================
   Four Oaks Bathrooms — Premium Stylesheet
   Palette: deep olive + warm off-white + brass gold
   ============================================= */

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

:root {
  --olive:        #3a4228;
  --olive-dark:   #272e1b;
  --olive-deep:   #1c2114;
  --gold:         #c4a46b;
  --gold-light:   #dfc28f;
  --cream:        #f7f5f0;
  --cream-dark:   #edeae2;
  --white:        #ffffff;
  --charcoal:     #1c1c1a;
  --text:         #2a2a28;
  --text-muted:   #7a7a74;
  --border:       #e0ddd5;
  --whatsapp:     #25d366;
  --whatsapp-dark:#1aae52;
  --radius:       2px;
  --transition:   0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, -apple-system, Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garant', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 400; }
p  { color: var(--text-muted); font-weight: 300; }
strong { font-weight: 500; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--olive-deep); }
.section--olive { background: var(--olive); }

.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title { margin-bottom: 20px; }
.section-intro {
  max-width: 560px;
  font-size: 1.1rem;
  margin-bottom: 56px;
  line-height: 1.8;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}
.btn-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: #b8965a; border-color: #b8965a; }

.btn-outline {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.btn-outline:hover { background: var(--olive); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(28, 33, 20, 0.97);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo img {
  height: 44px;
  width: auto;
}
.nav__logo-fallback {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.1em;
  display: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold); }
.nav__cta-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 22px;
  transition: all var(--transition);
}
.nav__cta-link:hover { background: var(--gold); color: var(--white); }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--olive-deep);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links.open a { font-size: 1rem; }
  .nav__toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--olive-deep);
  overflow: hidden;
  text-align: center;
  padding: 82px 20px 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,26,12,0.75) 0%, rgba(20,26,12,0.88) 100%),
    url('../images/hero.jpg') center/cover no-repeat;
  background-color: var(--olive-dark);
}
.hero__logo {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}
.hero__logo img {
  width: clamp(260px, 42vw, 500px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero__divider {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 36px;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  color: var(--white);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.8;
}
.hero .cta-group { justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ============ INTRO STRIP ============ */
.intro-strip {
  background: var(--olive);
  padding: 28px 0;
}
.intro-strip__inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.intro-strip__item {
  text-align: center;
  color: var(--white);
}
.intro-strip__item-num {
  font-family: 'Cormorant Garant', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.intro-strip__item-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ============ ABOUT / INTRO ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { aspect-ratio: 16/9; }
}

/* ============ SERVICES ============ */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-item {
  background: var(--white);
  padding: 48px 40px;
  transition: background var(--transition);
}
.service-item:hover { background: var(--cream); }
.service-item__num {
  font-family: 'Cormorant Garant', serif;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.service-item h3 { margin-bottom: 12px; font-size: 1.3rem; }
.section--cream .services-list { background: var(--border); }
.section--cream .service-item { background: var(--cream); }
.section--cream .service-item:hover { background: var(--cream-dark); }

@media (max-width: 860px) { .services-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .services-list { grid-template-columns: 1fr; } }

/* ============ GALLERY ============ */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}

/* Layout:
   [g1 tall] [g2] [g3]
   [g1 tall] [g4] [g5]
   [g6 wide ——————————]
*/
.gallery-masonry .g-item {
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-masonry .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-masonry .g-item:hover img { transform: scale(1.05); }

/* Hover caption overlay */
.g-item__caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,26,12,0.72) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 22px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-masonry .g-item:hover .g-item__caption { opacity: 1; }
.g-item__caption span {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* Tall first item — spans 2 rows */
.gallery-masonry .g-item--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}
/* Wide last item — spans 2 columns */
.gallery-masonry .g-item--wide {
  grid-column: span 2;
  aspect-ratio: 8/3;
}

.g-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.35;
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 12, 8, 0.95);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 12px 16px;
  line-height: 1;
  transition: all var(--transition);
}
.lightbox__prev:hover,
.lightbox__next:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

@media (max-width: 640px) {
  .gallery-masonry { grid-template-columns: 1fr 1fr; gap: 6px; }
  .gallery-masonry .g-item--tall { grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-masonry .g-item--wide { grid-column: span 2; aspect-ratio: 16/9; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* ============ SOCIAL / VIDEO ============ */
.social-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}
.social-video video {
  width: 100%;
  display: block;
  background: var(--charcoal);
  max-height: 560px;
  object-fit: cover;
}
.social-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: all var(--transition);
}
.social-card:hover { border-color: var(--gold); background: var(--cream); }
.social-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-card__icon svg { width: 28px; height: 28px; }
.social-card--instagram .social-card__icon { color: #c13584; }
.social-card--tiktok .social-card__icon { color: var(--charcoal); }
.social-card__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.social-card__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.social-card__handle {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.15rem;
  color: var(--charcoal);
}
.social-card__cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.social-card--cta {
  cursor: default;
  flex-direction: column;
  align-items: flex-start;
  background: var(--olive-deep);
  border-color: transparent;
  padding: 32px 28px;
}
.social-card--cta:hover { background: var(--olive-dark); border-color: transparent; }
.social-card--cta p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 860px) {
  .social-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ PROCESS ============ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.process-step { position: relative; }
.process-step::after {
  content: '';
  position: absolute;
  top: 14px;
  right: -24px;
  width: 48px;
  height: 1px;
  background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-step__num {
  font-family: 'Cormorant Garant', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }

@media (max-width: 860px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
}
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--olive-deep);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-weight: 300; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 1.05rem; }
.cta-banner .eyebrow { color: var(--gold); }
.cta-banner .cta-group { justify-content: center; margin-top: 40px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--olive-deep);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer__logo img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  line-height: 1.7;
}
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--gold); }
.footer h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ============ LANDING PAGE HERO ============ */
.lp-hero {
  padding: 160px 0 96px;
  background: var(--olive-deep);
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.lp-hero__inner { position: relative; z-index: 1; }
.lp-hero h1 { color: var(--white); font-weight: 300; }
.lp-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 520px; margin-top: 16px; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--cream);
  padding: 12px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--olive); }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* ============ AREAS GRID ============ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.area-card {
  background: var(--white);
  padding: 48px 40px;
  transition: background var(--transition);
  display: block;
}
.area-card:hover { background: var(--cream); }
.area-card__name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  display: block;
}
.area-card p { font-size: 0.9rem; margin-bottom: 20px; }
.area-card__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 640px) { .areas-grid { grid-template-columns: 1fr; } }

/* ============ AREA TAGS ============ */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.area-tag {
  padding: 10px 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 400;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 150;
  width: 54px;
  height: 54px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--olive-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  gap: 10px;
}
.sticky-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 10px;
  font-size: 0.78rem;
}
@media (max-width: 640px) {
  .sticky-cta { display: flex; }
  .wa-float { bottom: 84px; }
}
