/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background: #fff8f5;
  color: #333;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: #ffffffcc;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #4b2e83;
}
.logo span {
  color: #f05454;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}
nav ul li a:hover {
  color: #f05454;
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 5%;
    width: 200px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: #4b2e83;
  }
}

/* HERO */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 3rem 5%;
  background: linear-gradient(to right, #fff8f5, #ffe5e0);
  overflow: hidden;
  position: relative;
}
.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
  text-align: center;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #4b2e83;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #555;
}
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #4b2e83;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}
.btn:hover {
  background: #f05454;
}
/* Gradient overlay for hero image */
.hero-image img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform: translateY(0);
}
.hero-image img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.hero-image-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;  /* Add this */
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem auto; /* Center horizontally */
}

.hero-image-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;  /* Add this */
  opacity: 0;
  object-fit: cover; /* Ensure images cover the container */
  transition: opacity 1s ease-in-out;
}

.hero-image-slider .slide.active {
  opacity: 1;
}


/* HIGHLIGHTS */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 5%;
  background: #fff0f0;
}
.highlight {
  flex: 1 1 200px;
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.highlight:hover {
  transform: translateY(-10px);
}
.highlight h2 {
  color: #4b2e83;
  margin-bottom: 0.5rem;
}

/* MENU */
.menu {
  padding: 3rem 5%;
  background: #fffafc;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #4b2e83;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f05454;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ===== CATEGORY TABS ===== */
.menu-tabs {
  text-align: center;
  margin: 1.5rem 0 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-tabs .tab {
  background: #fff;
  border: 2px solid #4b2e83;
  color: #4b2e83;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.menu-tabs .tab.active,
.menu-tabs .tab:hover {
  background: #4b2e83;
  color: #fff;
  transform: scale(1.05);
}

/* ===== MENU GRID ===== */
.menu-grid {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.menu-grid.active {
  display: grid;
  opacity: 1;
}

/* ===== MENU ITEM ===== */
/* Cakes slider wrapper */
.menu-slider {
  display: flex;                       /* keep items inline */
  overflow-x: auto;                     /* enable horizontal scroll */
  scroll-behavior: smooth;              /* smooth scrolling */
  -webkit-overflow-scrolling: touch;    /* smooth scroll on iOS */
  scroll-snap-type: x mandatory;        /* snap items when scrolling */
  gap: 1rem;                            /* spacing between cards */
  padding-bottom: 1rem;
}

/* Track containing all menu-items */
.menu-track {
  display: flex;             /* horizontal layout */
  gap: 20px;                 /* space between cards */
}

/* Keep menu-item styling intact */
.menu-item {
  flex: 0 0 auto;                       /* do not shrink, auto width */
  max-width: 250px;                      /* card width */
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
    justify-content: space-between; /* ensures content is spread evenly */
  scroll-snap-align: start;
  transition: transform 0.3s;
  padding: 1rem;         /* optional smooth hover effect */
}

.menu-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-item img:hover {
  transform: scale(1.05) rotate(1deg);
}
.menu-item h4 {
  color: #4b2e83;
  margin: 0.5rem 0;
}
.menu-item p {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}
.menu-item .price {
  font-weight: bold;
  color: #f05454;
  margin-bottom: 0.5rem;
}

.menu-info {
  padding: 1rem;
  background: #fff;
}

.menu-info h3 {
  color: #4b2e83;
  margin-bottom: 0.5rem;
}

.menu-info p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: bold;
  color: #f05454;
  display: block;
  margin-bottom: 0.5rem;
}
.menu-item .order-btn {
   display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #6a49b5;      /* brand-aligned purple */
  color: #fff;
   font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(75,46,131,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item .order-btn:hover {
  background: #4b2e83;       /* darker purple on hover */
  box-shadow: 0 8px 20px rgba(75, 46, 131, 0.4);
}



/* Ripple effect already applied from JS */

/* ===== SWIPEABLE CAKE SECTION ===== */
#cakes {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
}

#cakes::-webkit-scrollbar {
  display: none;
}

#cakes .menu-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
}


/* CUSTOM ORDER FORM */
.custom-order {
  background: #fffaf7;
  text-align: center;
  padding: 60px 20px;
}

.order-options p {
  margin: 8px 0;
  color: #444;
  font-size: 1.05rem;
}

.order-buttons {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.order-buttons .btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

.call-btn {
  background-color: #007bff;
  color: white;
}

.call-btn:hover {
  background-color: #005fcc;
}


/* TESTIMONIALS */
.testimonials {
  padding: 3rem 5%;
  background: #fff0f0;
}
.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 1rem 0;
}
.testimonial-card {
  min-width: 250px;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.testimonial-card h4 {
  margin-top: 1rem;
  color: #4b2e83;
}

/* ABOUT US */
.about-section {
  background: linear-gradient(180deg, #fff7f9 0%, #fff 100%);
  padding: 4rem 7%;
  text-align: center;
  border-top: 2px solid #f3d0d0;
  border-bottom: 2px solid #f3d0d0;
}

.about-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: #4b2e83;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e87c70;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.about-section p {
  font-family: "Poppins", sans-serif;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  text-align: center;
  background: #ffffffcc;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.about-section strong,
.about-section .brand {
  color: #d94d64;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-section {
    padding: 3rem 8%;
  }

  .about-section h2 {
    font-size: 1.9rem;
  }

  .about-section p {
    font-size: 1rem;
    line-height: 1.7;
    padding: 1.2rem 1rem;
  }
}


/* CONTACT */
.contact {
  padding: 3rem 5%;
  text-align: center;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #333;
}

.contact-info a {
  color: #4b2e83;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #f05454;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
  color: #f05454; /* Instagram pinkish */
  transition: opacity 0.3s ease;
}

.insta-link i {
  font-size: 1.2rem;
}

.insta-link:hover {
  opacity: 0.8;
}



/* Location button */
.location-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: #4b2e83;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.location-btn:hover {
  background: #f05454;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  padding: 2rem 5%;
  text-align: center;
  background: #4b2e83;
  color: #fff;
  font-size: 0.95rem;
}

footer a {
  color: #ffd1dc; /* subtle highlight for link */
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

.footer-divider {
  margin: 0 0.5rem;
  color: #ffb6c1; /* soft pink divider */
}



/* RESPONSIVE */
@media(max-width: 768px){
  .hero {
    flex-direction: column-reverse;
  }
  nav ul {
    display: none;
  }
  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }
}
/* Button ripple effect */
.btn.ripple {
  position: relative;
  overflow: hidden;
}
.btn.ripple:after {
  content: "";
  position: absolute;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.4);
  display: block;
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
  animation: ripple 0.6s linear;
}
.btn.ripple:active:after {
  transform: scale(4);
  opacity: 0;
  transition: 0.6s;
}
@keyframes ripple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

/* Testimonial swipe */
.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.testimonial-card {
  scroll-snap-align: center;
  min-width: 300px;
  margin-right: 1rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
.confetti {
  position: fixed;
  width: 10px; height: 10px;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.8;
  border-radius: 50%;
  animation-name: fall;
  animation-timing-function: linear;
}
@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(100vh) rotate(360deg); }
}
