/* ------------------ GENERAL LAYOUT ------------------ */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

main {
  flex: 1; /* pushes footer down */
  display: flex;
  flex-direction: column;
}

/* ------------------ NAVBAR ------------------ */
.navbar {
  display: flex;
  justify-content: center;  /* center navbar content */
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  gap: 40px;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: normal;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-links li a:hover {
  color: #b14cb0;
}

.nav-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.nav-icons a {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s ease, background-color 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f0f0f0;
  text-decoration: none;
}

.nav-icons a:hover {
  background-color: #fff;
  color: #b14cb0;
}

/* ------------------ HOME ------------------ */

/* General */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: #333;
  font-weight: 500;
}

.nav-icons {
  display: flex;
  gap: 15px;
}

.nav-icons a {
  color: #333;
}

/* Hero Section */
.hero-section {
  min-height: 100vh; /* full viewport height */
  background: url('images/image2.avif') no-repeat center center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay */
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s forwards 0.5s;
}

.hero-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: fadeInUp 1.5s forwards 0.2s;
}

.hero-greeting {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 1.5s forwards 0.7s;
}

.btn-hero {
  background-color: #de8adc;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: 0.3s;
  display: inline-block;
  animation: fadeInUp 1.5s forwards 0.9s;
}

.btn-hero:hover {
  background-color: #643e64;
}

/* Fade in animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-section {
  padding: 4rem 2rem;
  text-align: center;
}

.about-section h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  color: #de8adc;
  margin-bottom: 1rem;
}

.about-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
}

/* Services Section */
.services-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  gap: 2rem;
}

.service-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.service-container h3 {
  margin: 1rem 0 0.5rem 0;
  color: #de8adc;
}

.service-container p {
  padding: 0 1rem 1rem 1rem;
}

.btn-service {
  display: inline-block;
  margin-bottom: 1rem;
  background-color: #de8adc;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-service:hover {
  background-color: #643e64;
}

.service-container:hover {
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* ------------------ CONTACT PAGE ------------------ */

/* Full-page background for contact page */
.contact-body, .faq-body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
  display: flex;
  flex-direction: column;
  background: url('images/image2.avif') no-repeat center center;
  background-size: cover;
}

/* Make main grow to push footer to bottom */
main.contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background-color: rgba(255, 255, 255, 0.85); /* semi-transparent overlay for readability */
}

/* Circle logo */
.circle-logo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  margin-bottom: 2.5rem;
  animation: fadeIn 1s ease-out;
}

/* Contact cards */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: rgba(255,255,255,0.95);
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  width: 100%;
  transition: transform 0.3s ease;
}

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

.contact-card i {
  color: #000000;
  font-size: 1.4rem;
}

.contact-card a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: #de8adc;
}

/* Footer */
.footer {
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Ensure footer sticks to bottom if content is short */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main.contact-main {
  flex: 1;
}


.contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background-color: #fff;
}

.circle-logo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 2.5rem;
  animation: fadeIn 1s ease-out;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 1.5px solid #fffefe;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease;
}

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

.contact-card i {
  color: #997a19;
  font-size: 1.4rem;
}

.contact-card a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: #997a19;
}

/* ------------------ FAQ SECTION ------------------ */
.faq-section {
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-title {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #de8adc;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-question {
  width: 100%;
  background: #de8adc;
  color: #fff;
  font-weight: bold;
  padding: 1rem;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #643e64;
}

.faq-question.active i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 1rem;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
  padding: 1rem;
  max-height: 500px; 
}

/* ------------------ RESERVATION FORM FULL PAGE ------------------ */
.reservation-section {
  flex: 1; /* full page between navbar & footer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: url('images/image1.webp') no-repeat center center/cover;
  box-sizing: border-box;
}

.reservation-section h1 {
  font-family: 'Dancing Script', cursive;
  color: #fff;
  font-size: 3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  text-align: center;
}

/* Form styling */
.reservation-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.reservation-section label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.reservation-section input,
.reservation-section textarea,
.reservation-section select {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.reservation-section input:focus,
.reservation-section textarea:focus,
.reservation-section select:focus {
  outline: none;
  border-color: #de8adc;
}

.reservation-section textarea {
  resize: vertical;
}

.reservation-section button {
  padding: 1rem 0;
  border: none;
  border-radius: 8px;
  background-color: #de8adc;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.reservation-section button:hover {
  background-color: #643e64;
  transform: scale(1.02);
}

.reservation-section p {
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
  color: #333;
}

/* ------------------ FOOTER ------------------ */
.footer {
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Make body take full height and use flex column */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Make main content area grow to fill space */
.faq-section {
  flex: 1; /* takes remaining space between navbar and footer */
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Footer stays at the bottom */
.footer {
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .reservation-section {
    padding: 1.5rem;
  }

  .reservation-section h1 {
    font-size: 2.2rem;
  }

  .reservation-section form {
    padding: 1.5rem;
    gap: 0.8rem;
  }
}

@media (max-width: 600px) {
  .cake-details {
    grid-template-columns: 1fr; 
    padding: 20px;
  }

  .cake-details img {
    max-width: 100%;
    height: auto;
  }

  .cake-details > div {
    padding: 15px;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .services-section {
    flex-direction: column;
    align-items: center;
  }

  .hero-greeting {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .hero-greeting {
    font-size: 1.8rem;
  }

  .btn-hero {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}