/* Base Styles & Variables */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
:root {
  /* Primary Coffee Colors */
  --primary-dark: #5D4037;    /* Rich coffee bean brown */
  --primary-main: #8D6E63;    /* Warm medium brown */
  --primary-light: #D7CCC8;   /* Light cafe au lait */
  
  /* Secondary/Accent Colors */
  --accent-dark: #4E342E;     /* Dark chocolate */
  --accent-main: #A1887F;     /* Muted clay */
  --accent-light: #EFEBE9;    /* Very light cream */
  
  /* Text Colors */
  --text-dark: #3E2723;       /* Almost black brown */
  --text-medium: #5D4037;     /* Readable brown */
  --text-light: #FFFFFF;      /* Pure white */
  --text-contrast: #F5F5F5;   /* Soft white for dark backgrounds */
  
  /* Backgrounds */
  --bg-light: #FFF8F0;        /* Warm ivory */
  --bg-dark: #3E2723;         /* Deep brown */
  --bg-card: #FFFFFF;         /* Pure white for cards */
  
  /* UI Elements */
  --shadow: 0 4px 12px rgba(94, 63, 55, 0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Penyet', 'Dancing Script', cursive;
  color: var(--text-color);
  background-color: var(--background-light);
  line-height: 1.6;
  transition: var(--transition);
}

body.light-theme {
  --text-color: #333333;
  --background-light: #f9f5f0;
  --card-bg: #ffffff;
}

body:not(.light-theme) {
  --text-color: #f8f8f8;
  --background-light: #2a2a2a;
  --card-bg: #383838;
}

h1, h2, h3, h4 {
  font-family: 'Penyet', 'Dancing Script', cursive;
  font-weight: 700;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

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

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(111, 78, 55, 0.9);
}

.header.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--light-text);
  font-weight: 400;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.theme-toggle {
  color: var(--light-text);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: rotate(30deg);
}

.menu-btn {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

/* Banner Section */
.banner {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1445116572660-236099ec97a0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1351&q=80') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner__container {
  max-width: 800px;
  padding: 0 2rem;
}

.banner__title {
  font-size: 5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner__text {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  margin-bottom: 0.5rem;
}

.scroller {
  width: 3px;
  height: 10px;
  background-color: white;
  border-radius: 3px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Menu Section */
.menu-section {
  padding: 6rem 0;
  background-color: var(--background-light);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  opacity: 0.8;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.menu-tab {
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-tab:hover {
  background-color: var(--primary-color);
  color: white;
}

.menu-tab.active {
  background-color: var(--primary-color);
  color: white;
}

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

.menu-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s forwards;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.menu-card__image {
  height: 200px;
  overflow: hidden;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.menu-card:hover .menu-card__image img {
  transform: scale(1.05);
}

.menu-card__content {
  padding: 1.5rem;
}

.menu-card__content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.menu-card__content .price {
  display: block;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.menu-card__content p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

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

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--card-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background-color: var(--background-light);
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--card-bg);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Footer */
/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.footer-section {
  padding: 0 1rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-section p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  color: var(--light-text);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  transition: var(--transition);
  opacity: 0.9;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
  max-width: 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 1.2rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

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

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .newsletter-form {
    max-width: 350px;
    margin: 1.5rem auto 0;
  }
}
/* Animations */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .banner__title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    padding: 2rem;
  }
  
  .navbar.open {
    left: 0;
  }
  
  .menu-btn {
    display: block;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    z-index: 1001;
  }
  
  .menu-btn__burger {
    position: relative;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
  }
  
  .menu-btn__burger::before,
  .menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
  }
  
  .menu-btn__burger::before {
    transform: translateY(-8px);
  }
  
  .menu-btn__burger::after {
    transform: translateY(8px);
  }
  
  .menu-btn.open .menu-btn__burger {
    background: transparent;
  }
  
  .menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
  }
  
  .menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
  }
  
  .banner__title {
    font-size: 2.5rem;
  }
  
  .banner__text {
    font-size: 1.2rem;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .menu-tabs {
    flex-wrap: wrap;
  }
  
  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .banner__title {
    font-size: 2rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
}