@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&family=Nunito&display=swap');



/* Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fffaf0;
}

body {
  max-width: 900px;
  width:100%;
  margin: auto;
  background-color: #fffaf0;
  color: #333;
  padding: 1rem;
  line-height: 1.6;
}

/* Header */


.header__h1 {
  background-color: #6d4c41;
  color: #fffaf0;
  padding: 1rem;
  text-align: center;
  border-radius: 10px 10px 0 0;
  padding-right: 3rem; /* ADD THIS LINE */
}


.header__nav {
  background-color: #ffe0b2;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid #ff6f61;
}

.header__ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
}

.header__ul a {
  text-decoration: none;
  color: #6d4c41;
  font-weight: bold;
}

.header__ul a:hover {
  color: #ff6f61;
}



/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  margin-top: 1rem;
}

.hero__h2 {
  position: absolute;
  top: 10%;
  left: 5%;
  background-color: rgba(255, 111, 97, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  border-radius: 8px;
}

.hero img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  animation: fadeInUp 1.2s ease-out forwards;
}


/* Main */
.main {
  padding: 1rem;
  padding-bottom: 3rem;
  width: 100%;
}

.main__title {
  text-align: center;
  color: #6d4c41;
  margin-bottom: 1rem;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.menu-item {
  background-color: #fff;
  border: 1px solid #ffe0b2;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.menu-item:hover {
  transform: scale(1.03);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: bold;
  color: #ff6f61;
}

/* Buttons */
button,
.contact__button {
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover,
.contact__button:hover {
  background-color: #d84315;
}

/* Contact Form */
.contact__fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__input,
.contact__textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

/* Footer */
.footer {
  text-align: center;
  background-color: #4e342e;
  color: #fffaf0;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
}

/* Scroll to Top */
#scrollBtn {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  z-index: 1000;
}

/* Dark Mode */
body.dark-mode {
  background-color: #1c1c1c;
  color: #f5f5f5;
}

body.dark-mode .header__h1,
body.dark-mode .footer {
  background-color: #333;
  color: #f5f5f5;
}

body.dark-mode .header__nav {
  background-color: #222;
}

body.dark-mode a {
  color: #f5f5f5;
}

body.dark-mode .menu-item {
  background-color: #333;
  border: 1px solid #555;
}

/* Dark mode toggle */
.dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 0.9rem;
  background-color: #ffe0b2;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 999;
}

/* Responsive */
/* === Responsive Navigation === */
/* Make header relative so nav-toggle can position inside it */
.header {
  position: relative;
}

/* Hide nav-toggle button on large screens */
.nav-toggle {
  display: none;
}

/* Mobile styles */
@media (max-width: 600px) {
  .nav-toggle {
  display: block;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;       /* 🔽 smaller icon */
  background: none;
  border: none;
  color: black;
  z-index: 999;
  cursor: pointer;
  padding: 0.2rem 0.5rem;  /* 🔽 smaller padding */
 }


  /* (keep the rest of this block as it is) */
  
  .hero__h2 {
    font-size: 1rem; /* 🔽 reduce size on mobile */
    padding: 0.3rem 0.6rem; /* optional: smaller padding */
  }
 



  .header__nav {
    display: none;
    background-color: #ffe0b2;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .header__nav.active {
    display: flex !important;
  }

  .header__ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .header__h1 {
    padding-right: 3rem;
  }
}
