/* CSS Variables for Easy Theming */
:root {
  --primary-green: #2d5016;
  --accent-orange: #ff6b35;
  --gold: #ffd700;
  --cream: #fef7e8;
  --dark-brown: #3e2723;
  --light-brown: #8d6e63;
  --sage-green: #87a96b;
  --deep-red: #c62828;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-medium: #9e9e9e;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #2d5016 0%, #87a96b 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(45, 80, 22, 0.9) 0%, rgba(135, 169, 107, 0.9) 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #222; /* Darker text for better contrast */
    background-color: #f4f4f4;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Dancing Script', cursive;
  color: var(--white);
  text-shadow: 3px 3px 6px var(--shadow-dark);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  color: var(--dark-brown); /* Changed from --light-brown for better contrast */
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--gradient-secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
  filter: brightness(1.1);
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Dancing Script', cursive;
  color: var(--primary-green);
  text-shadow: 2px 2px 4px var(--shadow);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-brown);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--primary-green);
  background: rgba(135, 169, 107, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: var(--gradient-overlay), url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  position: relative;
  animation: slideInLeft 1s ease-out;
  text-align: center;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
  animation: slideInRight 1s ease-out;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

/* About Section */
.about-section {
  padding: 100px 5% 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-section h2 {
  grid-column: 1 / -1;
  text-align: center;
}

.about-section p {
  font-size: 1.2rem;
  text-align: justify;
}

.about-section img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow);
  transition: transform 0.3s ease;
}

.about-section img:hover {
  transform: translateY(-10px);
}

.about-section .about-button-container {
    grid-column: 1 / -1; /* Make it span all columns */
    margin-top: 20px; /* Add some space above the button */
}

/* Dishes Section */
.dishes-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.dishes-section h2 {
  margin-bottom: 4rem;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.dish-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  transform: translateY(0);
}

.dish-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dish-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dish-item:hover img {
  transform: scale(1.1);
}

.dish-item h3,
.dish-item p {
  padding: 0 1.5rem;
}

.dish-item h3 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
}

.dish-item p {
  padding-bottom: 2rem;
  color: var(--dark-brown); /* Changed from --gray-medium for better contrast */
}

.dish-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dish-item:hover::before {
  transform: scaleX(1);
}

/* Why Choose Us Section */
.why-choose-us-section {
  padding: 100px 5%;
  background: var(--gradient-primary);
  color: var(--white);
}

.why-choose-us-section h2 {
  color: var(--white);
  margin-bottom: 4rem;
}

.why-choose-us-section ul {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  list-style: none;
}

.why-choose-us-section li {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-choose-us-section li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.why-choose-us-section li:hover::before {
  left: 100%;
}

.why-choose-us-section li:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.why-choose-us-section strong {
  color: var(--gold);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 5%;
  background: var(--white);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.image-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.4s ease;
  cursor: pointer;
  filter: brightness(0.9) contrast(1.1);
}

.image-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.image-grid .text-center {
    grid-column: 1 / -1; /* Make it span all columns */
    justify-self: center; /* Center the item horizontally within its grid area */
    margin-top: 20px; /* Add some space above the button */
}

/* Map Section */
.map-section {
  padding: 100px 5%;
  background: var(--gray-light);
  text-align: center;
}

.google-map-container {
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px var(--shadow);
}

.google-map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
  transition: filter 0.3s ease;
}

.google-map-container:hover iframe {
  filter: grayscale(0) contrast(1.2);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 5%;
  background: var(--cream);
}

.testimonial-item {
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--accent-orange);
  font-family: 'Dancing Script', cursive;
  line-height: 1;
}

.testimonial-item p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--light-brown);
  margin-bottom: 1.5rem;
}

.testimonial-item span {
  font-weight: 600;
  color: var(--primary-green);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 5%;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.contact-section h2 {
  color: var(--white);
}

.contact-details {
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details p {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.contact-details strong {
  color: var(--gold);
}

/* Footer */
footer {
  background: var(--dark-brown);
  color: var(--white);
  text-align: center;
  padding: 2rem 5%;
}

footer p {
  color: var(--white);
  margin-bottom: 0;
}

footer a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-orange);
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Intersection Observer Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 3%;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 2rem 3%;
    gap: 2rem;
  }
  
  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 80px 3%;
  }
  
  .dish-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .why-choose-us-section ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding-top: 150px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .dish-grid {
    grid-template-columns: 1fr;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .testimonial-item {
    padding: 2rem 1.5rem;
  }
  
  .contact-details {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .dish-item {
    margin: 0 1rem;
  }
  
  .why-choose-us-section li {
    padding: 1.5rem;
  }
  
  .testimonial-item {
    margin: 2rem 1rem;
  }
  
  .google-map-container iframe {
    height: 300px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section {
    background-attachment: scroll;
  }
}

/* Print Styles */
@media print {
  header {
    position: static;
  }
  
  .hero-section {
    background: var(--primary-green);
    color: var(--white);
    min-height: auto;
    padding: 2rem;
  }
  
  .btn {
    display: none;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--accent-orange);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
}

.wht{
    color: white;
}

/* Primary button style */
.btn-primary {
    background-color: #ff6b6b; /* A shade of red, matching potential branding */
    color: #fff;
    border: 2px solid #ff6b6b;
}

.btn-primary:hover {
    background-color: #e65c5c;
    border-color: #e65c5c;
}

/* Secondary button style (optional, for different actions) */
.btn-secondary {
    background-color: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background-color: #ff6b6b;
    color: #fff;
}

.text-center {
    text-align: center;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
    margin-top: 20px; /* Space above the button group */
}
