:root {
  --bg: #ffffff;
  --bg2: #f8f8f8;
  --text: #1a1a1a;
  --text2: #666;
  --accent: #c8a87a;
  --border: #e0e0e0;
  --nav-h: 70px;
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
}
nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
nav .brand img { height: 40px; }
nav .brand span { font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: 2px; }
nav ul { list-style: none; display: flex; gap: 32px; }
nav ul a { text-decoration: none; color: var(--text2); font-size: 14px; letter-spacing: 1px; transition: color .2s; }
nav ul a:hover, nav ul a.active { color: var(--accent); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-top: var(--nav-h);
  text-align: center;
  background: var(--bg2);
}
.hero-logo { width: 180px; height: 180px; object-fit: contain; margin-bottom: 8px; }
.hero-logo-placeholder {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a07850);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 700; color: #fff;
  margin: 0 auto 8px;
}
.hero h1 { font-size: 48px; font-weight: 300; letter-spacing: 8px; text-transform: uppercase; }
.hero p { color: var(--text2); margin-top: 4px; font-size: 16px; letter-spacing: 2px; }
.hero-cta { margin-top: 16px; display: flex; gap: 16px; }

/* BUTTONS */
.btn {
  padding: 12px 32px; border: none; cursor: pointer;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a07850; }
.btn-outline { background: transparent; border: 1px solid var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }

/* PAGE HEADER */
.page-header {
  padding: 0 40px;
  aspect-ratio: 2400/512;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header > *:not(.page-header-bg) { position: relative; z-index: 1; }
.page-header h1 { font-size: 36px; font-weight: 300; letter-spacing: 6px; text-transform: uppercase; color: #fff; }
.page-header p { color: rgba(255,255,255,0.6); margin-top: 8px; }

/* SECTION */
section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }

/* GALLERY GRID */
.gallery-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.filter-btn {
  padding: 8px 20px; border: 1px solid var(--border); background: none;
  cursor: pointer; font-size: 13px; letter-spacing: 1px; transition: all .2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.gallery-grid {
  display: flex; flex-direction: column; gap: 16px;
}
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-size: 13px; letter-spacing: 2px; }

/* LIGHTBOX */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9);
  z-index: 200; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 30px;
  color: #fff; font-size: 32px; cursor: pointer; background: none; border: none;
}

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.service-card {
  border: 1px solid var(--border); padding: 40px 32px; text-align: center; transition: box-shadow .2s;
}
.service-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.08); }
.service-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.service-card .price { font-size: 32px; font-weight: 300; color: var(--accent); margin: 16px 0; }
.service-card ul { list-style: none; color: var(--text2); font-size: 14px; line-height: 2; }

/* BOOKING */
.booking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.calendar-wrap { border: 1px solid var(--border); padding: 24px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-header button { background: none; border: 1px solid var(--border); padding: 6px 14px; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-day-name { font-size: 11px; color: var(--text2); padding: 8px 0; letter-spacing: 1px; }
.cal-day {
  padding: 10px 4px; font-size: 14px; cursor: pointer;
  border: 1px solid transparent; transition: all .15s;
}
.cal-day:hover:not(.disabled):not(.empty) { border-color: var(--accent); color: var(--accent); }
.cal-day.selected { background: var(--accent); color: #fff; }
.cal-day.disabled { color: #ccc; cursor: not-allowed; background: #f9f9f9; }
.cal-day.today { font-weight: 700; }

.booking-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; letter-spacing: 1px; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1px solid var(--border); font-size: 14px;
  outline: none; transition: border-color .2s; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.selected-date-display {
  padding: 12px 14px; background: var(--bg2); border: 1px solid var(--border);
  font-size: 14px; color: var(--text2);
}

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h2 { font-size: 28px; font-weight: 300; letter-spacing: 4px; margin-bottom: 20px; }
.contact-info p { color: var(--text2); line-height: 1.8; }
.social-links { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.social-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-size: 14px; transition: color .2s; }
.social-link:hover { color: var(--accent); }
.social-link svg { width: 20px; height: 20px; }

/* TOAST */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  padding: 14px 24px; color: #fff; font-size: 14px; z-index: 999;
  transform: translateY(100px); opacity: 0; transition: all .3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #2e7d32; }
.toast.error { background: #c62828; }

/* FOOTER */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  text-align: center; padding: 32px; color: var(--text2); font-size: 13px; letter-spacing: 1px;
}

/* ADMIN */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--text); color: #fff; padding: 32px 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar h2 { padding: 0 24px 24px; font-size: 16px; letter-spacing: 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar ul { list-style: none; margin-top: 16px; }
.admin-sidebar ul li a { display: block; padding: 12px 24px; color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; transition: all .2s; }
.admin-sidebar ul li a:hover, .admin-sidebar ul li a.active { color: #fff; background: rgba(255,255,255,.1); }
.admin-main { padding: 40px; }
.admin-main h1 { font-size: 24px; font-weight: 400; margin-bottom: 32px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 12px 16px; background: var(--bg2); border-bottom: 2px solid var(--border); font-weight: 500; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.badge { padding: 4px 10px; font-size: 12px; }
.badge-pending { background: #fff8e1; color: #f57f17; }
.badge-confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-rejected { background: #ffebee; color: #c62828; }
.photo-grid-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.photo-thumb { position: relative; }
.photo-thumb img { width: 100%; height: 140px; object-fit: cover; display: block; }
.photo-thumb .del-btn {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,.6); color: #fff; border: none; cursor: pointer;
  width: 28px; height: 28px; font-size: 16px;
}
.upload-area {
  border: 2px dashed var(--border); padding: 32px; text-align: center;
  cursor: pointer; margin-bottom: 24px; transition: border-color .2s;
}
.upload-area:hover { border-color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  nav ul { gap: 16px; }

  .booking-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  section { padding: 60px 20px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; width: 100%; height: auto; }
  .admin-main { margin-left: 0; padding: 20px; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}

/* Gallery categories */
.category-jumps { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.category-jumps a { color: #fff; border: 1px solid rgba(255,255,255,0.5); padding: 0.4rem 1.2rem; border-radius: 20px; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.category-jumps a:hover { background: rgba(255,255,255,0.2); color: #fff; }

.portrait-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cat-tab {
  padding: 8px 20px; background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; font-size: 14px; color: var(--text2); transition: all .2s;
}
.cat-tab:hover { color: var(--text); }
.cat-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

.cat-block { margin: 3rem 0; }
.cat-title { font-size: 2.2rem; letter-spacing: 0.1em; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); text-align: center; }
.empty-tip { color: #666; font-size: 0.9rem; }
