/* ================================================================
   CRED BRIDAL STUDIO — style.css
   ================================================================ */

/* ────────────────────────────────────────────
   1. CSS VARIABLES
   ──────────────────────────────────────────── */
:root {
  --rust:          #8B2E0F;
  --rust-dark:     #5C1A06;
  --rust-light:    #B84A25;
  --gold:          #C9935A;
  --gold-light:    #E8B87A;
  --ivory:         #F5ECD7;
  --ivory-dark:    #EBD9BE;
  --charcoal:      #1A1008;
  --text-dark:     #2C1810;

  /* Footer — warm dark burgundy (not black) */
  --footer-bg:     #1E0A04;
  --footer-border: rgba(201, 147, 90, 0.2);

  --font-display:  'Cormorant Garamond', serif;
  --font-heading:  'Cinzel', serif;
  --font-body:     'Lato', sans-serif;

  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;
}


/* ────────────────────────────────────────────
   2. RESET & BASE
   ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* ────────────────────────────────────────────
   3. UTILITIES
   ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 0;
  width: fit-content;
}
.gold-rule span {
  display: block;
  height: 1px;
  width: 60px;
  background: var(--gold);
  opacity: 0.5;
}
.gold-rule__diamond {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.divider__line {
  display: block;
  height: 1px;
  width: 80px;
  background: var(--gold);
  opacity: 0.6;
}
.divider__diamond { color: var(--gold); font-size: 0.8rem; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Hero entrance */
.fade-up { animation: fadeUp 1.2s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ────────────────────────────────────────────
   4. BUTTONS
   ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 40px;
  cursor: pointer;
  border: none;
  transition: background var(--transition-base), color var(--transition-base), transform 0.2s;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}
.btn--primary { background: var(--gold); color: var(--charcoal); }
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: #25D366;
  padding: 16px 36px;
  transition: background var(--transition-base), transform 0.2s;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.btn-whatsapp:hover { background: #1EBE5A; transform: translateY(-2px); }


/* ────────────────────────────────────────────
   5. NAVBAR
   KEY: starts fully transparent, blends into hero.
        Adds background only on scroll.
   ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;

  /* Transparent by default — merges with hero video */
  background: transparent;
  border-bottom: 1px solid transparent;

  transition: background var(--transition-base), border-color var(--transition-base), padding var(--transition-base);
}

/* Once user scrolls — dark background appears */
.navbar.scrolled {
  padding: 10px 48px;
  background: rgba(26, 16, 8, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 147, 90, 0.2);
}

/* Logo — bigger than before */
.nav-logo-img {
  height: 62px;      /* was 52px — more visible now */
  width: auto;
  object-fit: contain;
  /* Slight drop shadow so logo reads on light and dark hero frames */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.9;
  transition: color var(--transition-base), opacity var(--transition-base);
}
.nav-links a:hover { color: var(--gold-light); opacity: 1; }

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: 10px 24px;
  transition: background var(--transition-base);
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}
.nav-cta:hover { background: var(--gold-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(26, 16, 8, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu__close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: color var(--transition-base);
}
.mobile-menu a:hover { color: var(--gold-light); }


/* ────────────────────────────────────────────
   6. HERO — video background
   ──────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Full-bleed video */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient overlay — deep at top (merges with transparent nav) and bottom */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Top fade — blends nav bar smoothly into video */
    linear-gradient(to bottom,
      rgba(26, 16, 8, 0.70) 0%,
      rgba(26, 16, 8, 0.20) 25%,
      rgba(26, 16, 8, 0.20) 65%,
      rgba(26, 16, 8, 0.80) 100%
    );
}

/* Decorative border frame */
.hero__frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 147, 90, 0.35);
  pointer-events: none;
  z-index: 2;
}
.hero__frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 147, 90, 0.18);
}
.hero__frame::after {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1rem;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero__title em { font-style: italic; color: var(--gold-light); }

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(245, 236, 215, 0.8);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.hero__location {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floatHint 2s ease-in-out infinite;
}
.scroll-hint span {
  font-family: var(--font-heading);
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  opacity: 0.7;
}
.scroll-hint__arrow {
  width: 18px;
  height: 18px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}
@keyframes floatHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ────────────────────────────────────────────
   7. SECTION BASE
   ──────────────────────────────────────────── */
.section { padding: 90px 60px; }
.section--alt { background: var(--ivory-dark); }
.section--dark {
  background: var(--rust-dark);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(201,147,90,0.04) 0, rgba(201,147,90,0.04) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}

.section__header { text-align: center; margin-bottom: 56px; position: relative; z-index: 1; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--rust-dark);
  line-height: 1.1;
}
.section__title em { font-style: italic; color: var(--gold); }
.section__title--light { color: var(--ivory); }
.section__title--light em { color: var(--gold-light); }


/* ────────────────────────────────────────────
   8. COLLECTION TABS
   ──────────────────────────────────────────── */
.tabs {
  display: flex;
  justify-content: center;
  border: 1px solid var(--gold);
  width: fit-content;
  margin: 0 auto 48px;
}
.tab-btn {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 13px 56px;
  background: transparent;
  color: var(--gold);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}
.tab-btn:first-child { border-right: 1px solid var(--gold); }
.tab-btn.active, .tab-btn:hover { background: var(--rust); color: var(--ivory); }


/* ────────────────────────────────────────────
   9. PRODUCT GRID & CARDS
   ──────────────────────────────────────────── */
.product-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.product-grid.active { display: grid; }

/* For Him — only 2 cards, keep same 2-col but narrower */
.product-grid--two {
  max-width: 600px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 147, 90, 0.25);
  cursor: pointer;
  background: var(--charcoal);
}
.product-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.9);
  transition: transform var(--transition-slow), filter var(--transition-base);
}
.product-card:hover img { transform: scale(1.06); filter: brightness(0.65); }

.product-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 20px 20px;
  background: linear-gradient(to top, rgba(26,16,8,0.95) 0%, transparent 100%);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.product-card__sub {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-card__corner {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.product-card__corner::before { content: '✦'; color: var(--gold); font-size: 0.65rem; }
.product-card:hover .product-card__corner { opacity: 1; }


/* ────────────────────────────────────────────
   10. SERVICE PILLS
   ──────────────────────────────────────────── */
.services-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  max-width: 1100px;
  margin: 0 auto;
  scrollbar-width: none;
}
.services-row::-webkit-scrollbar { display: none; }

.service-pill {
  flex: 0 0 155px;
  height: 430px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(201, 147, 90, 0.3);
  transition: flex var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}
.service-pill:hover { flex: 0 0 330px; }

.service-pill img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter var(--transition-slow);
}
.service-pill:hover img { filter: brightness(0.4); }

.service-pill__label {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  display: flex;
  justify-content: center;
}
.service-pill__label span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: writing-mode var(--transition-base), transform var(--transition-base), font-size var(--transition-base);
}
.service-pill:hover .service-pill__label span {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.service-pill__desc {
  position: absolute;
  bottom: 68px; left: 0; right: 0;
  padding: 0 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(245, 236, 215, 0.75);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}
.service-pill:hover .service-pill__desc { opacity: 1; }


/* ────────────────────────────────────────────
   11. STATS & REVIEWS
   ──────────────────────────────────────────── */
.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.7;
  margin-top: 8px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.review-card {
  background: rgba(245, 236, 215, 0.06);
  border: 1px solid rgba(201, 147, 90, 0.25);
  padding: 28px 24px;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -18px; left: 18px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}
.review-card__stars { color: var(--gold); font-size: 0.75rem; margin-bottom: 12px; }
.review-card__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ivory);
  opacity: 0.85;
  line-height: 1.75;
  margin-bottom: 16px;
}
.review-card__author {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ────────────────────────────────────────────
   12. VISIT / MAP
   ──────────────────────────────────────────── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.visit-map {
  border: 1px solid rgba(201, 147, 90, 0.4);
  padding: 6px;
  background: var(--charcoal);
}
.visit-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
  filter: sepia(0.25) contrast(1.05);
}
.visit-info__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--rust-dark);
  margin-bottom: 28px;
}
.visit-info__title em { font-style: italic; color: var(--gold); }
.visit-details { display: flex; flex-direction: column; gap: 20px; }
.visit-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}
.visit-details__icon { color: var(--gold); font-size: 0.8rem; margin-top: 4px; flex-shrink: 0; }
.visit-details strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 3px;
}


/* ────────────────────────────────────────────
   13. FOOTER
   Warm dark burgundy — not plain black
   ──────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(201, 147, 90, 0.3);
  padding: 60px 40px 28px;
  text-align: center;
}

.footer__top { margin-bottom: 36px; }

.footer__logo {
  height: 90px;
  width: auto;
  margin: 0 auto 14px;
  object-fit: contain;
  /* Glow so logo stands out on dark footer */
  filter: drop-shadow(0 0 12px rgba(201,147,90,0.25));
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(245, 236, 215, 0.5);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.footer__social { display: flex; justify-content: center; gap: 16px; }
.social-icon {
  width: 42px; height: 42px;
  border: 1px solid rgba(201, 147, 90, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--transition-base), color var(--transition-base);
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: var(--gold); color: var(--charcoal); }
.social-icon:hover svg { fill: var(--charcoal); }

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 147, 90, 0.12);
}
.footer__nav a {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, 0.45);
  transition: color var(--transition-base);
}
.footer__nav a:hover { color: var(--gold-light); }

.footer__bottom {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, 0.25);
}


/* ────────────────────────────────────────────
   14. RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 70px 30px; }
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero__title { font-size: clamp(2.8rem, 12vw, 4.5rem); }

  .product-grid { grid-template-columns: 1fr; }
  .product-card img { height: 320px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 36px; }

  .tab-btn { padding: 12px 32px; }

  .service-pill { flex: 0 0 130px; height: 360px; }
  .service-pill:hover { flex: 0 0 250px; }

  .navbar.scrolled { padding: 8px 20px; }
  .navbar { padding: 12px 20px; }
}
