/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #FAFAF7;
  --bg-warm: #F2EBE3;
  --text: #1E1E1A;
  --text-mid: #6A6A60;
  --text-light: #9A9A8E;
  --gold: #B8946A;
  --sage: #8B9E7A;
  --blush: #D4A8A0;
  --border: #E5DDD3;
  --white: #FFFFFF;

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

  --nav-height: 80px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.nav-logo-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-serif);
}

.logo-events {
  font-size: clamp(1.35rem, 4.8vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.logo-in {
  font-style: italic;
  font-size: clamp(0.83rem, 3vw, 1.05rem);
  font-weight: 300;
  color: var(--gold);
}

.logo-bloom {
  font-size: clamp(1.35rem, 4.8vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--text);
  color: var(--text);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--text);
  color: var(--white);
}

/* ===== Page Body ===== */
.page-body {
  padding-top: var(--nav-height);
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.88;
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ===== Section Reusables ===== */
.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.section-title em {
  font-style: italic;
}

.section-body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: var(--text);
  color: var(--white);
}

.btn-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--text);
}

.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}

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

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-warm);
}

.about-content .section-body + .section-body {
  margin-top: -16px;
}

/* ===== Services ===== */
.services {
  padding: 100px 48px;
  text-align: center;
  background: var(--bg);
}

.services-header {
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  padding: 48px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
}

.service-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--text);
}

.service-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
}

/* ===== Portfolio Preview ===== */
.portfolio-preview {
  padding: 0 0 100px;
}

.portfolio-preview-header {
  padding: 80px 48px 48px;
  text-align: center;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 48px;
}

.preview-item {
  overflow: hidden;
}

.preview-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.preview-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--bg-warm);
  padding: 88px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner .section-title {
  margin-bottom: 12px;
}

.cta-banner .section-body {
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ===== Footer ===== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  padding: 72px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-brand-icon {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.85;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.65;
  transition: opacity var(--transition);
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 300;
  opacity: 0.45;
}

/* ===== Portfolio Page ===== */
.portfolio-page {
  padding-top: var(--nav-height);
}

.page-header {
  padding: 64px 48px 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Filter buttons */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 28px 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--text-mid);
  color: var(--text);
}

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

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px 5px 0;
}

.portfolio-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.portfolio-item.wide img {
  aspect-ratio: 2/1.25;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

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

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 12, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
  background: rgba(15, 15, 12, 0.48);
}

.portfolio-item-category {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: transparent;
  transition: color 0.4s ease;
}

.portfolio-item-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: transparent;
  transition: color 0.4s ease;
  letter-spacing: 0.04em;
}

.portfolio-item:hover .portfolio-item-category {
  color: rgba(255,255,255,0.75);
}

.portfolio-item:hover .portfolio-item-title {
  color: var(--white);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,8,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.lightbox-close:hover { opacity: 1; }

/* ===== Inquiry Page ===== */
.inquiry-page {
  padding-top: var(--nav-height);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.inquiry-image {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
}

.inquiry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inquiry-content {
  padding: 72px 64px;
  background: var(--bg);
  overflow-y: auto;
}

.inquiry-content .section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 10px;
}

/* Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  font-weight: 300;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9A8E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.form-select option {
  color: var(--text);
  background: var(--bg);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.75;
}

.form-submit {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  background: var(--text);
  color: var(--white);
  border: 1px solid var(--text);
  transition: all var(--transition);
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
}

.form-submit:hover {
  background: transparent;
  color: var(--text);
}

.form-note {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 300;
  margin-top: -10px;
}

/* Success message */
.form-success {
  display: none;
  padding: 20px 24px;
  background: rgba(139, 158, 122, 0.12);
  border: 1px solid var(--sage);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
}

.form-success.visible {
  display: block;
}

/* ===== Hamburger ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
}

/* ===== Mobile Slide Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(0,0,0,0.08);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 18, 0.35);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  align-self: flex-end;
  padding: 4px;
  color: var(--text-mid);
  margin-bottom: 48px;
  transition: color var(--transition);
}

.mobile-menu-close:hover {
  color: var(--text);
}

.mobile-nav-links {
  list-style: none;
  flex: 1;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  padding: 18px 0;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.mobile-nav-links a:hover {
  color: var(--gold);
}

.mobile-book-btn {
  display: block;
  text-align: center;
  margin-top: 36px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 55vh;
  }

  .about-content {
    padding: 64px 48px;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .inquiry-image {
    height: 45vh;
    position: relative;
    top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-logo {
    gap: 7px;
  }

  .nav-logo-text {
    gap: 3px;
  }

  .nav-logo-icon {
    width: 13px;
    height: 18px;
  }

  .services {
    padding: 64px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
    gap: 6px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .portfolio-filters {
    padding: 20px 16px;
    gap: 6px;
  }

  .inquiry-content {
    padding: 48px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-banner {
    padding: 64px 24px;
  }

  .page-header {
    padding: 48px 24px 28px;
  }
}
