@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  --color-primary: #C84C2E;
  --color-primary-hover: #b13f25;
  --color-accent-orange: #FF9A7F;
  --color-accent-coral: #FF6B4A;
  
  --bg-body: #F9F7F2;
  --text-main: #1A1A1A;
  --text-muted: #757575;
  --text-dim: rgba(26, 26, 26, 0.65);
  
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.1);
  --header-bg: rgba(255, 255, 255, 0.75);
  --header-border: rgba(0, 0, 0, 0.05);
  --btn-secondary-bg: #EDEDED;
  --btn-secondary-hover: #E3E3E3;
  --btn-secondary-text: #555555;
  
  --border-subtle: rgba(0, 0, 0, 0.15);
  --shadow-nav: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-handwritten: 'Architects Daughter', system-ui, cursive;
}

html.dark {
  --bg-body: #0F0F0F;
  --text-main: #E5E5E5;
  --text-muted: #A3A3A3;
  --text-dim: rgba(229, 229, 229, 0.65);
  
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(20, 20, 20, 0.8);
  --header-border: rgba(255, 255, 255, 0.1);
  --btn-secondary-bg: #262626;
  --btn-secondary-hover: #333333;
  --btn-secondary-text: #E5E5E5;
  
  --border-subtle: rgba(255, 255, 255, 0.15);
  --shadow-nav: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   HEADER & FLOATING NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 1rem 0 1rem;
}

@media (min-width: 1024px) {
  .site-header {
    padding-top: 1.25rem;
  }
}

.navbar {
  max-width: 72rem; /* 1152px */
  margin: 0 auto;
  height: 4rem; /* 64px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--header-border);
  border-radius: 9999px;
  box-shadow: var(--shadow-nav);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 1024px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem 0.25rem 0.375rem;
  border-radius: 9999px;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

html.dark .nav-brand {
  background-color: rgba(30, 30, 30, 0.9);
}

.nav-brand:hover {
  transform: scale(1.02);
}

.nav-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  display: none;
}

html.dark .brand-text {
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .brand-text {
    display: block;
  }
}

.brand-text-accent {
  color: var(--color-primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-phone-link:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon-round {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-icon-round:hover {
  background-color: var(--btn-secondary-hover);
  transform: scale(1.05);
}

.btn-lang {
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-lang:hover {
  background-color: var(--btn-secondary-hover);
  transform: scale(1.05);
}

.btn-nav-cta {
  display: flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-cta:hover {
  background-color: var(--color-primary-hover);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(200, 76, 46, 0.35);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 3.5rem;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .hero-section {
    padding-bottom: 5rem;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.40) 50%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-tag {
  font-family: var(--font-family-handwritten);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent-orange);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-family-handwritten);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.07em;
  max-width: 64rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-family: var(--font-family-handwritten);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
  margin-top: 1.75rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 2rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 76, 46, 0.4);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.section-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-primary);
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

/* ==========================================================================
   SECTION IDENTITÀ / ESPERIENZA
   ========================================================================== */
.identity-grid {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .identity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.identity-card {
  border-radius: 2rem;
  border: 1px solid var(--card-border);
  padding: 2rem;
  background-color: var(--card-bg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.identity-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.identity-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-primary);
}

.identity-card-title {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.identity-card-desc {
  margin-top: 0.75rem;
  line-height: 1.75;
  opacity: 0.65;
  font-size: 0.9375rem;
}

/* ==========================================================================
   SECTION MENU
   ========================================================================== */
.menu-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.menu-info-text {
  margin-top: 1.5rem;
  max-width: 32rem;
  line-height: 1.75;
  opacity: 0.65;
}

.btn-menu-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  margin-top: 2rem;
  padding: 0 1.75rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-menu-call:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 76, 46, 0.35);
}

.menu-list-wrapper {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left 0.2s ease;
}

.menu-item-row:last-child {
  border-bottom: none;
}

.menu-item-row:hover {
  padding-left: 0.5rem;
}

.menu-num {
  margin-right: 1.25rem;
  opacity: 0.35;
  font-weight: 600;
}

.menu-arrow-icon {
  color: var(--color-primary);
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.menu-item-row:hover .menu-arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION GALLERIA
   ========================================================================== */
.gallery-section {
  background-color: #171513;
  color: #FFFFFF;
}

.gallery-label {
  color: var(--color-accent-coral);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #222;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--color-accent-coral);
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.25);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   SECTION REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

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

.review-card {
  border-radius: 2rem;
  background-color: var(--card-bg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.stars-group {
  display: flex;
  gap: 0.25rem;
  color: var(--color-primary);
}

.star-icon {
  width: 1.0625rem;
  height: 1.0625rem;
  fill: currentColor;
}

.review-quote {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-main);
}

.review-author {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   SECTION VISITA / HORAIRES & CONTACT
   ========================================================================== */
.visit-banner {
  display: grid;
  overflow: hidden;
  border-radius: 2.5rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .visit-banner {
    grid-template-columns: 1fr 1fr;
  }
}

.visit-info-col {
  padding: 2rem;
}

@media (min-width: 768px) {
  .visit-info-col {
    padding: 3.5rem;
  }
}

.visit-tag {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
}

.visit-street {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.visit-city {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.visit-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn-visit-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background-color: #FFFFFF;
  color: #1A1A1A;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-visit-directions:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn-visit-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-visit-phone:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.visit-hours-col {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 2rem;
}

@media (min-width: 768px) {
  .visit-hours-col {
    padding: 3.5rem;
  }
}

.hours-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.hours-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
}

.hours-time {
  text-align: right;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #111111;
  color: #FFFFFF;
  padding: 3.5rem 1.25rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  object-fit: contain;
  background-color: #FFFFFF;
  padding: 0.25rem;
}

.footer-title {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-address {
  margin-top: 0.75rem;
  max-width: 18rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-item:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.btn-footer-cta {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--color-primary);
  padding: 0 2rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-footer-cta:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.footer-admin-link {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   PAGE: RESERVATION / PRENOTA
   ========================================================================== */
.page-prenota-main {
  padding-top: 9rem;
  padding-bottom: 6rem;
  min-height: 100vh;
}

.prenota-layout-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .prenota-layout-grid {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
  }
}

.prenota-page-title {
  margin-top: 1.25rem;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.prenota-page-desc {
  margin-top: 1.75rem;
  max-width: 28rem;
  line-height: 1.75;
  opacity: 0.65;
}

.booking-card {
  border-radius: 2.5rem;
  background-color: var(--card-bg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
}

@media (min-width: 768px) {
  .booking-card {
    padding: 3rem;
  }
}

.booking-form-grid {
  display: grid;
  gap: 0 2rem;
}

@media (min-width: 768px) {
  .booking-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field-group {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--text-main);
  opacity: 0.85;
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-input {
  margin-top: 0.5rem;
  width: 100%;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
}

.form-textarea {
  margin-top: 0.5rem;
  width: 100%;
  background: transparent;
  font-size: 1.125rem;
  color: var(--text-main);
  outline: none;
  resize: none;
}

.form-error-msg {
  grid-column: 1 / -1;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #EF4444;
}

.btn-submit-booking {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  padding: 0 2rem;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-booking:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 76, 46, 0.4);
}

.btn-submit-booking:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success screen */
.booking-success-box {
  padding: 4rem 1rem;
  text-align: center;
}

.success-icon {
  margin: 0 auto;
  width: 4rem;
  height: 4rem;
  color: var(--color-primary);
  animation: scaleBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleBounce {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  margin-top: 1.75rem;
  font-size: 1.875rem;
  font-weight: 900;
}

.success-desc {
  margin: 1rem auto 0 auto;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.7;
}

.btn-back-home {
  display: inline-flex;
  margin-top: 2.5rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.75rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   PAGE: ADMIN DASHBOARD
   ========================================================================== */
.admin-body {
  background-color: #0F0F0F !important;
  color: #FFFFFF !important;
}

.admin-main {
  min-height: 100vh;
  padding: 2.5rem 1.25rem 5rem 1.25rem;
  background-color: #0F0F0F;
  color: #FFFFFF;
}

.admin-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.admin-tag {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent-coral);
  font-weight: 700;
}

.admin-title {
  margin-top: 0.5rem;
  font-size: 3rem;
  font-weight: 900;
}

.admin-counter-badge {
  border-radius: 1rem;
  background-color: var(--color-primary);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
}

.admin-counter-label {
  font-size: 0.875rem;
  opacity: 0.7;
}

.admin-counter-val {
  margin-left: 1rem;
  font-size: 1.875rem;
  font-weight: 900;
}

.admin-filters-bar {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

@media (min-width: 768px) {
  .admin-filters-bar {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-search-label {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0 1rem;
}

.admin-input-date {
  min-height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0 1rem;
  color-scheme: dark;
  color: #FFFFFF;
}

.admin-reservations-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .admin-reservations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.res-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
}

.res-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.res-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.res-meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

.res-badge {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-pending {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-confirmed {
  background-color: #D1FAE5;
  color: #065F46;
}

.badge-cancelled {
  background-color: #FEE2E2;
  color: #991B1B;
}

.badge-completed {
  background-color: #E2E8F0;
  color: #334155;
}

.res-contact {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.75;
}

.res-requests {
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.85;
}

.res-actions-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.btn-status-action {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-status-action:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-confirm { background-color: #16A34A; }
.btn-cancel { background-color: #DC2626; }
.btn-complete { background-color: #475569; }

/* ==========================================================================
   PAGE: 404
   ========================================================================== */
.notfound-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: #F8FAFC;
}

html.dark .notfound-container {
  background-color: #0F0F0F;
}

.notfound-box {
  max-width: 28rem;
  width: 100%;
  text-align: center;
}

.notfound-code {
  font-size: 4.5rem;
  font-weight: 300;
  color: #CBD5E1;
  line-height: 1;
}

.notfound-divider {
  height: 2px;
  width: 4rem;
  background-color: #E2E8F0;
  margin: 1rem auto;
}

.notfound-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-main);
  margin-top: 1rem;
}

.notfound-text {
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.btn-notfound-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   SPINNER
   ========================================================================== */
.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.8s linear infinite;
}

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