/* ==========================================================================
   Amanda Seats - Premium Modern Frontend Stylesheet
   Domain: amandaseats.store | Contact: dev@amandaseats.store
   Built with Vanilla CSS3, Grid/Flexbox, Custom Properties & Glassmorphism
   ========================================================================== */

/* --- CSS Variables & Theme Tokens (Amanda's Eats Mahogany & Gold Theme) --- */
:root {
  /* Color Palette - Rich Mahogany & Warm Amber Gold */
  --bg-main: #1f0b06;
  --bg-surface: #2b110a;
  --bg-surface-elevated: #3a180e;
  --bg-glass: rgba(31, 11, 6, 0.92);
  --bg-glass-card: #2b110a;
  
  --primary: #e59b2b;
  --primary-hover: #f2a838;
  --primary-light: #fcd182;
  --primary-glow: rgba(229, 155, 43, 0.3);
  
  --secondary: #d48518;
  --accent: #fcd182;
  
  --text-main: #fff8f0;
  --text-muted: #e2cbbe;
  --text-subtle: #b89d8d;
  
  --border-light: rgba(229, 155, 43, 0.22);
  --border-focus: #e59b2b;
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  /* Shadows & FX */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 25px var(--primary-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Styles --- */
*, *::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: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Reusable Components & Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, #fff8f0 30%, #e59b2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(229, 155, 43, 0.15);
  border: 1px solid rgba(229, 155, 43, 0.35);
  color: var(--primary-light);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(229, 155, 43, 0.12);
  border: 1px solid rgba(229, 155, 43, 0.25);
  color: var(--primary-light);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #e59b2b 0%, #d48518 100%);
  color: #1f0b06;
  border: 1px solid #f2a838;
  box-shadow: 0 4px 14px rgba(229, 155, 43, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f2a838 0%, #e59b2b 100%);
  border-color: #fcd182;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 155, 43, 0.45);
}

.btn-secondary {
  background: #2b110a;
  color: #fff8f0;
  border: 1px solid rgba(229, 155, 43, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: #3a180e;
  border-color: #e59b2b;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: background var(--transition-fast);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-light);
  border-radius: var(--radius-pill);
}

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

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 50% 20%, #3a180e 0%, #1f0b06 80%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(229, 155, 43, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: #fff8f0;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 540px;
  color: #e2cbbe;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-placeholder-banner {
  background: #2b110a;
  border: 1px solid rgba(229, 155, 43, 0.3);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hero-placeholder-banner img {
  border-radius: var(--radius-md);
  width: 100%;
}

.placeholder-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #1f0b06;
  border: 1px solid #e59b2b;
  color: #fcd182;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* --- Cards & Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.card {
  background: #2b110a;
  border: 1px solid rgba(229, 155, 43, 0.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #e59b2b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(229, 155, 43, 0.2);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #1c0a05;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.card:hover .card-img-wrap img {
  transform: scale(1.03);
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-body {
  flex-grow: 1;
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

/* --- Accordion (FAQ) --- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --- Contact Form & Details --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-form {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Toast Banner */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Legal Content Structure --- */
.legal-box {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h3 {
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

/* --- Page Header Banner --- */
.page-header {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 50%, #3a180e 0%, #1f0b06 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.page-header h1 {
  color: #fff8f0;
}

.page-header p {
  max-width: 600px;
  margin: 0.75rem auto 0 auto;
  color: #e2cbbe;
}

/* --- Contact Details & Form --- */
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #3a180e;
  border: 1px solid rgba(229, 155, 43, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fcd182;
  flex-shrink: 0;
}

.form-control:focus {
  outline: none;
  border-color: #e59b2b;
  box-shadow: 0 0 0 3px rgba(229, 155, 43, 0.2);
}

/* --- Footer --- */
.footer {
  background: #140704;
  color: #e2cbbe;
  border-top: 1px solid rgba(229, 155, 43, 0.22);
  padding-top: 4rem;
  padding-bottom: 2rem;
  margin-top: auto;
}

.footer-col h4 {
  color: #fcd182;
}

.footer-links a {
  color: #e2cbbe;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 155, 43, 0.15);
  color: #b89d8d;
}

/* --- Animations & Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #0f172a;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-box {
    padding: 1.5rem;
  }
}
