/* Big Moe's Tea Room - Main Styles */
/* Brand: Elegant but a little crazy */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Serif+Display&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Colors from brand-spec */
  --cream: #FDF6E3;
  --warm-white: #FAF7F2;
  --parchment: #F5ECD7;
  --gold: #C9A962;
  --brass: #B8956A;
  --deep-gold: #9A7B3D;
  --coral-red: #E85A4F;
  --teal: #2A9D8F;
  --charcoal: #2D2A26;
  --warm-gray: #6B6560;
  --light-taupe: #A89F94;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-accent: 'Cormorant Garamond', Garamond, serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--warm-gray);
}

/* Links */
a {
  color: var(--deep-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--coral-red);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(253, 246, 227, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-logo svg {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral-red);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--charcoal);
  transition: 0.3s;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-tagline {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--coral-red);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero h1 {
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero p {
  font-size: 1.125rem;
  color: var(--warm-gray);
  max-width: 500px;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--coral-red);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-gold:hover {
  background: var(--coral-red);
  color: var(--cream);
}

/* Decorative Elements */
.swirl {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0.3;
}

.swirl-1 {
  top: 20%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.swirl-2 {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  animation: float 6s ease-in-out infinite reverse;
}

/* Sections */
section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header .accent-text {
  color: var(--gold);
}

/* Featured Items */
.featured {
  background: var(--warm-white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.featured-item {
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(45, 42, 38, 0.15);
}

.featured-image {
  height: 200px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.featured-image::after {
  content: '🧁';
  font-size: 4rem;
  position: absolute;
}

.featured-image.croissant::after { content: '🥐'; }
.featured-image.cake::after { content: '🍰'; }
.featured-image.tea::after { content: '🍵'; }
.featured-image.macarons::after { content: '🧁'; }

.featured-content {
  padding: var(--space-md);
}

.featured-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.featured-content p {
  color: var(--warm-gray);
  font-size: 0. margin-bottom: var(--space-sm);
}

.featured-price9rem;
  {
  font-weight: 700;
  color: var(--coral-red);
  font-size: 1.125rem;
}

/* VIP Teaser */
.vip-teaser {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 169, 98, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(232, 90, 79, 0.15) 0%, transparent 50%);
}

.vip-teaser h2 {
  color: var(--gold);
}

.vip-teaser p {
  color: var(--light-taupe);
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

/* Testimonials */
.testimonials {
  background: var(--parchment);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--cream);
  padding: var(--space-md);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: -10px;
  left: 15px;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-sm);
}

.testimonial-author {
  font-weight: 600;
  color: var(--charcoal);
}

.testimonial-author span {
  color: var(--coral-red);
  font-weight: 400;
}

/* Menu Page */
.menu-hero {
  padding: calc(80px + var(--space-xl)) 0 var(--space-lg);
  background: var(--warm-white);
  text-align: center;
}

.menu-section {
  padding: var(--space-lg) 0;
}

.menu-section h2 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--deep-gold);
}

.menu-section h2 span {
  font-size: 1.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-sm) 0;
  border-bottom: 1px dashed var(--light-taupe);
}

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

.menu-item-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.menu-item-desc {
  color: var(--warm-gray);
  font-size: 0.9rem;
  margin-top: 4px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--coral-red);
  white-space: nowrap;
  margin-left: var(--space-sm);
}

/* VIP Page */
.vip-hero {
  padding: calc(80px + var(--space-xl)) 0 var(--space-lg);
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}

.vip-hero h1 {
  color: var(--gold);
}

.vip-hero .accent-text {
  color: var(--coral-red);
}

.vip-benefits {
  padding: var(--space-lg) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.benefit-card {
  text-align: center;
  padding: var(--space-md);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.benefit-card h3 {
  margin-bottom: var(--space-xs);
  color: var(--deep-gold);
}

.benefit-card p {
  color: var(--warm-gray);
}

.vip-form-section {
  background: var(--parchment);
  padding: var(--space-xl) 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--cream);
  padding: var(--space-lg);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(45, 42, 38, 0.12);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-taupe);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--warm-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

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

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-md);
  background: rgba(42, 157, 143, 0.1);
  border-radius: 8px;
  color: var(--teal);
}

.form-success.show {
  display: block;
}

/* Contact Page */
.contact-hero {
  padding: calc(80px + var(--space-xl)) 0 var(--space-lg);
  background: var(--warm-white);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.contact-info h3 {
  color: var(--deep-gold);
  margin-bottom: var(--space-sm);
}

.contact-info p {
  color: var(--warm-gray);
  margin-bottom: var(--space-xs);
}

.contact-info a {
  color: var(--coral-red);
}

.contact-hours {
  margin-top: var(--space-md);
}

.contact-hours h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-map {
  background: var(--parchment);
  border-radius: 8px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--light-taupe);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.footer-brand svg {
  width: 100px;
}

.footer-brand span {
  display: none;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--light-taupe);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--coral-red);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(168, 159, 148, 0.2);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 98, 0.2);
  border-radius: 50%;
  color: var(--gold);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--coral-red);
  color: var(--cream);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Page specific animations */
.page-enter {
  animation: fadeInUp 0.6s ease forwards;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: var(--space-xl);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  .form-container {
    padding: var(--space-md);
    margin: 0 var(--space-sm);
  }
}
