/* ===== The Bridal Showcase North Carolina ===== */
:root {
  --bronze: #8B6B4E;
  --gold: #C4A36E;
  --gold-light: #D9BD86;
  --ivory: #FDFBF7;
  --cream: #F5F0E8;
  --espresso: #2A2520;
  --espresso-soft: #4A4239;
  --muted: #8A7E6E;
  --white: #ffffff;
  --success: #5B8A5A;
  --danger: #B85450;
  --warning: #C4A36E;
  --shadow: 0 6px 24px rgba(42, 37, 32, 0.10);
  --shadow-lg: 0 12px 40px rgba(42, 37, 32, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 300;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bronze); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--espresso);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 1rem;
}

.accent-text { color: var(--gold); font-style: italic; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-cream { background: var(--cream); }
.section-espresso { background: var(--espresso); color: var(--ivory); }
.section-espresso h1, .section-espresso h2, .section-espresso h3 { color: var(--ivory); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: var(--ivory);
  box-shadow: 0 2px 16px rgba(42, 37, 32, 0.08);
  padding: 0.85rem 2rem;
}

.site-header.scrolled .nav-link,
.site-header.scrolled .logo-text,
.site-header.scrolled .header-brand { color: var(--espresso); }
.site-header.scrolled .nav-toggle span { background: var(--espresso); }
.site-header.scrolled .login-btn { border-color: var(--bronze); color: var(--bronze); }

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.logo-mark {
  width: 42px; height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  font-style: italic;
  background: rgba(255,255,255,0.1);
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

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

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

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

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--gold); }

.login-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.login-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--espresso); }

.user-area {
  display: none;
  align-items: center;
  gap: 1rem;
}

.user-name {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
.site-header.scrolled .user-name { color: var(--espresso); }

.user-area .nav-link { font-size: 0.8rem; }

/* ===== Mobile Nav ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  position: relative;
}

.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ivory);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .login-btn { display: none; }
  .user-area { display: none !important; }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 340px;
    height: 100vh;
    background: var(--espresso);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 150;
    overflow-y: auto;
    gap: 0.25rem;
  }

  .mobile-nav.open { right: 0; }

  .mobile-nav a {
    color: var(--ivory);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(196,163,110,0.15);
    transition: color var(--transition);
  }
  .mobile-nav a:hover { color: var(--gold); }

  .mobile-nav .login-btn {
    display: block;
    margin-top: 1.5rem;
    border-color: var(--gold);
    color: var(--gold);
    text-align: center;
  }
  .mobile-nav .user-area-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(42,37,32,0.35) 0%, rgba(42,37,32,0.45) 50%, rgba(42,37,32,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}

.hero-content .eyebrow { color: var(--gold-light); }

.hero-content h1 {
  color: var(--ivory);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
  font-size: 0.75em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(253,251,247,0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 3rem;
  border: 1px solid rgba(196,163,110,0.4);
  border-radius: var(--radius-sm);
  background: rgba(42,37,32,0.3);
  backdrop-filter: blur(8px);
}

.hero-date strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-date span {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--espresso);
}
.btn-gold:hover { background: var(--gold-light); color: var(--espresso); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-bronze {
  background: var(--bronze);
  color: var(--ivory);
}
.btn-bronze:hover { background: var(--espresso-soft); color: var(--ivory); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--espresso); }

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(253,251,247,0.4);
  color: var(--ivory);
}
.btn-outline-light:hover { background: rgba(253,251,247,0.1); border-color: var(--ivory); }

.btn-lg { padding: 1.1rem 3.5rem; font-size: 0.9rem; }
.btn-full { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Event Details Bar ===== */
.event-bar {
  background: var(--espresso);
  padding: 3rem 0;
}

.event-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.event-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.event-bar-item .icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(196,163,110,0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}

.event-bar-item .icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.event-bar-item h4 {
  color: var(--ivory);
  font-size: 1.3rem;
  font-weight: 500;
}

.event-bar-item p {
  color: rgba(253,251,247,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 768px) {
  .event-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 0.5rem;
}

.section-espresso .section-header p { color: rgba(253,251,247,0.6); }

/* ===== Feature Cards ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,163,110,0.3);
}

.feature-card .card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.5rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.feature-card .card-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ===== Two Column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.two-col-img img { width: 100%; height: 100%; object-fit: cover; }

.two-col-content h2 { margin-bottom: 1.5rem; }
.two-col-content p { color: var(--muted); margin-bottom: 1.25rem; }

.checklist { list-style: none; margin: 1.5rem 0; }
.checklist li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  color: var(--espresso-soft);
  font-size: 0.95rem;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-img { max-height: 400px; }
}

/* ===== Vendor Categories ===== */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.vendor-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(42,37,32,0.05);
}

.vendor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(196,163,110,0.4);
}

.vendor-card .v-icon {
  width: 50px; height: 50px;
  margin: 0 auto 1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.vendor-card .v-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.vendor-card h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.vendor-card p { font-size: 0.82rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .vendor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .vendor-grid { grid-template-columns: 1fr; } }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--espresso);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.price-card .price {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--bronze);
  margin: 1rem 0;
}

.price-card .price small {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.price-card .price-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.price-card ul li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--espresso-soft);
  border-bottom: 1px solid var(--cream);
}

.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.95rem;
  width: 8px; height: 5px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

/* ===== Forms ===== */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-wrap-lg { max-width: 800px; }

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

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--espresso);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,110,0.12);
  background: var(--white);
}

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

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

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.form-success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success-msg h3 { color: var(--success); margin-bottom: 1rem; }

/* Auth requirement banner */
.auth-required {
  display: none;
  text-align: center;
  padding: 2.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(196,163,110,0.3);
}

.auth-required h3 { margin-bottom: 1rem; }
.auth-required p { color: var(--muted); margin-bottom: 1.5rem; }

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42,37,32,0.6);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--ivory);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal .modal-sub {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--cream);
}

.modal-tab {
  flex: 1;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--sans);
}

.modal-tab.active { color: var(--bronze); border-bottom-color: var(--gold); }

.modal-panel { display: none; }
.modal-panel.active { display: block; }

.modal .btn-full { margin-top: 0.5rem; }

.modal-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.modal-footer a { font-weight: 400; }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.modal-close:hover { background: var(--cream); color: var(--espresso); }

.verify-message {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.verify-message p { color: var(--espresso-soft); margin-bottom: 1rem; }

/* OTP Section */
.otp-section { display: none; }
.otp-section p { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }

/* ===== Status Badges ===== */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-pending { background: rgba(196,163,110,0.15); color: var(--warning); border: 1px solid rgba(196,163,110,0.3); }
.badge-confirmed { background: rgba(91,138,90,0.15); color: var(--success); border: 1px solid rgba(91,138,90,0.3); }
.badge-denied { background: rgba(184,84,80,0.15); color: var(--danger); border: 1px solid rgba(184,84,80,0.3); }

/* ===== Table ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table thead { background: var(--espresso); }
.data-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.data-table tbody tr { border-bottom: 1px solid var(--cream); transition: background var(--transition); }
.data-table tbody tr:hover { background: var(--cream); }
.data-table tbody td { padding: 1rem 1.25rem; color: var(--espresso-soft); }
.data-table tbody td a { font-size: 0.85rem; }

/* ===== Admin Controls ===== */
.admin-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.admin-controls select,
.admin-controls input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--cream);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--espresso);
}

.filter-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 3px 12px rgba(42,37,32,0.05);
}

.stat-card .stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--bronze);
}

.stat-card .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===== App Cards ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.app-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(42,37,32,0.05);
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(196,163,110,0.3);
}

.app-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
}

.app-card h4 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.app-card .app-cat { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.app-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

@media (max-width: 700px) { .app-grid { grid-template-columns: 1fr; } }

/* ===== Awards Timeline ===== */
.award-list { display: flex; flex-direction: column; gap: 2rem; }

.award-item {
  display: flex;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  align-items: flex-start;
}

.award-rank {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}

.award-item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.award-item .award-cat { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.75rem; }
.award-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

@media (max-width: 600px) {
  .award-item { flex-direction: column; gap: 1rem; }
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--espresso) 0%, var(--espresso-soft) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  border: 1px solid rgba(196,163,110,0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-section h2 { color: var(--ivory); margin-bottom: 1rem; }
.cta-section p { color: rgba(253,251,247,0.7); font-size: 1.1rem; margin-bottom: 2rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--espresso);
  padding: 4rem 0 2rem;
  color: rgba(253,251,247,0.6);
}

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

.footer-brand h3 {
  color: var(--ivory);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(253,251,247,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(196,163,110,0.15);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom a {
  opacity: 0.5;
  font-weight: 300;
  color: rgba(253,251,247,0.6);
  text-decoration: none;
}
.footer-bottom a:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Page Hero (non-home pages) ===== */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background: var(--espresso);
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,37,32,0.7) 0%, rgba(42,37,32,0.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero h1 { color: var(--ivory); margin-bottom: 1rem; }
.page-hero p { color: rgba(253,251,247,0.7); font-size: 1.1rem; }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state h3 { margin-bottom: 1rem; }
.empty-state p { color: var(--muted); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
