body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    background-color: #f6e3da;
}

.bg-brown {
    background-color: #8d5a4b; /* Same background color as your original navbar */
    border-radius: 20px;
    margin: 10px 30px;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: white !important;
    font-size: 2rem !important;
    font-weight: bold;
    margin-left: 5%;
}

.navbar-nav .nav-link {
    color: white;
    margin-right: 15px;
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #e5c2b7;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
}

.social-icon:hover {
    color: #e5c2b7;
}

/* Media Queries for Mobile responsiveness */
@media (max-width: 768px) {
    .social-icons {
        display: none; /* Hide social icons on mobile */
    }
}

.title-center {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hero-section {
    position: relative;
    text-align: center;
    color: white;
}

.hero-image {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: bold;
}

/* social icons */
.social-icons {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.social-icons a {
    color: #e5c2b7;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 0;
    }

    .title-center {
        position: static;
        transform: none;
        text-align: left;
        width: 100%;
    }

    .social-icons {
        gap: 15px;
        margin-right: 15px;
    }
}

/* navbar  */
@media (max-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 0;
    }

    .title-center {
        position: static;
        transform: none;
        text-align: left;
        width: 100%;
    }

    .social-icons {
        gap: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.5rem !important;
    }

    .social-icons a {
        font-size: 1.2rem;
    }
}

/* home page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FEFAF4; /* Updated background color */
    color: #4a2c1f;
}
  .hero-container {
    position: relative;
    display: inline-block;
    width: 100%;
    /* max-width: 1200px;  */
    border-radius: 12px;
    overflow: hidden;
  }
  
  .hero-section {
    text-align: center;
    padding: 2rem; 
  }
  
  .hero-image {
    width: 100%;
    height: 450px;  
    object-fit: cover;
    border-radius: 12px;
  }
  
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  }

  .hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-shadow: 3px 3px 6px rgb(139, 69, 19); /* Solid brown shadow */
  }

  
.Sweet-Combos {
    text-align: center;
    padding: 2rem 1rem;
}

.Sweet-Combos h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #8d5a4b;
}

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

.gallery-item {
    width: 380px;
    height: auto;
    overflow: hidden;
    border-radius: 15px;
    /* box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    /* background-color: #f9f3f0; */
    padding: 1rem;
    /* border: 1px solid #e0d7d1; */
}

.gallery-item img {
    width: 100%;
    height: 350px; 
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}


.item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #8d5a4b;
    margin-bottom: 0.5rem;
}

.contact-btn {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #8d5a4b;
    background-color: transparent;
    border: 2px solid #8d5a4b;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-btn:hover {
    background-color: #8d5a4b;
    color: white;
}


  /* .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  } */

.contact-btn {
    position: relative;
    z-index: 1;
}


.review-block {
    background-color: #88573D; /* Yellow background */
    border-radius: 15px; /* Rounded edges */
    padding: 30px;
    color: #FEFAF4;
    font-family: 'Playfair Display', serif;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 90vw; /* Use 90% of the viewport width */
    max-width: 100%; /* Allow full width on large screens */
    margin: 0 auto; /* Center the review block */
  }
  
  .carousel-item {
    display: flex;
    justify-content: center;
  }
  .carousel-inner {
    padding: 10px;
  }

  /* GRID LAYOUT */

  .block {
    width: 100%; /* Automatically adjust to grid column width */
    height: 180px; /* Uniform height for all blocks */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f4f4f4;
}

.block img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the block evenly */
}
.text-block {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    background-color: #ffd699; /* Light orange for text block */
}

.container2 h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: rgb(141, 90, 75);
    text-align: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.container2 {
    max-width: 95%; /* Adjust the width */
    margin: 0 auto; /* Center the container */
    padding: 0 1rem; /* Add padding to avoid touching edges */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 1rem; /* Even spacing between grid items */
}


@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;

    }
    .Sweet-Combos h2{
        font-size: 2.3rem;
    }
    .container2 h2{
        font-size: 2.3rem;
    }
    .h3, h3{
        font-size: 1.2rem;
    }
    .gallery-item  {
        width: 90%;
        height: 80%;
    }
    .col-6 {
        width: 70%;
    }
    .text-block{
        font-size: 1rem;
    }
    
}




/* filter buttons on store page */
.cakes-title h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: #8d5a4b !important;
}

/* .category-container {
    text-align: center; 
    margin-bottom: 20px;
} */

.cake-card { 
    display: none; 
    width: 50px;
    height: auto;
}

/* Category Buttons Container */
.category-container {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons can wrap to the next line on smaller screens */
}

/* Category Buttons */
.category-btn {
    background-color: #e5c2b7;
    border: none;
    padding: 10px 20px; /* Smaller padding for smaller buttons */
    margin: 5px; /* Reduce margin for buttons to fit better */
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* Ensures text inside button is centered */
    min-width: 150px; /* Ensures buttons are of similar width */
}

/* Hover effect for buttons */
.category-btn:hover {
    background-color: #d9a596;
    transform: translateY(-2px);
}

/* Active button state */
.category-btn.active {
    background-color: #8d5a4b;
    color: white;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Title inside the button */
.category-title {
    font-size: 1rem; /* Smaller font size for button titles */
    font-weight: bold;
    margin: 0;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    /* Stack buttons in a row on mobile */
    .category-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* Ensure buttons wrap on small screens */
        gap: 10px; /* Add gap between buttons */
    }

    .category-btn {
        padding: 8px 16px; /* Smaller padding */
        margin: 5px; /* More compact margin for mobile view */
        width: auto; /* Ensure buttons do not get stretched */
        min-width: 120px; /* Ensure a minimum width for the buttons */
    }

    .cakes-title h1 {
        font-size: 2.5rem; /* Slightly smaller title on mobile */
    }
}

@media (max-width: 375px) {
    /* Adjust container for small screens */
    .category-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* Ensure buttons wrap for smaller screens */
        gap: 8px; /* Reduce gap between buttons */
    }

    .category-btn {
        padding: 6px 12px; /* Smaller padding for compact buttons */
        margin: 4px; /* Compact margin for tight space */
        width: auto; /* Ensure no stretching */
        min-width: 100px; /* Reduce minimum width */
        font-size: 0.9rem; /* Smaller text for buttons */
    }

    .cakes-title h1 {
        font-size: 1.8rem; /* Adjust title size for smaller screens */
        text-align: center; /* Center-align the title */
        margin: 10px 0; /* Add space around the title */
    }
}

@media (max-width: 320px) {
    /* Adjust container for very small screens */
    .category-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* Allow wrapping for smaller screens */
        gap: 6px; /* Reduce gap between buttons */
    }

    .category-btn {
        padding: 5px 10px; /* Compact padding for buttons */
        margin: 3px; /* Smaller margins to fit the layout */
        width: auto; /* Avoid stretching */
        min-width: 80px; /* Reduce minimum width for smaller screens */
        font-size: 0.8rem; /* Smaller font for buttons */
    }

    .cakes-title h1 {
        font-size: 1.5rem; /* Further reduce title size */
        text-align: center; /* Center-align title for better fit */
        margin: 8px 0; /* Compact margins around the title */
    }
}



/* cake cards */
.cake-card .card {
    border: none;
    display: flex;
    flex-direction: column;
}

.card-img-top {
    width: 100%; /* Ensure the image spans the card's width */
    height: 400px; /* Set a fixed height */
    object-fit: cover; /* Ensures images maintain their aspect ratio while filling the space */
    border-radius: 10px;
}

.card-body {
    padding: 10px;
    text-align: center;
    background-color: white;
    border-radius: 0 0 10px 10px;
}

.row {
    margin-top: 30px;
}

.col-md-4 {
    padding: 10px;
}

.cake-card {
    display: flex;
    justify-content: center;
}

.card {
    width: 100%; /* Full width of the column */
    position: relative;
    border-radius: 10px;
}

.image-container {
    position: relative;
}

.card-img-top {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Hidden hover text initially */
.hover-text {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    z-index: 10;
}

/* Show hover text on hover or tap */
.image-container:hover .hover-text,
.image-container:active .hover-text {
    display: block;
}



/* footer */
.custom-footer {
    width: 100%;
    height: 100%;
    background-color: #f4e0d9;  
    padding: 20px 0;
    font-size: 1.1rem;
}

.custom-footer p {
    margin: 0;
    text-align: center;
    color: #6a4d41;  
}
.custom-footer {
    background-color: #f4e0d9;
    padding: 40px 0;
    font-size: 1rem;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #6a4d41;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}


.footer-links a:hover {
    color: #8d5a4b;
    text-decoration: none;
}

.social-iconss {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-iconss i {
    font-size: 1rem;
    color: #6a4d41;
    transition: color 0.3s;
}

.social-iconss i:hover {
    color: #9c6f56;
}

.container h2{
    margin-left: 110px;
    margin-bottom: 10px;
    color: #6a4d41;  

}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and text */
}

.footer-text h2,
.footer-text p {
    margin: 0;
    text-align: left;
}

/* Center logo and heading for mobile screens (320px width) */
@media (max-width: 425px) {
    .footer-brand {
        flex-direction: column; /* Stack the logo and text vertically */
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center text */
    }

    .footer-text h2,
    .footer-text p {
        text-align: center; /* Ensure heading and subtext are centered */
    }

    .footer-logo {
        margin: 0 auto 10px auto; /* Center the logo with margin below */
    }
}


/* contact page */

.contact-page-wrapper {
    background-image: url('https://i.postimg.cc/bN5m4T22/bbaconact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 0;  /* Adjust padding if necessary */
}

/* Your form styling */
#form {
    width: 100%;
    max-width: 480px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);  /* Add slight transparency to the background */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

form label {
    color: white; /* Set label text color to white */
    margin-bottom: 5px; /* Optional: Add spacing between label and input */
    display: block; /* Ensure labels appear above inputs */
    opacity: 10;
}



/* Form input styling */
input, textarea {
    width: 100%;
    margin: 20px 0; /* Increased margin for better spacing between inputs */
    padding: 15px;
    font-size: 1em;
    border: 1px solid #d6ccc2;
    border-radius: 8px;
    background: #faf9f6;
    outline: none;
    transition: 0.3s;
}

/* Focus effect on inputs */
input:focus, textarea:focus {
    border-color: #9c8467;
    box-shadow: 0 0 5px rgba(156, 132, 103, 0.4);
}

/* Textarea resizing */
textarea {
    resize: none;
    height: 120px;
}

/* Submit button styling */
#submit {
    background: #8d5a4b;
    color: #fff;
    border: none;
    font-size: 1em;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
    padding: 15px 30px; /* Added padding for button */
    margin-top: 20px; /* Added top margin for spacing */
}

/* Hover effect for submit button */
#submit:hover {
    background: #7a6a5a;
}

.contact-title{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: #8d5a4b !important;
}
/* Contact heading styling */
.contact-heading h2 {
    margin: 0 0 20px 0;
    font-size: 2.5em;
    color: #8d5a4b;
    text-align: center;
}

.contact-heading {
    text-align: center;
    margin-top: 40px; /* Adds spacing from the top of the page */
}

.contact-title h2 {
    margin-top: 30px; /* Adds space above the title */
}

.contact-heading p {
    color: #8d5a4b;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 90%; /* Ensure the paragraph does not stretch too wide */
    margin: 0 auto; /* Centers the paragraph */
}


/* Media Query for Mobile */
@media (max-width: 768px) {
    .contact-heading h2 {
        font-size: 2em; /* Reduced font size for smaller screens */
        margin-bottom: 15px; /* Adjusted margin */
    }

    .contact-heading p {
        font-size: 1em; /* Adjust font size on smaller screens */
        line-height: 1.5; /* Adjust line height for better readability */
        max-width: 100%; /* Allows paragraph to take full width on smaller screens */
        padding: 0 50px; /* Adds some space to the sides */
    }

    #form {
        padding: 20px; /* Reduced padding for mobile view */
        margin: 20px auto; /* Ensure form stays centered with auto margins */
    }

    input, textarea {
        padding: 12px; /* Slightly smaller padding for inputs on mobile */
    }

    #submit {
        width: 100%; /* Full width submit button for mobile */
    }
}


  /* about page */
  .about {
    padding: 40px 20px;
    text-align: left;
    color: #5c4a3b;
  }
  
  .container-about {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse; /* Image on the right by default */
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .about-text {
    flex: 1;
    padding: 20px;
  }
  
  .about-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    font-family: 'Playfair Display', serif;
  }
  
  .about-image {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Start hidden */
    animation: fade-in 1.2s ease-in forwards; /* Fade-in animation */
  }
  
  .profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Fade-in animation */
  @keyframes fade-in {
    0% {
      opacity: 0; /* Fully transparent */
    }
    100% {
      opacity: 1; /* Fully visible */
    }
  }
  
  /* Mobile view */
  @media (max-width: 768px) {
    .container-about {
      flex-direction: column; /* Stacks the text and image vertically */
      text-align: center; /* Centers the text */
    }
  
    .about-text {
      padding: 20px;
    }
  
    .about-text h1 {
      font-size: 2.5em; /* Adjust heading size */
    }
  
    .about-image {
      margin-top: 20px; /* Add space between the text and image */
      width: 80%; /* Adjust image width */
    }
    .about-text p{
        font-size: 1rem;
    }

  
    .profile-pic {
      width: 200px; /* Smaller image size */
      height: 200px;
    }
  }
  
  
