/* ============================================================
   PRETTY PETALS CREATIONS — Floral Designer Portfolio
   Palette drawn from actual photo tones:
   blush roses, ivory/cream, sage eucalyptus, warm candlelight
   ============================================================ */

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

:root {
  --cream:    #faf5ef;   /* warm ivory */
  --white:    #ffffff;
  --ink:      #0e0a09;   /* near-black matching logo background */
  --ink-soft: #5c4a42;
  --rose:     #c08880;   /* magnolia blush-pink from logo */
  --rose-lt:  #e8c0b8;   /* light magnolia blush */
  --sage:     #87a989;   /* sage green from eucalyptus */
  --gold:     #c4a030;   /* logo script & butterfly gold */
  --gold-lt:  #e2c96a;   /* light gold for highlights */
  --border:   #e4d5c8;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --max-w: 1240px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---------- UTILITY ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.eyebrow.light { color: var(--gold-lt); }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#navbar.scrolled {
  background: rgba(14, 10, 9, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(196, 160, 48, 0.2);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.logo-img:hover { opacity: 0.88; }

.footer-logo-img {
  height: 90px;
  width: auto;
  display: block;
  border-radius: 6px;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-lt); }

.nav-cta {
  border: 1px solid rgba(196, 160, 48, 0.6) !important;
  color: var(--gold-lt) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--ink) !important;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(196, 160, 48, 0.4);
  color: rgba(226, 201, 106, 0.8);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink) !important;
}

.lang-toggle-mobile { display: none; }

.burger-row {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: transform 0.3s;
}

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('Weddings/IMG_1946(1).JPG');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Dark gradient overlay so white text stays readable */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 18, 14, 0.72) 0%,
    rgba(45, 28, 22, 0.55) 50%,
    rgba(30, 18, 14, 0.45) 100%
  );
}

/* Subtle vignette around edges */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 50%, rgba(15,10,8,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 2rem;
  animation: fadeUp 1s var(--ease-out) both;
}

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

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-lt);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--rose-lt);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s;
  border-radius: 2px;
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 1s 0.6s var(--ease-out) both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s 1s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ---------- SECTIONS SHARED ---------- */
section { padding: 7rem 0; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-header h2 em { font-style: italic; color: var(--rose); }

.section-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ---------- GALLERY ---------- */
#gallery { background: var(--white); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

/* Masonry-style CSS grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 3px;
}

.gallery-item.wide  { grid-column: span 2; }
.gallery-item.tall  { grid-row:    span 2; }

.gallery-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 23, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}

.gallery-item:hover .img-overlay {
  background: rgba(30, 26, 23, 0.4);
}

.img-icon {
  font-size: 1.8rem;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.gallery-item:hover .img-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(20,15,12,0.7) 0%, transparent 100%);
  color: var(--white);
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.1rem;
}

.gallery-caption p {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Hidden/filtered items */
.gallery-item.hidden {
  display: none;
}

/* ---------- EVENTS ---------- */
#events { background: var(--cream); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(30,26,23,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30,26,23,0.12);
}

.event-img {
  height: 220px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.event-body {
  padding: 1.75rem;
}

.event-type {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.event-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.event-detail {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.event-tags li {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  border-radius: 2px;
}

/* ---------- ABOUT ---------- */
#about { background: var(--white); }

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 560px;
}

.about-img-block {
  position: absolute;
  top: 0; left: 0;
  width: 85%;
  height: 85%;
  border-radius: 3px;
  background-image: url('Headshot.JPG');
  background-size: cover;
  background-position: center 20%;
  z-index: 1;
}

.about-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  border: 2px solid rgba(196, 160, 48, 0.4);
  border-radius: 3px;
  z-index: 0;
}

.designer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.about-text h2 em { font-style: italic; color: var(--rose); }

.about-text p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.1rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--rose);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- CONTACT ---------- */
#contact {
  background: var(--ink);
  padding: 7rem 2rem;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.contact-inner h2 em {
  font-style: italic;
  color: var(--rose-lt);
}

.contact-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover {
  color: var(--rose-lt);
  border-color: var(--rose-lt);
}

.contact-divider {
  color: rgba(255,255,255,0.2);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.social-link:hover { color: var(--rose-lt); }

/* ---------- FOOTER ---------- */
footer {
  background: #140f0d;
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer .logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
}

footer p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 15, 12, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 2rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.lightbox-content {
  max-width: 820px;
  width: 100%;
  transform: scale(0.92);
  transition: transform 0.3s var(--ease-out);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-img-wrap {
  width: 100%;
  height: 440px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.lightbox-info { text-align: center; }

.lightbox-info h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.lightbox-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-inner {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14, 10, 9, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(196,160,48,0.2);
  }

  .nav-links.open { display: flex; }

  .nav-links a { color: rgba(255,255,255,0.8) !important; font-size: 0.9rem; }

  /* Hide the lang toggle inside the nav dropdown on mobile */
  .nav-links .lang-toggle { display: none; }

  /* Show the burger row (which includes mobile lang toggle) */
  .burger-row { display: flex; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.wide { grid-column: span 2; }

  .events-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    height: 340px;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
  }

  .contact-divider { display: none; }
}

@media (max-width: 480px) {
  section { padding: 5rem 0; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.wide  { grid-column: span 1; }
  .gallery-item.tall  { grid-row: span 1; }

  .lightbox-img-wrap { height: 260px; }

  .about-stats {
    flex-direction: column;
    gap: 1.2rem;
  }
}
