body {
  margin: 0;
  padding:0;
  background-color: #ffffff;
}
* {
  font-family: 'my font', sans-serif;
}

@font-face {
  font-family: 'my font';
  src: url(fonts/Quicksand-Regular.ttf);
}
html,body{
overflow-x: hidden;
}
/* === NAVIGATION BAR === */
.sticky-nav {
background-color: #f7f2b7;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: flex-start; /* Align items to the left */
position: sticky;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 1000;
border-bottom: 2px solid #ccc;
box-sizing: border-box;
}

.nav-logo {
width: 100px;
border-radius: 50%;
margin-right: 20px; /* Space between logo and navbar */
}

.navbar {
list-style: none;
justify-content: space-between;
display: flex;
gap: 20px;
padding-right: 20px ;
margin: 0;
font-size: 20px;
}

.navbar .dropdown {
margin-right: -10px;
}

.navbar li {
display: flex;

}

.navbar li a {
text-decoration: none;
color: #231955;
font-weight: bold;
text-transform: uppercase;
padding: 8px 16px;
transition: 0.3s;
}

.navbar li a:hover {
color: #ff6b6b;
border-bottom: 2px solid #ff6b6b;
}

/* Add padding to body*/
body {
  margin: 0;
  padding-top: 0;
  background-color: #ffffff;
}

/* === DROPDOWN MENU === */
.dropbtn {
border: none;
background-color: #f7f2b7;
text-transform: uppercase;
font-weight: bold;
transition: 0.3s;
font-size: 20px;
color: #231955;
padding: 8px 16px;
cursor: pointer;
}

.dropdown {
position: relative;
display: inline-block;
text-decoration: none;
color: #231955;
}

.dropdownContent {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdownContent a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdownContent a:hover {
background-color: #ddd;
}

.dropdown:hover .dropdownContent {
display: block;
}

.dropdown:hover .dropbtn {
color: #ff6b6b;
border-bottom: 2px solid #ff6b6b;
}

/* === SOCIAL ICONS === */
/* Navigation Styles */
nav {
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px 0;
}

.social-icons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 40px;
}

/* Icon styling */
.social-icons i,
.user-icons i {
    font-size: 28px;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.social-icons a,
.user-icons a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

/* Phone container styling */
.phone-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.phone-number {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

/* Hover effects */
.social-icons i:hover,
.user-icons i:hover {
    transform: scale(1.1);
    color: #007bff;
}



.fa-facebook:hover {
    color: #1877f2;
}

.fa-square-instagram:hover {
    color: #e4405f;
}

.fa-phone:hover {
    color: #28a745;
}

.fa-cart-shopping:hover {
    color: #ffc107;
}

.fa-circle-user:hover {
    color: #6f42c1;
}

/* Responsive design */
@media (max-width: 768px) {
    .social-icons-container {
        flex-direction: row;
        gap: 15px;
        padding: 0 3%;
    }

    .social-icons,
    .user-icons {
        gap: 20px;
    }

    .user-icons {
        margin-left: auto;
        margin-right: 20px;
    }

    .phone-number {
        font-size: 14px;
    }

    .social-icons i,
    .user-icons i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .phone-number {
        display: none;
    }
    
    .social-icons,
    .user-icons {
        gap: 15px;
    }
}

.account-dropdown {
    position: center;
    display: inline-block;
    cursor: pointer;
}

.account-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.account-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.account-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.account-dropdown:hover .account-dropdown-content {
    display: block;
}

.account-dropdown .fa-circle-user {
    font-size: 20px;
    color: #292727;
    transition: color 0.3s ease;
    margin-top: 4px;
    vertical-align: middle;
}

.account-dropdown:hover .fa-circle-user {
    color: #007bff; 
}

/* Hover effect */
.social-icons i:hover,
.fa-circle-user:hover,
.fa-cart-shopping:hover{
transform: scale(1.2);
color: #ff6b6b;
}

/* Responsive: scale down icon size on smaller screens */
@media (max-width: 600px) {
.social-icons i,
.fa-circle-user {
  width: 28px;
  height: 28px;
  font-size: 20px;
}
}

.menu-toggle {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

  .burger span {
    background: #231955;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    border-radius: 5px;
    transition: 0.3s;
  }

  #menu-toggle:checked ~ .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

.home {
  max-width: 1200px;
  margin-left: 250px;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 100px;
  padding: 20px 0;
  margin-top: -20px;
}
.home-img {
  width: 40%;
  max-width: 400px;
  border-radius: 10px;
  height: auto;
}

.text-box {
  max-width: 500px;
  color: black;
  font-size: large;
  text-align: start;
}

.text-box h1 {
  font-size: 5rem;
  margin-bottom: 20px;
}

.text-box p {
  font-size: 2.5rem;
  line-height: 1.6;
  margin: 0;
}

.order-now {
  background-color: #ff6b6b;
  color: #ffffff;
  border-radius: 25px;
  font-size: 1.2rem;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  opacity: 0.85;
}

.order-now:hover {
  background-color: #ff4a4a; 
  transform: scale(1.05); 
}
.offer-section {
  background-color: #fce4ec;
  text-align: center;
  padding: 5px 20px;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 0px;
}

.offer-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #3e2723;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.icon {
  width: 32px;
  height: 32px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Mobile responsiveness: 3x3 grid */
@media (max-width: 600px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.offer-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.offer-card:hover img {
  transform: scale(1.05);
}

.offer-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px #000;
}
.popular-section {
  background-color: #fce4ec;
  text-align: center;
  padding: 10px 40px;
  margin: 2% 3% 2% 3%;
}


.popular-title {
  font-size: 2rem;
  color: #212121;
  margin-bottom: 30px;
  text-align: center;
  padding: 2% 0% 2% 0%;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
  align-content: center;
}
.cake-card:hover img {
  transform: scale(1.05);
}


.cake-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 75%;
  margin: auto;
}

.cake-card img {
  width: 100%;
  height: auto;
  display: block;
}

.cake-info {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  padding: 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.cake-info span {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1px -3px;
  border-radius: 8px;
}

.cake-info button {
  background-color: #8d4c56;
  color: white;
  border: none;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}
  /*about us section in homepage*/
  .about-us-section-title{
      font-size: 2em;
      margin-bottom: 10px;
      margin-top: 125px;
      text-align: center;
    }
        


  .about-us-container {
      display: flex;
      align-items: stretch;
      justify-content: center;
      max-width: 1000px;
      margin: 0 auto;
      padding: 40px;
    }

    .about-img {
      width: 50%;
      max-width: 500px;
      object-fit: cover;
    }

    .about-text {
      background-color: #ffe6e6;
      padding: 40px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      max-width: 500px;
    }

    .about-text p {
      line-height: 1.6;
      font-size: 1rem;
    }
    .about-us-container h2{
      font-size: 2em;
      margin-bottom: 30px;
    }
    .explore-btn {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 20px;
      background-color: #ff4d4d;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      text-align: center;
    }
        .explore-btn:hover {
  background-color: #ff4a4a; 
  transform: scale(1.05); 
}
    
    .custom-orders {
      text-align: center;
      padding: 40px 20px;
    }
    
    .custom-orders h2 {
      font-size: 2em;
      margin-bottom: 30px;
    }
    
    .cake-gallery {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }
    
    .cake-gallery img {
      width: 180px;
      height: auto;
      border-radius: 8px;
    }

/* Mobile view: 2x2 grid for customized orders */
@media (max-width: 600px) {
  .cake-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
  }

  .cake-gallery img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
  }
}
    
    .customize-btn {
      display: inline-block;
      background-color:#d4757a;
      color: white;
      padding: 12px 25px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
    }
    .customize-btn:hover {
  background-color: #ff4a4a; 
  transform: scale(1.05); 
}
    
    
/* Footer Styles */
.footer {
  background-color: #f7f2b7;
  padding: 40px 20px 10px;
  margin-top: auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.footer-logo h3 {
  color: #e88e8e;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.footer-logo p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  flex: 2;
  justify-content: space-around;
}

.footer-column {
  flex: 1;
  min-width: 180px;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-column a {
  color: #555;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 5px;
}

.footer-column a:hover {
  color: #e88e8e;
}

.footer-column .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-column .social-icons a {
  margin-bottom: 0;
}

.footer-column .social-icons i {
  font-size: 20px;
  color: #333;
  transition: color 0.3s ease;
}

.footer-column .social-icons i:hover {
  color: #e88e8e;
}

.footer-column .phone-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.footer-column .phone-number {
  font-size: 14px;
  color: #555;
}

.copyright {
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  color: #777;
  border-top: 1px solid #eee;
  margin-top: 20px;
  width: 100%;
}

/* Desktop footer logo and h3 inline */
@media (min-width: 969px) {
  .footer-logo .logo-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-logo p {
    margin-top: 10px;
  }
}

/* Reset margin and padding for logo image and h3 */
.footer-logo .logo-header img,
.footer-logo .logo-header h3 {
  margin: 0;
  padding: 0;
}

/* Media Query for max-width 1200px */
@media (max-width: 1200px) {
  .footer-container {
    gap: 15px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-column {
    min-width: 160px;
  }
}

/* Media Query for max-width 1024px */
@media (max-width: 1024px) {
  .footer {
    padding: 30px 15px 10px;
  }

  .footer-logo h3 {
    font-size: 1.4rem;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .footer-column a {
    font-size: 13px;
  }

  .footer-column .social-icons i {
    font-size: 18px;
  }
}

/* Media Query for max-width 968px */
@media (max-width: 968px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 30px;
  }
}

/* Media Query for max-width 768px */
@media (max-width: 768px) {
  /* Adjust body padding for smaller navbar on mobile */
  body {
    padding-top: 0;
  }

  /* Header Layout */
  .header {
      flex-direction: column;
      padding: 15px;
  }

  .header-right {
      margin-top: 15px;
  }

  .nav-menu {
      margin: 15px 0;
      flex-wrap: wrap;
      justify-content: center;
  }

  .social-icons-header {
      margin-bottom: 10px;
  }

  /* Footer Layout */
  .footer-container {
      flex-direction: column;
      margin: 0;
      text-align: left;
  }

  .footer-logo,
  .footer-column {
      min-width: 100%;
  }

  .footer-logo {
      text-align: left;
  }

  .footer-logo p {
      text-align: left;
      padding-right: 20px;
  }

  /* Navbar and Burger */
  .navbar {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #f7f2b7;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      padding: 80px 20px 20px;
      transition: left 0.3s ease;
      z-index: 100000;
      pointer-events: auto;
  }

  .navbar li a {
      pointer-events: auto;
  }

  #menu-toggle:checked ~ .navbar {
      left: 0;
  }

  .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1001;
  }

  #menu-toggle:checked ~ .overlay {
      display: block;
  }

  .burger {
      display: flex;
      order: -1; /* Move burger to the left */
      margin-right: 20px;
      z-index: 100001;
      pointer-events: auto;
  }

  .sticky-nav {
      justify-content: space-between;
      align-items: center;
  }

  .logo-container {
      flex: 1;
      text-align: center;
  }



  /* Cake Sizes Section */
  .cake-sizes {
      flex-direction: column;
      align-items: center;
  }

  /* Footer Links */
  .footer-links {
      flex-direction: column;
      gap: 20px;
  }
}

/* Media Query for max-width 600px */
@media (max-width: 600px) {
  .footer {
    padding: 25px 10px 5px;
  }

  .footer-logo {
    text-align: left;
  }

  .footer-logo h3 {
    font-size: 1.3rem;
    text-align: left;
  }

  .footer-logo p {
    font-size: 13px;
    text-align: left;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .footer-column a {
    font-size: 13px;
  }

  .footer-column .social-icons {
    justify-content: center;
  }

  .footer-column .phone-container {
    justify-content: center;
  }

  .copyright {
    font-size: 11px;
    padding: 10px 0;
  }
}

/* Additional responsive for footer on very small screens */
@media (max-width: 480px) {
  .footer {
    padding: 20px 10px 5px;
  }

  .footer-logo h3 {
    font-size: 1.2rem;
  }

  .footer-logo p {
    font-size: 12px;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .footer-column a {
    font-size: 12px;
  }

  .copyright {
    font-size: 10px;
  }
}

/* Media Query for max-width: 360px */
@media (max-width: 360px) {
  .footer {
    padding: 15px 8px 5px;
  }

  .footer-container {
    gap: 15px;
  }

  .footer-logo {
    min-width: 100%;
    text-align: left;
  }

  .footer-logo h3 {
    font-size: 1.1rem;
  }

  .footer-logo p {
    font-size: 11px;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-column {
    min-width: 100%;
    text-align: center;
  }

  .footer-column h4 {
    font-size: 0.95rem;
  }

  .footer-column a {
    font-size: 11px;
  }

  .footer-column .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .footer-column .social-icons i {
    font-size: 16px;
  }

  .footer-column .phone-container {
    justify-content: center;
  }

  .footer-column .phone-number {
    font-size: 12px;
  }

  .copyright {
    font-size: 9px;
    padding: 8px 0;
  }
}

/* Media Query for max-width: 320px */
@media (max-width: 320px) {
  .footer {
    padding: 10px 5px 5px;
  }

  .footer-container {
    gap: 10px;
  }

  .footer-logo h3 {
    font-size: 1rem;
  }

  .footer-logo p {
    font-size: 10px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-column h4 {
    font-size: 0.9rem;
  }

  .footer-column a {
    font-size: 10px;
  }

  .footer-column .social-icons {
    flex-direction: column;
    gap: 8px;
  }

  .footer-column .social-icons i {
    font-size: 14px;
  }

  .footer-column .phone-container {
    flex-direction: column;
    gap: 5px;
  }

  .footer-column .phone-number {
    font-size: 11px;
  }

  .copyright {
    font-size: 8px;
    padding: 5px 0;
  }
}

.introduction{
  padding-top: 1%;
  margin-left: 8%;
}
.introduction h1{
  
  word-spacing: 1px;
  font-size: 36px;
  
}
.introduction p{
  margin-left: 1%;
  margin-right: 30%;
  word-spacing: px;
  font-size: 20px;
}
.introduction h2{
  font-size: 30px;

}

/*carousel*/
.carousel-container {
  padding: right 200px;
  width: 75%;
}
.slide-wrapper{
  position:relative;
  max-width: 48rem;
  margin: 0 45px 0 0;

}
.slider {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0%,25);
  border-radius: 0.5rem;
}

.slider img {
  flex: 1 0 20%;
  scroll-snap-align: start;
  object-fit: scale-down;
}

.slider-nav{
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.slider-nav a {
  width: 0.5em;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms ;
}
.slider-nav a :hover{
  opacity: 1;
}

/*login page*/
.login-main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.login-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 350px;
  text-align: center;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

h1 {
  color: #e88e8e;
  font-size: 24px;
  margin: 15px 0 5px;
  font-weight: normal;
}

.subtitle {
  color: #777;
  font-size: 14px;
  margin-bottom: 25px;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
  text-align: left;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: none;
  background-color: #f0f2f5;
  border-radius: 5px;
  font-size: 14px;
}

input:focus {
  background-color: white;
  border: 1px solid #e88e8e;
  outline: none;
}

.icon {
  position: absolute;
  left: 15px;
  top: 12px;
  color: #999;
}

.remember-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  text-align: left;
  justify-content: space-between;
}

.remember-group label {
  margin-left: 5px;
  font-size: 14px;
  color: #555;
}

.forgot-password-link {
  color: #555;
  font-size: 13px;
  text-align: right;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: #e88e8e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 15px;
}

.login-btn:hover {
  background-color: #d47e7e;
}

.register-container {
  margin-top: 10px;
}

.register-btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background-color: white;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.register-btn:hover {
  background-color: #f8f8f8;
}

/* Error message styling */
.error-message {
  color: #800000;
  font-size: 12px;
  margin-top: 5px;
  text-align: left;
  font-weight: bold;
}

/*customization style*/
.customization-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


.customization-main-content {
  padding: 40px 0;
  background-color: #ffe6e6;
  border-radius: 12px;
  margin-bottom: 30px;
}


.cake-sizes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.cake-size {
  background-color: #ffe6e6;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.cake-size:hover {
  transform: translateY(-5px);
}

.cake-size h2 {
  color: rgb(0, 0, 0);
  font-size: 48px;
  font-weight: 500;
  word-wrap: break-word
}

.cake-icon {
  margin: 15px 0;
  background-color: #F8E2E2;
}

.cake-image {
  width: 120px;
  height: 120px;
  background-color: #aa5555;
  border-radius: 8px;
}

.cake-details {
  margin-top: 15px;
}

.cake-details p {
  color: black;
  font-size: 16px;
  font-weight: 400;
   word-wrap: break-word;
}

.price {
  color: #5e2f2f;
  font-weight: bold;
  font-size: 18px !important;
  margin: 10px 0;
}

.select-btn {
  color: #9A6161;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 400;
  word-wrap: break-word
}

.select-btn:hover {
  background-color: #8a4444;
}

#notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
}

.notification.show {
  bottom: 20px;
}

.notification p {
  margin-right: 15px;
}

#close-notification {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  margin-left: 10px;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

/* Tablet and down */
@media (max-width: 992px) {
/* Navbar: wrap and center */
.sticky-nav {
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}
.nav-logo {
  margin: 0 0 10px;
}
.navbar {
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
}
.social-icons-container {
  width: 100%;
  padding-left: 0;
  justify-content: center;
  margin-top: 10px;
}

/* Home section stacks */
.home {
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.home-img {
  width: 80%;
  max-width: 300px;
}
.text-box {
  text-align: center;
}
.text-box h1 {
  font-size: 3rem;
}
.text-box p {
  font-size: 1.5rem;
}
.order-now {
  font-size: 1rem;
  padding: 8px 16px;
}

/* Popular grid becomes auto-fit */
.popular-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Additional responsive for About The Bake on very small screens */
@media (max-width: 600px) {
  .about-us-container {
    padding: 15px;
  }

  .about-text {
    padding: 25px 20px;
  }

  .about-us-container h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .about-text h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .explore-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    width: auto;
    display: inline-block;
  }
}

/* Further responsive adjustments for About The Bake on smaller screens */
@media (max-width: 480px) {
  .about-us-container {
    padding: 10px;
  }

  .about-text {
    padding: 20px 15px;
  }

  .about-us-container h2 {
    font-size: 1.3rem;
  }

  .about-text h1 {
    font-size: 1.2rem;
  }

  .about-text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .explore-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .about-us-container {
    padding: 8px;
  }

  .about-text {
    padding: 15px 12px;
  }

  .about-us-container h2 {
    font-size: 1.2rem;
  }

  .about-text h1 {
    font-size: 1.1rem;
  }

  .about-text p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .explore-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .about-us-container {
    padding: 5px;
  }

  .about-text {
    padding: 12px 10px;
  }

  .about-us-container h2 {
    font-size: 1.1rem;
  }

  .about-text h1 {
    font-size: 1rem;
  }

  .about-text p {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .explore-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}
  .explore-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

.carousel-container {
  width: 100%;
  padding-right: 0;
}

/* Login panel shrinks */
.login-container {
  width: 90%;
  max-width: 350px;
}


/* Mobile phones */
@media (max-width: 600px) {
body {
  font-size: 14px;
}
.navbar {
  gap: 10px;
}
.text-box h1 {
  font-size: 2.5rem;
}
.text-box p {
  font-size: 0.5rem;
}
.order-now {
  padding: 6px 12px;
}
.social-icons i,
.fa-circle-user {
  width: 28px;
  height: 28px;
  font-size: 20px;
}

.popular-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cake-info {
  font-size: 0.8rem;
}

.cake-info span {
  font-size: 0.7rem;
}

.cake-info button {
  font-size: 0.7rem;
}
}

/*rating*/
.feedback-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #ecc57c, #ffc8dd);
}

.feedback-card {
  background-color: #f7f2b7;
  padding: 20px 1px;
  border-radius: 50px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.feedback-card .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ebb0b0;
}

.feedback-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #231955;
  padding: 0 10px;
}

.feedback-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #1f1c1c;
  font-weight: 500;
  padding: 0 10px;
  line-height: 1.4;
}

.feedback-card input,
.feedback-card textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.feedback-card textarea {
  min-height: 80px;
  resize: vertical;
}

.feedback-card button {
  padding: 12px 30px;
  background-color: #d4757a;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}
.feedback-card button:hover {
  background-color: #ff4a4a; 
  transform: scale(1.05); 
}
/* Notification Styles */
.notification-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.account-dropdown-content {
    min-width: 350px;
    max-width: 400px;
}

.notification-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.notification-header span {
    font-weight: 600;
    color: #333;
}

.mark-all-read {
    background: none;
    border: none;
    color: #d4757a;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.mark-all-read:hover {
    background: #f8f9fa;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.notification-content {
    flex: 1;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #fff8f0;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
}

.notification-message {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: #999;
}

.notification-order {
    font-size: 12px;
    color: #d4757a;
    font-weight: 600;
    margin-bottom: 3px;
}

.delete-notification-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}

.delete-notification-btn:hover {
    transform: scale(1.1);
    color: #c0392b;
}

.no-notifications {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.account-links {
    padding-top: 10px;
}

.account-links a {
    display: block;
    padding: 10px 15px;
}

/* Carousel Styles */
.offer-section {
    background-color: #fce4ec;
    text-align: center;
    padding: 40px 20px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
    padding-top: 5px;
}

.offer-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #3e2723;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.icon {
    width: 32px;
    height: 32px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.2s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
}

.offer-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.offer-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.offer-card:hover img {
    transform: scale(1.05);
}

.offer-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #3e2723;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #3e2723;
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-wrapper {
        gap: 10px;
    }

    .carousel-btn {
        display: none;
    }
    
    .offer-card img {
        height: 250px;
    }
    
    .offer-text {
        font-size: 1.2rem;
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .offer-section {
        padding: 30px 10px;
        margin-left: 1%;
        margin-right: 1%;
    }

    .offer-title {
        font-size: 1.5rem;
        gap: 8px;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .carousel-wrapper {
        gap: 5px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .offer-card img {
        height: 200px;
    }

    .offer-text {
        font-size: 1rem;
        padding: 5px 12px;
        bottom: 8%;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .carousel-slide {
        min-width: 90vw;
    }

    .category-card {
        max-width: 100%;
    }
}

.offer-section {
    background-color: #fce4ec;
    text-align: center;
    padding: 40px 20px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
    padding-top: 5px;
}

.popular-section {
    background-color: #fce4ec;
    text-align: center;
    padding: 10px 40px;
    margin: 2% 3% 2% 3%;
}

.offer-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #3e2723;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.popular-title {
    font-size: 2rem;
    color: #212121;
    margin-bottom: 30px;
    text-align: center;
    padding: 2% 0% 2% 0%;
}

.icon {
    width: 32px;
    height: 32px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.offer-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.offer-card:hover img {
    transform: scale(1.05);
}

.offer-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
}

/* What We Offer - Cake Card Styles */
.cake-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 75%;
    max-width: 400px;
    margin: 0 auto;
}

.cake-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cake-card:hover img {
    transform: scale(1.05);
}

.cake-info {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.cake-info span {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #3e2723;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #3e2723;
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-wrapper {
        gap: 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .offer-card img,
    .cake-card img {
        height: 250px;
    }
    
    .offer-text {
        font-size: 1.2rem;
        padding: 6px 15px;
    }
    
    .cake-info {
        font-size: 1rem;
    }
    
    .cake-info span {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .offer-section,
    .popular-section {
        padding: 30px 10px;
        margin-left: -15%;
        margin-right: -15%;
    }
    
    .offer-title,
    .popular-title {
        font-size: 1.5rem;
        gap: 8px;
    }
    
    .icon {
        width: 24px;
        height: 24px;
    }
    
    .carousel-wrapper {
        gap: 5px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .offer-card img,
    .cake-card img {
        height: 200px;
    }
    
    .offer-text {
        font-size: 1rem;
        padding: 5px 12px;
        bottom: 8%;
    }
    
    .cake-info {
        font-size: 0.9rem;
    }
    
    .cake-info span {
        padding: 5px 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 24px;
    }
}

.offer-section {
    background-color: #fce4ec;
    text-align: center;
    padding: 20px 20px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
    padding-top: 5px;
}

.popular-section {
    background-color: #fce4ec;
    text-align: center;
    padding: 10px 40px;
    margin: 2% 3% 2% 3%;
}

.custom-orders {
    text-align: center;
    padding: 40px 20px;
}

.custom-orders h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.offer-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #3e2723;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.popular-title {
    font-size: 2rem;
    color: #212121;
    margin-bottom: 30px;
    text-align: center;
    padding: 2% 0% 2% 0%;
}

.icon {
    width: 32px;
    height: 32px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popular Categories - Offer Card */
.offer-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.offer-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.offer-card:hover img {
    transform: scale(1.05);
}

.offer-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
}

/* What We Offer - Cake Card Styles */
.cake-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 75%;
    max-width: 400px;
    margin: 0 auto;
}

.cake-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cake-card:hover img {
    transform: scale(1.05);
}

.cake-info {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.cake-info span {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Customized Orders - Custom Cake Card */
.custom-cake-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.custom-cake-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.custom-cake-card:hover img {
    transform: scale(1.05);
}

.customize-btn {
    display: inline-block;
    background-color: #d4757a;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.customize-btn:hover {
    background-color: #ff4a4a;
    transform: scale(1.05);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #3e2723;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #3e2723;
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-wrapper {
        gap: 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .offer-card img,
    .cake-card img {
        height: 250px;
    }
    
    .custom-cake-card img {
        height: 280px;
    }
    
    .offer-text {
        font-size: 1.2rem;
        padding: 6px 15px;
    }
    
    .cake-info {
        font-size: 1rem;
    }
    
    .cake-info span {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .offer-section,
    .popular-section,
    .custom-orders {
        padding: 30px 10px;
        margin-left: 2%;
        margin-right: 2%;
    }
    
    .offer-title,
    .popular-title,
    .custom-orders h2 {
        font-size: 1.5rem;
        gap: 8px;
    }
    
    .icon {
        width: 24px;
        height: 24px;
    }
    
    .carousel-wrapper {
        gap: 5px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .offer-card img,
    .cake-card img {
        height: 200px;
    }
    
    .custom-cake-card img {
        height: 220px;
    }
    
    .offer-text {
        font-size: 1rem;
        padding: 5px 12px;
        bottom: 8%;
    }
    
    .cake-info {
        font-size: 0.9rem;
    }
    
    .cake-info span {
        padding: 5px 10px;
    }
    
    .customize-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-top: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 24px;
    }
}

.offer-section {
  background-color: #fce4ec;
  text-align: center;
  padding: 0px 0px;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 80px;
}

.offer-title {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #3e2723;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.icon {
  width: 32px;
  height: 32px;
}

.carousel-wrapper-continuous {
  position: relative;
  max-width: 1200px;
  margin: 0px;
  overflow: hidden;
}

.carousel-container {
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
   display: flex;
 gap: 20px; animation: scroll 20s linear infinite;
 padding: 10px 5px;
width: fit-content; 
}

.carousel-track:hover {
  animation-play-state: paused;
  }

@keyframes scroll {
  0% {    transform: translateX(0);
 }
 100% {   transform: translateX(calc(-25% - 20px));
}
}

.carousel-slide {
  min-width: 350px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Category Cards in Carousel */
.category-card {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
  opacity: 1;
  transform: rotate(45deg);
}

.category-overlay i {
  font-size: 18px;
  color: #d4757a;
}

.category-info {
  padding: 20px;
  text-align: left;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  flex-grow: 1;
}

.category-info h3 {
  font-size: 1.3rem;
  color: #2d2d2d;
  margin: 0 0 8px 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.category-card:hover .category-info h3 {
  color: #d4757a;
}

.category-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.category-rating {
  display: flex;
  gap: 4px;
}

.category-rating i {
  font-size: 14px;
  color: #fbbf24;
}

.category-rating .fa-regular {
  color: #d1d5db;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: #3e2723;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background-color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #3e2723;
  width: 30px;
  border-radius: 6px;
}

