/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --ink:     #1a1510;
  --dark:    #252018;
  --mid:     #3a3228;
  --sand:    #c9a96e;
  --gold:    #a07840;
  --cream:   #f7f2ea;
  --offwhite:#fdfaf5;
  --muted:   #7d7268;
  --border:  #e8e0d0;
  --white:   #ffffff;
  --red:     #c0392b;
  --green:   #27ae60;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --radius:  6px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.22s ease;
}

body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--ink);
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a  { color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ─── Typography ────────────────────────────────────────── */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}
.btn-primary   { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost     { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--sand); color: var(--sand); }
.btn-nav       { background: var(--sand); color: var(--ink); border-color: var(--sand); padding: 0.55rem 1.35rem; font-size: 0.875rem; }
.btn-nav:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-sm        { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-danger    { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #a93226; border-color: #a93226; }

/* ─── Header ────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(26,21,16,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  transition: all 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.25;
  font-weight: 600;
}
.logo-text small { font-family: var(--font-body); font-size: 0.65rem; color: var(--muted); font-weight: 400; letter-spacing: 0.05em; }
.logo--light .logo-text { color: var(--white); }

.main-nav { display: flex; align-items: center; gap: 2.5rem; }
.main-nav ul { display: flex; list-style: none; gap: 0.25rem; }
.main-nav a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.875rem; padding: 0.4rem 0.6rem; border-radius: 4px;
  transition: color var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--sand); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ─── Page Hero ─────────────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,169,110,0.08) 0%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero .section-title { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.55); margin: 0 auto; }

/* ─── HOME HERO ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 110px 5% 80px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(201,169,110,1) 59px, rgba(201,169,110,1) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(201,169,110,1) 59px, rgba(201,169,110,1) 60px);
}
.hero-glow {
  position: absolute; top: -10%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 700px; }
.hero-content .display-title { color: var(--white); }
.hero-content .display-title em { font-style: italic; color: var(--sand); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 520px; margin: 1.5rem 0 2.5rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 3.5rem; flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700;
  color: var(--sand); line-height: 1;
}
.stat-lbl { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ─── Section spacing ───────────────────────────────────── */
.section { padding: 90px 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark .section-title { color: var(--white); }
.section--dark .lead { color: rgba(255,255,255,0.55); }

/* ─── Services grid ─────────────────────────────────────── */
.services-intro { margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 2.25rem;
  transition: background var(--transition);
  position: relative;
}
.service-card:hover { background: var(--offwhite); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.service-detail { display: none; }

/* Full service page */
.service-full {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-full:last-child { border-bottom: none; }
.service-full:nth-child(even) .service-full-img { order: -1; }
.service-full-img {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--border);
}
.service-full h3 {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  margin-bottom: 1rem;
}
.service-full p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.checklist { list-style: none; margin: 1.25rem 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.9rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.check { color: var(--sand); font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }

/* ─── Gallery ───────────────────────────────────────────── */
.gallery-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 2rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
  color: var(--muted);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--sand); border-color: var(--sand); color: var(--ink);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--cream);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,21,16,0.85) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: var(--white); font-size: 0.875rem; font-weight: 500; }
.gallery-cat-tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(201,169,110,0.9);
  color: var(--ink); font-size: 0.7rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 2rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* Empty gallery placeholder */
.gallery-placeholder {
  grid-column: 1/-1; text-align: center;
  padding: 4rem; color: var(--muted);
}
.gallery-placeholder .icon { font-size: 3rem; margin-bottom: 1rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.93);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 100%; max-height: 85vh; border-radius: 4px; object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,0.7); text-align: center; margin-top: 0.75rem; font-size: 0.9rem; }
.lightbox-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(201,169,110,0.2); border: 1px solid rgba(201,169,110,0.4);
  color: var(--white); padding: 1rem 0.75rem; font-size: 1.5rem;
  cursor: pointer; border-radius: 4px;
  transition: background var(--transition); line-height: 1;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--sand); color: var(--ink); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── Reviews ───────────────────────────────────────────── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem; color: var(--sand); opacity: 0.2;
  line-height: 1;
}
.stars { color: var(--sand); letter-spacing: 3px; margin-bottom: 0.75rem; }
.review-text { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.reviewer { font-weight: 600; font-size: 0.875rem; }
.reviewer-loc { color: var(--muted); font-size: 0.8rem; }

/* ─── About ─────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; margin-bottom: 1.5rem;
}
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.badge {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 2rem; font-size: 0.8rem; color: var(--muted);
}
.badge .icon { color: var(--sand); }

/* ─── Contact ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info-cards { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: border-color var(--transition);
}
.contact-card:hover { border-color: var(--sand); }
.contact-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-card-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-card-val { font-size: 0.95rem; font-weight: 500; }

/* ─── Forms ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.4rem; font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sand); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.alert {
  padding: 0.9rem 1.1rem; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 1.25rem;
}
.alert-success { background: #eafaf1; border: 1px solid #a9dfbf; color: #1e8449; }
.alert-error   { background: #fdedec; border: 1px solid #f5b7b1; color: #922b21; }

/* ─── Admin ─────────────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--dark); color: var(--white);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
}
.admin-sidebar .logo { margin-bottom: 2.5rem; }
.admin-nav { list-style: none; flex: 1; }
.admin-nav li { margin-bottom: 0.25rem; }
.admin-nav a {
  display: block; padding: 0.6rem 0.85rem;
  color: rgba(255,255,255,0.65); text-decoration: none;
  border-radius: 4px; font-size: 0.875rem;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(201,169,110,0.15); color: var(--sand); }
.admin-nav .nav-icon { margin-right: 0.5rem; }
.admin-content { flex: 1; padding: 2.5rem; background: #f4f0ea; overflow-y: auto; }
.admin-header { margin-bottom: 2rem; }
.admin-header h1 { font-family: var(--font-display); font-size: 2rem; }
.admin-header p { color: var(--muted); font-size: 0.9rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border);
}
.stat-card .num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); font-weight: 700; line-height: 1; }
.stat-card .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--offwhite); padding: 0.75rem 1rem;
  text-align: left; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border);
}
td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.875rem; vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--offwhite); }
.badge-new { background: #fef9ec; color: #b7770d; border: 1px solid #f6d860; padding: 0.2rem 0.55rem; border-radius: 2rem; font-size: 0.7rem; font-weight: 600; }
.badge-read { background: var(--offwhite); color: var(--muted); border: 1px solid var(--border); padding: 0.2rem 0.55rem; border-radius: 2rem; font-size: 0.7rem; }
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem; text-align: center;
  color: var(--muted); cursor: pointer;
  transition: all var(--transition);
}
.upload-zone:hover { border-color: var(--sand); color: var(--gold); }

/* ─── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.55); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; }
.footer-links h4, .footer-contact h4 {
  color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 1rem; font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--sand); }
.footer-contact a { display: block; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; margin-bottom: 0.5rem; transition: color var(--transition); }
.footer-contact a:hover { color: var(--sand); }
.footer-contact p { font-size: 0.875rem; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--sand); }

/* ─── Utility ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.section-header { margin-bottom: 3rem; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .service-full, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-full:nth-child(even) .service-full-img { order: 0; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 1.5rem; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 1rem; padding: 0.5rem 0; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}
