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

body {
  font-family: 'Times New Roman', Times, serif;
}

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

.hero-image{
    height: 500px;
    width: 500px;
    border-radius: 90%;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 120px;
  text-align: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: normal;
  transition: color 0.3s ease;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1rem;
}

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

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

.nav-icons a {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s ease, background-color 0.3s ease;

  /* Circle */
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f0f0f0; /* light grey background */
  text-decoration: none;
}

.nav-icons a:hover {
  background-color: #ffffff;
  color: #e3d172;
}
.nav-icons a:hover {
  color: #e3d172;
}

/* Hero Section */

.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 60px;
  background-color: #f6f6f6;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  max-width: 500px;
}

.title {
  font-size: 2.5rem;
  color: #997a19;
  font-family: 'Dancing Script', cursive;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.3s;
  text-align: center;
}


.motto, .description {
  color: #555;
  margin: 20px 0;
  opacity: 0;
  animation: fadeInLeftToRight 1.5s ease forwards;
  animation-delay: 1.6s;
  text-align: center;
}

.motto {
  color: #997a19;
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
}

.description {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    margin-top: 40px;
    line-height: 1.5;
}
.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #997a19;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  border-radius: 10px;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: #c0a74d;
}

.hero-image {
  display: flex;
  justify-content: center;
  margin-right: 80px;
  width: 600px;
  height: 800px;
  border-radius: 40px;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.3s;
}


/* Cake Details Section */
.cake-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 50px;
  padding: 60px 40px;
  background-color: #fff;
}

.cake-details > div {
  text-align: center;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* optional soft shadow */
  border: none; /* make sure there's no border */
  border-radius: 10px;
  background-color: #f9f9f9;
}

.cake-details img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  border-radius: 15px;
  margin-bottom: 20px;
  object-fit: cover;
}

.cake-details p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}

.cake-details button {
  padding: 10px 20px;
  background-color: #997a19;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cake-details button:hover {
  background-color: #c0a74d;
}

.cake-details button a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.cake-details button a:active {
  color: #fff;
}
.cake-details button a:visited,
.cake-details button a:active {
  color: #fff;
}

/* Order Form Details */

body {
  font-family: Arial, sans-serif;
  background-color: #fffaf7;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

h1 {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  color: #997a19;
  margin-bottom: 30px;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

fieldset {
  margin-top: 15px;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
}

legend {
  font-weight: bold;
  padding: 0 10px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 5px;
}

button[type="submit"] {
  margin-top: 25px;
  background-color: #997a19;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #997a19;
}

.cake-section {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  background-color: #fefcfc;
}

.cake-section h3 {
  color: #997a19;
}

.flavour-group {
  margin-top: 10px;
}

.flavour-group label {
  display: block;
  margin-top: 10px;
}

select {
  margin-top: 5px;
  padding: 10px;
  border-radius: 6px;
  width: 100%;
}


/* Flavours */

.flavours-page h1 {
  text-align: center;
  color: #997a19;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 10px;
}

.intro-text {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.flavour-card {
  background-color: #fff8e1;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

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

.flavour-card h3 {
  margin-top: 0;
  color: #997a19;
}

.flavour-card p {
  margin-bottom: 0;
  font-size: 14px;
  color: #444;
}

/* Order Confirmation */

.confirmation-page {
  text-align: center;
  padding: 40px 20px;
}

.confirmation-page h1 {
  color: #997a19;
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.confirmation-page p {
  color: #444;
  font-size: 16px;
  margin-bottom: 15px;
}

.confirmation-page a {
  color: #997a19;
  text-decoration: underline;
}

.confirmation-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.button {
  background-color: #ffffff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #997a19;
}

.button:hover {
  background-color: #997a19;
  color: #fff;
}

.button.outline {
  background-color: transparent;
  color: #997a19;
  border: 2px solid #997a19;
}

.button.outline:hover {
  background-color: #997a19;
  color: #fff;
}

/* Cake Sizes */

.cake-sizes-section {
  padding: 3rem 1rem;
  background-color: #fff8e1;
  text-align: center;
}

.cake-sizes-section h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  color: #997a19;
  margin-bottom: 2rem;
}

.cake-sizes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.cake-size-card {
  background-color: #fff;
  border: 1px solid #997a19;
  border-radius: 10px;
  padding: 1.5rem;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.cake-size-card h3 {
  color: #997a19;
  margin-bottom: 0.5rem;
}

.cake-size-card p {
  font-size: 0.95rem;
  color: #333;
}


/* Contact Page Styles */
.contact-main {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #fff8e1;
}

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

/* Contact Card Container */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 1.5px solid #997a19;
  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: auto;
  text-align: left;
}

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

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

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

.faq-question {
  width: 100%;
  background: #fff8e6;
  color: #997a19;
  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: #fff0cc;
}

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

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

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

/* Mini Confectioneries Section */

.mini-confectioneries {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Dancing Script', cursive;
  color: #997a19;
  text-align: center;
}

.mini-confectioneries h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.confectionery-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.confectionery-item {
  background: #fff8e6;
  border: 2px solid #997a19;
  border-radius: 12px;
  width: 350px;      
  padding: 1.5rem;   
  box-shadow: 3px 3px 6px rgba(153, 122, 25, 0.3);
  transition: transform 0.3s ease;
  cursor: default;
}

.confectionery-item:hover {
  transform: scale(1.05);
}

.confectionery-item img {
  width: 100%;
  height: 220px;     
  object-fit: cover; 
  border-radius: 8px;
  margin-bottom: 1rem;
}

.confectionery-item h3 {
  font-size: 1.8rem;  
  margin-bottom: 0.75rem;
}

.confectionery-item p {
  font-size: 1.1rem;  
  line-height: 1.4;
  color: #6e5c13;
}

.order-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background-color: #997a19;
  color: white;
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 2px 2px 6px rgba(153, 122, 25, 0.5);
}

.order-btn:hover {
  background-color: #b2911f;
  box-shadow: 3px 3px 8px rgba(153, 122, 25, 0.7);
}


/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.8s ease both;
}



/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeftToRight {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-text, .hero-image {
    max-width: 100%;
  }

  
}

@media (max-width: 1400px) {
  .hero-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-image {
    margin: 30px 0 0 0;
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .hero-image img {
    max-width: 90%;
    height: auto;
    border-radius: 20px;
  }

  .nav-icons {
  display: flex;
  gap: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}
}

@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;
  }
}
@media (max-width: 1120px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 600px) {
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Gallery Section */
.gallery-section {
  padding: 60px 40px;
  background-color: #fff;
  text-align: center;
}

.gallery-section h1 {
  font-size: 2.5rem;
  color: #997a19;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
}

.gallery-grid img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

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