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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #fafafa;
  color: #333;
  overflow-x: hidden;
}

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

img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Header */
.header {
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem 3rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e63946;
}

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

nav ul li a {
  font-weight: 600;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  border-bottom: 2px solid #e63946;
  color: #e63946;
}

.phone-btn {
  background: #e63946;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  font-weight: bold;
}

/* Hero */
.hero {
  height: 100vh;
  background: url("https://images.getbento.com/accounts/1881f2ca3c37629dfa1f6d350794f25d/media/images/869102Q0A4644_4.jpg?w=1200&fit=crop&auto=compress,format&cs=origin&crop=focalpoint&fp-x=0.5&fp-y=0.5%27")
    center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  color: white;
  z-index: 10;
  max-width: 700px;
  text-align: center;
  animation: fadeUp 2s ease;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content p {
  margin: 1rem 0;
  font-size: 1.2rem;
}

.btn {
  background: #e63946;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #c72332;
}

.center {
  display: block;
  text-align: center;
  margin: 2rem auto 0;
}

/* Sections */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Taste Cards */
.taste-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
}

.card.active {
  border: 2px solid #e63946;
}

.card img {
  max-height: 120px;
}

.card h3 {
  margin: 0.5rem 0;
  color: #e63946;
}

.card p {
  font-size: 0.9rem;
}

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

.gallery-grid img {
  height: 180px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

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

/* Blog */
.blog-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  text-align: left;
  margin-top: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: scale(1.01);
}

.blog-card img {
  max-width: 180px;
  border-radius: 12px;
}

.blog-card h3 {
  color: #e63946;
}

/* Enhanced Footer */
.footer-enhanced {
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: white;
  padding: 3rem 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: #fff;
  font-weight: 600;
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-socials a {
  font-size: 1.5rem;
  margin-right: 1rem;
  display: inline-block;
  transition: transform 0.3s;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: white;
  transition: opacity 0.3s;
}

.footer-links ul li a:hover {
  opacity: 0.8;
}

.footer-newsletter p {
  margin-bottom: 0.8rem;
}

.footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-newsletter input {
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  flex: 1;
  min-width: 180px;
}

.footer-newsletter button {
  background: #fff;
  color: #dd2476;
  font-weight: bold;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: #f2f2f2;
}

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

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-newsletter form {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-newsletter button {
    width: 100%;
  }
}

/* recipes section */
.gallery-grid-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.recipe-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  transition: transform 0.3s ease;
  text-align: left;
}

.recipe-card:hover {
  transform: translateY(-5px);
}

.recipe-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.recipe-card h3 {
  font-size: 1.1rem;
  color: #e63946;
  margin-bottom: 0.4rem;
}

.recipe-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

/* privacy and terms condition */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
  color: white;
}

.legal-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.legal-links li a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.3s;
}

.legal-links li a:hover {
  opacity: 0.8;
}

.legal-section {
  background: #f9f9f9;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.legal-section h2 {
  margin-bottom: 1rem;
  color: #e63946;
  font-size: 1.4rem;
}

.legal-section p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: #e63946;
}

.modal-content p {
  color: #333;
  line-height: 1.6;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
