/* =========================================
   CSS Reset & Variables
   ========================================= */
:root {
  /* Color Palette */
  --color-primary: #8B5E3C; /* Warm coffee brown */
  --color-primary-dark: #6D482B;
  --color-secondary: #D4A373; /* Light caramel */
  --color-bg-light: #FAEDDF; /* Very light cream/beige for background */
  --color-surface: #FFFFFF; /* White for cards/sections */
  --color-text-dark: #2C1E16; /* Dark brown almost black for text */
  --color-text-light: #665243; /* Lighter brown for secondary text */
  --color-whatsapp: #25D366;
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  /* Spacing & Layout */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --container-width: 1100px;
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   Typography & Base Styles
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-primary);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.primary-btn {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
}

.primary-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 94, 60, 0.4);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('hero_bg.jpg'); /* This will be replaced by the generated artifact */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(44, 30, 22, 0.6), rgba(44, 30, 22, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-lg);
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cafe-name {
  font-size: 4.5rem;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  opacity: 0.9;
}

/* =========================================
   About Section
   ========================================= */
.about {
  background-color: var(--color-surface);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.about-content p {
  margin-bottom: var(--spacing-md);
}

/* =========================================
   Menu Section
   ========================================= */
.menu {
  background-color: var(--color-bg-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.category-title {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-dark);
  border-bottom: 1px solid rgba(139, 94, 60, 0.2);
  padding-bottom: var(--spacing-sm);
}

.menu-item {
  margin-bottom: var(--spacing-lg);
}

.item-details {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.item-name {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

.item-dots {
  flex-grow: 1;
  border-bottom: 2px dotted rgba(139, 94, 60, 0.3);
  margin: 0 var(--spacing-sm);
  position: relative;
  top: -4px;
}

.item-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.item-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
  background-color: var(--color-surface);
  text-align: center;
}

.contact-desc {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.contact-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.whatsapp-btn {
  background-color: var(--color-whatsapp);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.email-btn {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
}

.email-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 94, 60, 0.4);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--color-text-dark);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

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

.footer-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

/* =========================================
   Media Queries (Responsive Design)
   ========================================= */
@media (max-width: 768px) {
  .cafe-name {
    font-size: 3rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .contact-links {
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 300px;
    margin: 0 auto;
  }
  
  .contact-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cafe-name {
    font-size: 2.5rem;
  }
  
  .item-dots {
    display: none;
  }
  
  .item-details {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .item-price {
    margin-top: 0.2rem;
  }
}
