:root {
  --primary: #78341c;
  --secondary: #d4a574;
  --light: #f8f3eb;
  --dark: #362517;
  --accent: #e6b17e;
  --text: #433422;
  --background: #fff9f2;
  --shadow: rgba(120, 52, 28, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--secondary);
  bottom: -10px;
  left: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 249, 242, 0.95);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 249, 242, 0.98);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  font-size: 1.1rem;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

.home {
  height: 100vh;
  background: linear-gradient(rgba(54, 37, 23, 0.7), rgba(54, 37, 23, 0.7)), 
              url('https://images.unsplash.com/photo-1482350325005-eda5e677279b?ixid=M3w3MjUzNDh8MHwxfHNlYXJjaHwyfHxhZXN0aGV0aWMlMjBjb2ZmZWUlMjBzaG9wJTIwaW50ZXJpb3J8ZW58MHx8fHwxNzQ3OTI1NzkyfDA&ixlib=rb-4.1.0') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.home-content {
  max-width: 800px;
  color: white;
  padding-top: 80px;
}

.home h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.home h2::after {
  display: none;
}

.home p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Menu Section */
.menu {
  padding: 100px 0;
  background-color: var(--background);
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.menu-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s;
}

.menu-item:hover {
  transform: translateY(-10px);
}

.menu-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.menu-item:hover .menu-image img {
  transform: scale(1.1);
}

.menu-item h3 {
  margin: 20px 0 10px;
  font-size: 1.5rem;
}

.menu-item p {
  padding: 0 20px 20px;
  color: #666;
  font-size: 0.9rem;
}

/* Order Section */
.order {
  padding: 100px 0;
  background-color: white;
  text-align: center;
}

.order-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  justify-content: center;
}

#order-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

select, input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background-color: var(--light);
  transition: border-color 0.3s, box-shadow 0.3s;
}

select:focus, input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox label {
  margin: 0;
  font-weight: normal;
}

.order-summary {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  text-align: left;
}

.order-summary h3 {
  margin-bottom: 20px;
  text-align: center;
}

#order-details {
  margin-bottom: 20px;
  min-height: 100px;
}

.total {
  border-top: 2px dashed var(--secondary);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total h4 {
  font-size: 1.2rem;
}

#total-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 40px 0;
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-container {
  height: 60px;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

footer h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
}

footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }
  
  .home h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 15px 0;
  }
  
  .logo-container {
    margin-bottom: 15px;
  }
  
  .nav-logo {
    height: 40px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0 15px;
  }
  
  .home {
    padding-top: 120px;
  }
  
  .home h2 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  nav li {
    margin: 5px 10px;
  }
  
  .home h2 {
    font-size: 2rem;
  }
  
  .home p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 25px;
  }
  
  .order-container {
    flex-direction: column;
    align-items: center;
  }
  
  #order-form, .order-summary {
    width: 100%;
  }
}