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

:root {
  --gold: #ffffff;
  --gold-light: #e0e0e0;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gray: #666666;
  --light-gray: #e0e0e0;
  --success: #1a1a1a;
  --danger: #111111;
  --warning: #444444;
  --pending-color: #888888;
  --confirmed-color: #111111;
  --declined-color: #444444;
}

body {
  font-family: 'Georgia', serif;
  background: var(--off-white);
  color: var(--dark);
  min-height: 100vh;
}

/* NAV */
#main-nav {
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem 2rem;
  min-height: 64px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-logo {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0.4rem 0;
}

.nav-links button {
  background: none;
  border: none;
  color: #cccccc;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}

.nav-links button:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}

.nav-links button.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.btn-login-nav {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: bold !important;
  border-radius: 4px !important;
}

.btn-login-nav:hover {
  background: #e0e0e0 !important;
}

/* HERO */
.hero {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>') center/cover;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero h1.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-brand-main {
  font-family: 'Georgia', serif;
  font-size: 3.4rem;
  font-weight: bold;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.hero-brand-divider {
  display: block;
  width: 90px;
  height: 2px;
  background: #ffffff;
  opacity: 0.55;
  margin: 0.9rem 0;
}

.hero-brand-sub {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.85;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.75;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-subtext {
  font-size: 0.95rem;
  opacity: 0.6;
  max-width: 600px;
  margin: -1.25rem auto 2rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* SECTIONS */
section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: #111111;
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* SERVICES */
#services {
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #111111;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #111111;
}

.service-card p {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-price {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: bold;
}

/* GALLERY */
#gallery {
  background: #111111;
}

#gallery .section-title {
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1a1a1a;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #ffffff;
  padding: 1rem 0.75rem 0.5rem;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-empty {
  color: rgba(255,255,255,0.35);
  text-align: center;
  grid-column: 1/-1;
  padding: 3rem;
  font-size: 1rem;
}

/* BOOKING FORM */
#booking {
  background: #f5f5f5;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 5px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111111;
  background: #f5f5f5;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #111111;
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: #333333;
}

.success-message {
  background: #f0f0f0;
  border: 1px solid #cccccc;
  color: #111111;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* LOGIN PAGE */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #000000;
}

.auth-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.auth-box h2 {
  text-align: center;
  color: #111111;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.auth-logo {
  text-align: center;
  color: #111111;
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.auth-error {
  background: #f0f0f0;
  color: #111111;
  border: 1px solid #cccccc;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.auth-switch {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: #666666;
}

.auth-switch a {
  color: #111111;
  cursor: pointer;
  text-decoration: underline;
}

/* DASHBOARD */
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  color: #111111;
}

.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #666666;
  transition: all 0.2s;
  font-family: inherit;
  font-weight: 500;
}

.tab-btn.active {
  background: #111111;
  color: #ffffff;
  font-weight: bold;
}

.tab-btn:hover:not(.active) {
  background: #e0e0e0;
  color: #111111;
}

/* REQUESTS TABLE */
.requests-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.requests-table th {
  background: #111111;
  color: #ffffff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.requests-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9rem;
  vertical-align: middle;
}

.requests-table tr:last-child td {
  border-bottom: none;
}

.requests-table tr:hover td {
  background: #f5f5f5;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending { background: #e8e8e8; color: #444444; }
.status-confirmed { background: #111111; color: #ffffff; }
.status-declined { background: #555555; color: #ffffff; }

.action-btn {
  background: none;
  border: 1px solid;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
  margin-right: 0.3rem;
}

.action-btn.approve {
  border-color: #111111;
  color: #111111;
}

.action-btn.approve:hover {
  background: #111111;
  color: #ffffff;
}

.action-btn.decline {
  border-color: #555555;
  color: #555555;
}

.action-btn.decline:hover {
  background: #555555;
  color: #ffffff;
}

.action-btn.view {
  border-color: #333333;
  color: #333333;
}

.action-btn.view:hover {
  background: #333333;
  color: #ffffff;
}

/* CALENDAR */
.calendar-container {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calendar-nav h3 {
  font-size: 1.2rem;
  color: #111111;
}

.cal-nav-btn {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 0.4rem 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.cal-nav-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day-header {
  text-align: center;
  font-size: 0.78rem;
  font-weight: bold;
  color: #666666;
  padding: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cal-cell {
  min-height: 80px;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 0.35rem;
  position: relative;
}

.cal-cell.today {
  background: #eeeeee;
  border: 2px solid #111111;
}

.cal-cell.other-month {
  opacity: 0.4;
}

.cal-date {
  font-size: 0.82rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 0.25rem;
}

.cal-event {
  font-size: 0.72rem;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  margin-bottom: 0.15rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.cal-event.pending { background: #e0e0e0; color: #444444; }
.cal-event.confirmed { background: #111111; color: #ffffff; }
.cal-event.declined { background: #555555; color: #ffffff; }

.calendar-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* BOOKING DETAIL */
.booking-detail {
  max-width: 860px;
  margin: 0 auto;
}

.detail-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}

.detail-card h3 {
  font-size: 1.1rem;
  color: #111111;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #111111;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666666;
  font-weight: bold;
}

.detail-value {
  font-size: 0.95rem;
  color: #111111;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-entry {
  border-left: 3px solid #111111;
  padding-left: 1rem;
  position: relative;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111111;
  border: 2px solid #ffffff;
}

.timeline-date {
  font-size: 0.8rem;
  color: #666666;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.timeline-notes {
  font-size: 0.92rem;
  color: #111111;
  line-height: 1.5;
}

.timeline-private-badge {
  display: inline-block;
  background: #e0e0e0;
  color: #444444;
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.5rem;
  font-weight: bold;
}

.add-timeline-form {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.add-timeline-form h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #111111;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: #111111;
}

/* GALLERY MANAGER */
.gallery-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-manager-item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}

.gallery-manager-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.gallery-manager-info {
  padding: 0.75rem;
}

.gallery-manager-caption {
  font-size: 0.85rem;
  color: #111111;
  margin-bottom: 0.5rem;
}

.gallery-manager-actions {
  display: flex;
  gap: 0.5rem;
}

.add-photo-form {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}

.add-photo-form h3 {
  margin-bottom: 1rem;
  color: #111111;
}

/* PRICING MANAGER */
.pricing-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pricing-manager-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid #111111;
}

.pricing-manager-card h3 {
  font-size: 1rem;
  color: #111111;
  margin-bottom: 1rem;
}

.pricing-manager-card input,
.pricing-manager-card textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: inherit;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.pricing-manager-card input:focus,
.pricing-manager-card textarea:focus {
  outline: none;
  border-color: #111111;
}

/* BACK BTN */
.back-btn {
  background: none;
  border: 1px solid #e0e0e0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #111111;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
  font-family: inherit;
}

.back-btn:hover {
  background: #e0e0e0;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: #666666;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* FOOTER */
footer {
  background: #000000;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem;
  font-size: 0.88rem;
}

footer .footer-brand {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  #main-nav { padding: 0.4rem 1rem; }
  .nav-links { width: 100%; justify-content: center; gap: 0.5rem; }
  .nav-links button { min-height: 44px; padding: 0.55rem 0.85rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero-brand-main { font-size: 2.1rem; letter-spacing: 3px; }
  .hero-brand-sub { font-size: 0.9rem; letter-spacing: 4px; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard { padding: 1rem; }
  .requests-table { font-size: 0.82rem; }
  .requests-table th, .requests-table td { padding: 0.65rem 0.5rem; }
  .cal-cell { min-height: 55px; }
}

/* LOADING */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #666666;
  font-size: 1rem;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e0e0e0;
  border-top-color: #111111;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 0.75rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-align: center;
  border-top: 4px solid #111111;
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #111111;
}

.stat-label {
  font-size: 0.82rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}
