/* General Styles */
* {
  font-weight: inherit;
}


body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  padding-top: 90px; /* Adjust this padding to account for the fixed nav bar */
  height: 100vh;
  box-sizing: border-box;
}


/* Hero Section */
.hero {
  background-image: url('images/hero-image.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;  /* Ensure it's above other elements */
  background-repeat: no-repeat; /* Prevents image from repeating */
  background-attachment: fixed; /* Keeps the image fixed while scrolling */
  height: 70vh;
}

/* Ensure text inside hero is readable */
.hero h1, .hero p {
  color: white;
  font-size: 2.2rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  font-family: 'Playfair Display', serif;
}

/* Mobile Fix: Ensure hero is fully visible */
@media screen and (max-width: 768px) {
  .hero {
    background-size: auto 120%;
    background-attachment: scroll;
    height: 75vh;
    min-height: 75vh;
    background-position: center;
  }
}
/* Mobile Fix on iphone safari: Ensure hero is fully visible */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-size: auto 120%;
    background-attachment: scroll;
    height: 75vh;
    min-height: 75vh;
  }
}


#warning-message {
  color: red;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border: 1px solid red;
  background-color: #ffe6e6;
  border-radius: 5px;
  margin-bottom: 20px; /* Add space below */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Dark overlay */
  z-index: -1;  /* Place the overlay behind the content */
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
}


.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b8860b;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #8b6508;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  z-index: 999;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}



header {
  max-width: 100%;
  overflow: hidden;
}
nav {
  max-width: 100%;
}




nav ul li a:hover {
  color: #b8860b;
}

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

.logo {
  width: 120px;
  height: auto;
}

/* Contact Section Layout */
.contact-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background-color: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Contact Form Column */
.contact-form-column {
  flex: 1 1 48%;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.form-group textarea {
  resize: vertical;
}

.btn {
  padding: 12px 20px;
  background-color: #b8860b;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background-color: #8b6508;
}

/* Contact Info Column */
.contact-info-column {
  flex: 1 1 48%;
}

.contact-info-column h3 {
  font-size: 1.5rem;
  color: #333;
}

.contact-info-column p {
  font-size: 1.1rem;
  margin: 5px 0;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 15px;
  }
  
  .contact-form-column,
  .contact-info-column {
    flex: 1 1 100%;
  }
  
  .contact-section {
    padding: 40px 10px;
  }
}

/* Product Grid Styling */
.product-grid {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.product-grid h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

/* Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Modern Product Card */
.product-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  transition: transform 0.2s ease-in-out;
}

.product-card:hover {
  transform: scale(1.03);
}

/* Product Image */
.product-image {
  width: 100%;
  border-radius: 10px;
}

/* Text Styling */
.product-info h1 {
  font-size: 24px;
  margin: 15px 0;
  color: #333;
}

.product-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.product-price {
  font-size: 20px;
  color: #d35400;
  font-weight: bold;
}

/* Add to Cart Button */
.add-to-cart {
  background-color: #ff914d;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-to-cart:hover {
  background-color: #e86c1a;
}

/* Responsive Product Grid */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

/* Image Grid Layout */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  gap: 15px;
  padding: 20px;
  margin-top: 20px; /* To provide space below the hero section */
}

.grid-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

/* Default state for all images */
.grid-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hover Effect: Make hovered image bigger */
.grid-item:hover img {
  transform: scale(1.1); /* Enlarges hovered image */
  z-index: 2;
}

/* When hovering over an image, make others slightly transparent */
.image-grid:hover .grid-item img {
  opacity: 0.5; /* Makes all images slightly opaque */
}

/* Keep hovered image fully visible */
.grid-item:hover img {
  opacity: 1 !important;
}

/* Caption Styling */
.caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  text-align: center;
  width: 80%;
}

/* Show the caption when hovering over the image */
.grid-item:hover .caption {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
  }
}


/* Checkout Page */
.checkout-wrapper {
  display: flex;
  margin-top: 80px; /* Same as padding-top in body */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.checkout-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cart-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 500px;
  padding: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: left;
}

.cart-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  margin-right: 10px;
}

.cart-item .item-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.cart-item .item-info div {
  display: flex;
  flex-direction: column;
}

.cart-item input {
  text-align: center;
  width: 50px;
  margin-left: 10px;
}

button {
  padding: 12px 20px;
  background-color: #b8860b;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
}

button:hover {
  background-color: #8b6508;
}

/* Style for Pickup Day Form */
#pickup-form {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  margin: 20px auto;
}
#pickup-form label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

#pickup-day {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  appearance: none;
  cursor: pointer;
}

#pickup-day:focus {
  border-color: #b8860b;
  outline: none;
}

#email-container {
  max-width: 100%; /* Ensure it doesn't overflow */
  width: 90%; /* Keep it slightly smaller than full width */
  margin: 0 auto; /* Center it */
  box-sizing: border-box; /* Ensure padding doesn't increase width */
  overflow: hidden; /* Prevent content from causing extra width */
  background: #f9f9f9;
  padding: 20px;
  padding-top: 20px;
  margin-top: 80px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
}


.email-container label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

/* About Us Section */
.about-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: #444;
  text-align: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.about-text {
  flex: 1;
}





.about-image {
  flex: 1;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Two-Column Layout for Social Media */
.social-media-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  gap: 40px;
  padding: 0 20px;
}

.social-column {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .social-media-layout {
    flex-direction: column;
    text-align: center;
  }
}

/* Checkout Info: Email & Pickup Selection */
.checkout-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: column;
  align-items: stretch;
  max-width: 600px;
  margin: 20px auto;
  padding-top: 120px;
  margin-top:80px;
  gap:10px;
  margin-bottom: 20px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.email-container, .pickup-container {
  flex: 1;
  margin: 0 10px;
}

.email-container label,
.pickup-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.email-container input,
.pickup-container select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
}

@media (max-width: 768px) {
  .checkout-info {
    flex-direction: column;
    align-items: stretch;
    margin-top: 100px;
  }

  .email-container, .pickup-container {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2000;
}

.toast.visible {
  opacity: 1;
}

.discount-notification {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  margin-bottom: 15px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Venmo Button */
#venmo-button {
  background-color: #3D95CE; /* Venmo blue */
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  width: 100%;
  max-width: 250px;
  margin: 10px auto;
}

#venmo-button:hover {
  background-color: #2C7BBF; /* Slightly darker blue */
}

.venmo-logo {
  width: 24px;
  height: auto;
  margin-right: 8px;
}

/* Stripe Button */
#stripe-button {
  background-color: #635BFF; /* Stripe purple */
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  width: 100%;
  max-width: 250px;
  margin: 10px auto;
}

#stripe-button:hover {
  background-color: #5047E5; /* Slightly darker purple */
}

.stripe-logo {
  width: 24px;
  height: auto;
  margin-right: 8px;
}

/* Seasonal Specials */
.seasonal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.seasonal h3 {
  color: #d9534f;
  font-size: 1.5em;
}

/* Easter Theme */
#mardigras-specials {
  background-color: #fbe6f3;
  padding: 20px;
  border-radius: 10px;
}

/* St. Patrick’s Theme */
/* St. Patrick's Specials */
#stpatricks-specials {
  background: linear-gradient(90deg, #008f39, #004d1a);
  color: #19170f;  /* Gold text */
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

#stpatricks-specials h3 {
  color: #090909;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Easter Specials */
#mardigras-specials {
  background: linear-gradient(90deg, #6a0dad, #ffcc00, #32cd32);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

#mardigras-specials h3 {
  color: #ae78d1;  /* Gold text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


.hidden {
  display: none;
}

/* Specials Banner - Shorter & More Stylish */
/*DEFAULT BANNER:background: linear-gradient(90deg, #ff9800, #ff5722); */
#specials-banner {
  display: block;
  background: linear-gradient(90deg, #d7a7e0, #b21a98);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;  /* Reduced padding */
  padding-top: 20px;  /* Reduced padding */
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

#specials-banner:hover {
  transform: scale(1.02);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}


.seasonal .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

/* Ensure Seasonal Specials follow the same grid layout */
#seasonal-specials .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 20px;
  justify-content: center;
}

/* Ensure each seasonal product card is structured properly */
.seasonal .product-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  text-align: center;
  width: 100%;  /* Ensure uniform width */
  max-width: 400px; /* Ensure it doesn't stretch too much */
}

.seasonal .product-card:hover {
  transform: scale(1.05);
}

/* Ensure seasonal specials are aligned properly */
.seasonal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

/* Fix grid issue for St. Patrick’s and Mardi Gras */
#mardigras-specials .grid-container,
#stpatricks-specials .grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Fix product card width within seasonal specials */
#mardigras-specials .product-card,
#stpatricks-specials .product-card {
  flex: 1 1 280px; /* Flexible width but maintains grid */
  max-width: 300px;
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

#specials-banner {
  margin-top: 80px; /* Adjust this based on your navbar height */
}

#specials-banner {
  position: relative;
  top: 0;
  z-index: 800;
}

/*only for phones*/





nav ul li a {
  font-size: 18px;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;  /* Ensure same weight everywhere */
  text-transform: uppercase;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {  
  nav ul li a {
    font-size: 14px; /* Adjust size */
    font-weight: 600; /* Keep consistent with desktop */
  }
}

/* ✅ Add spacing below navbar */
.admin-orders-container {
  margin-top: 25px;
  padding: 25px;
}

.reviews-footer {
  background-color: #FFF7C2; /* Soft pastel yellow for Easter vibe */
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #f4e1b0;
  font-family: 'Open Sans', sans-serif;
}

.reviews-container h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #5C4A1F;
}

.review-card {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.07);
}

.review-text {
  font-style: italic;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.review-author {
  font-weight: bold;
  color: #444;
  font-size: 0.95rem;
}

#specials.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

html {
  scroll-behavior: smooth;
}

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

.recipe-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s;
}

.recipe-card:hover {
  transform: scale(1.02);
}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.recipe-text {
  padding: 1rem;
}

.recipe-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #6a8667;
  font-weight: bold;
  text-decoration: none;
}

/* === Admin Page Container Styles === */
.admin-orders-container,
.admin-recipes-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fffdf8;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-family: 'Open Sans', sans-serif;
}

/* === Section Titles === */
.admin-orders-container h2,
.admin-recipes-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #333;
}

/* === Buttons === */
.admin-orders-container button,
.admin-recipes-container button {
  background-color: #b8860b;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  margin: 0.5rem 0.5rem 1rem 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.admin-orders-container button:hover,
.admin-recipes-container button:hover {
  background-color: #d89f00;
}

/* === Order Cards === */
.order-card {
  border: 1px solid #eee;
  background-color: #fff;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.order-card p {
  margin: 0.25rem 0;
}

/* === Recipe Form Layout === */
#recipe-form label {
  font-weight: 600;
  display: block;
  margin-top: 1rem;
}

#recipe-form input[type="text"],
#recipe-form textarea,
#recipe-form input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
