/* ============================================
   Classy Luxury — Design System
   Deep charcoal · Warm cream · Brass accents
   ============================================ */

:root {
  --charcoal: #1c1c1c;
  --charcoal-light: #2a2a2a;
  --cream: #f7f3ec;
  --cream-dark: #ebe4d8;
  --brass: #b8956a;
  --brass-light: #d4bc96;
  --text: #2c2c2c;
  --text-muted: #6b6560;
  --white: #ffffff;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav-links { display: flex; gap: 2rem; list-style: none; flex-shrink: 0; }
.nav-links a { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--brass); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); margin: 5px 0; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}

.hero-content { max-width: 820px; }
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--brass); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  margin-left: 1rem;
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }

/* ========== SECTIONS ========== */
section { padding: 6rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--charcoal); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ========== FEATURED / GRID ========== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}
.work-card {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-light);
  aspect-ratio: 4/5;
}
.work-card img, .work-card .placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.work-card:hover img, .work-card:hover .placeholder { transform: scale(1.04); }
.work-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.75) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--cream);
  opacity: 0;
  transition: opacity var(--transition);
}
.work-card:hover .overlay { opacity: 1; }
.work-card h3 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.work-card span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-light); }

.placeholder {
  background-color: #2a2a2a;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
}

/* Gallery modal */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 28, 28, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gallery-modal.open { display: flex; }
.gallery-content {
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  padding: 2rem;
  position: relative;
}
.gallery-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  cursor: pointer;
}
.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: white;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.service-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid rgba(184, 149, 106, 0.2);
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: var(--brass); transform: translateY(-4px); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--charcoal); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
a.service-card { display: block; }

/* Blog index reuses .services-grid / .service-card. auto-fill keeps a single
   post at card width instead of stretching it across the row. */
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-meta {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.service-card .blog-meta { margin: 0.15rem 0 0.9rem; }

.blog-entry { max-width: 720px; margin: 0 auto; }
.blog-entry h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--charcoal);
  margin: 0.75rem 0 1.5rem;
}
.blog-entry p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; }
.blog-back { margin-top: 2.5rem; }
.blog-back a {
  color: var(--brass);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
}

/* ========== ABOUT ========== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-split h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.about-split p { margin-bottom: 1rem; color: var(--text-muted); }

/* ========== FORM ========== */
.form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border: 1px solid rgba(184, 149, 106, 0.2);
}
.form-row { margin-bottom: 1.25rem; }
.form label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; margin-top: 0.5rem; }

.calendar-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.calendar-note a { color: var(--brass); border-bottom: 1px solid var(--brass); }

/* ========== FOOTER ========== */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 4rem 3rem 2rem;
  text-align: center;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 1rem; }
footer p { font-size: 0.85rem; color: #aaa; margin-top: 1.5rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.15rem; }
  .nav-links a { font-size: 0.75rem; letter-spacing: 0.06em; }
  .logo { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { 
    position: fixed; top: 0; right: -100%; height: 100vh; width: 70%;
    background: var(--cream); flex-direction: column; padding: 6rem 2rem;
    gap: 2rem;
    transition: right var(--transition); box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }
  .nav-links a { font-size: 0.85rem; letter-spacing: 0.08em; }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
  section { padding: 4rem 1.5rem; }
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
  .btn-outline { margin-left: 0; margin-top: 1rem; }
}
