/* CSS Variables */
:root {
  --warm-cream: #F5F1E8;
  --rich-brown: #3E2723;
  --coffee-brown: #6D4C41;
  --warm-terracotta: #D4704A;
  --soft-sage: #8B9D83;
  --white: #FFFFFF;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  color: var(--coffee-brown);
  background-color: var(--warm-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rich-brown) 0%, var(--coffee-brown) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.steam-container {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
}

.steam {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  filter: blur(10px);
  animation: steam-rise 4s ease-in-out infinite;
}

.steam-1 {
  left: 40%;
  animation-delay: 0s;
}

.steam-2 {
  left: 50%;
  animation-delay: 1.3s;
}

.steam-3 {
  left: 60%;
  animation-delay: 2.6s;
}

@keyframes steam-rise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-150px) scale(1.5);
  }
}

.hero-title {
  font-family: 'Crimson Text', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--warm-cream);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--warm-cream);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--warm-terracotta);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  background-color: #c05a39;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-title {
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--rich-brown);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--coffee-brown);
  margin-bottom: 4rem;
  opacity: 0.8;
}

/* Menu Section */
.menu-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.menu-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.menu-card-inner {
  text-align: center;
}

.menu-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.menu-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--rich-brown);
  margin-bottom: 1rem;
}

.menu-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--coffee-brown);
}

.menu-price {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--warm-terracotta);
}

/* Location Section */
.location-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--warm-cream), #e8dfc8);
  position: relative;
  z-index: 2;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-block {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.info-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rich-brown);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--soft-sage);
  padding-bottom: 0.5rem;
}

.info-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--coffee-brown);
}

.location-map {
  position: relative;
}

.map-placeholder {
  background: linear-gradient(135deg, var(--soft-sage), #a8b89d);
  border-radius: 15px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.map-placeholder p {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Loyalty Section */
.loyalty-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--warm-terracotta) 0%, #c05a39 100%);
  position: relative;
  z-index: 2;
}

.loyalty-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.loyalty-title {
  font-family: 'Crimson Text', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rich-brown);
  text-align: center;
  margin-bottom: 1rem;
}

.loyalty-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--coffee-brown);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.loyalty-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 600;
  color: var(--rich-brown);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-input {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--coffee-brown);
  transition: all 0.3s ease;
  background-color: var(--warm-cream);
}

.form-input:focus {
  outline: none;
  border-color: var(--warm-terracotta);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(212, 112, 74, 0.1);
}

.form-submit {
  padding: 1.2rem 2rem;
  background-color: var(--warm-terracotta);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-submit:hover {
  background-color: #c05a39;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.form-submit:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Footer */
.footer {
  background-color: var(--rich-brown);
  color: var(--warm-cream);
  text-align: center;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.footer p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .loyalty-card {
    padding: 2rem;
  }

  .loyalty-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .menu-card {
    padding: 2rem;
  }

  .loyalty-card {
    padding: 1.5rem;
  }
}