/* === General Styles === */
body {
    font-family: 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
  }
  
  h1, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700; /* Bold weight for headings */
    color: #ffffff;
  }
  h2 {
    color: black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  p {
    color:#ffff
  }
  p.description{
    color: black;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  h1.title{
    color: black;
  }
  
  h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .dropdown{
    position:relative;
    display: inline-block;
  }
  .dropdown-menu{
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
  }
  .dropdown:hover .dropdown-menu{
    display: block;
  }
  
  /* === Navigation Bar === */
  header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    z-index: 1000;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo img {
    width: 100px;
    height: auto;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center; /* Align menu items in a row */
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: #007BFF;
    padding: 10px 20px; /* Add extra padding on hover */
  }
  .nav-links li.dropdown {
    position: relative;
  }
  .nav-links li.dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* === Responsive Design === */
  @media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgb(255, 255, 255);
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
  
    .nav-links.active {
        transform: translateX(0);
    }
  
    .menu-toggle {
        display: flex;
    }
  
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
  
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
  
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
  }
  
  /* === Hero Section === */
  .hero {
    background-image: url('images/kasambagan.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(0, 0, 0);
  }
  
  .cta-button {
    background-color: #ff6347;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #ff7f50;
    transform: scale(1.05);
  }
  
  /* === Gallery Section === */
  .gallery {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensure exactly 3 images per row */
    gap: 20px;  /* Space between grid items */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Center the grid */
  }
  
  /* === Services Section === */
  .services {
    padding: 50px 20px;
    text-align: center;
    background-color: #f4f4f4;
  }
  
  .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
  }
  
  .service-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
  }
  
  .service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  /* === Testimonials Section === */
  .testimonials {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
  }
  
  .testimonial-carousel {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  
  .testimonial-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* === Footer Section === */
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  footer a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .social-links {
    margin: 10px 0;
  }
  
  .social-links a {
    margin: 0 10px;
  }
  
  /* === Product Detail Page === */
  .product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .product-image {
    flex: 1;
    min-width: 300px;
  }
  
  .product-image img {
    width: 100%;
    border-radius: 10px;
  }
  
  .product-info {
    flex: 1;
    min-width: 300px;
  }
  
  .product-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .product-info .description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .product-info .price {
    font-size: 1.5rem;
    color: #007BFF;
    font-weight: bold;
  }
  
  .back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .back-button:hover {
    background-color: #0056b3;
  }
  
  /* === Lightbox Gallery === */
  .gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }
  
  .gallery-thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .gallery-thumbnails img:hover {
    transform: scale(1.1);
  }
  
  /* === Parallax Effect === */
  .parallax {
    background-image: url('images/kasambagan.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
  }
  
  /* Fade-in Animation */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .fade-in {
    animation: fadeIn 1.5s ease-in-out;
  }
  .grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Rounded corners for each item */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  
  }
  .grid-item img {
   width: 100%; /* Ensure the image takes up the full width of the container */
    height: 100%; /* Ensure the image takes up the full height of the container */
    object-fit: cover; /* Ensure the image covers the entire space without distorting */
    border-radius: 8px; /* Optional: adds rounded corners */
    transition: transform 0.3s ease; /* Smooth image transition on hover */
  }
  .grid-item:hover img {
    transform: scale(1.1);
  }
  .hover-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    display: none; /* Hidden by default */
  }
  .grid-item:hover .hover-info {
    display: block; /* Show text on hover */
  }
  .grid-item h3, .grid-item p {
    margin: 0;
    font-family: 'Trebuchet MS', sans-serif;
  }
  html {
    scroll-behavior: smooth;
  }
  nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9); /* transparent effect */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
  }
  .slider-container {
    width: 50%;  /* Adjusted to 80% of the available width on desktop */
    margin: 0 auto; /* Center the Swiper container */
  }
  
  /* Slick slider images */
  .slider-container img {
    width: 100%;
    height: auto;
    object-fit: cover;  /* Ensures that images cover the space */
  }
  
  /* Add responsiveness for small screens */
  @media (max-width: 768px) {
    .slider-container {
      width: 100%;  /* Make slider full width on smaller screens */
    
    }
  }
  /* General Styles */
  .cta {
    background: linear-gradient(to right, #ff7f50, #ff6347); /* Sweet, warm gradient background */
    color: white; /* Text color */
    padding: 80px 20px; /* Adequate padding for spacing */
    text-align: center; /* Center text */
    font-family: 'Arial', sans-serif; /* Set font */
    position: relative;
    overflow: hidden; /* Make sure nothing overflows */
  }
  
  /* Add a nice blur effect on the background */
  .cta:before {
    content: "";
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Behind the content */
  }
  
  /* Inner content styling */
  .cta-content {
    z-index: 1; /* To make sure the content is above the overlay */
  }
  
  .cta h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  .cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
  }
  
  .cta-button {
    background-color: #fff;
    color: #ff6347; /* Matching with the CTA section color */
    font-size: 1.1em;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s; /* For smooth hover effects */
  }
  
  .cta-button:hover {
    background-color: #ff6347; /* Change background color on hover */
    color: white;
    transform: scale(1.1); /* Slightly enlarge button */
  }
  
  /* Responsive Design for Mobile */
  @media (max-width: 768px) {
    .cta {
      padding: 60px 20px; /* Adjust padding on small screens */
    }
  
    .cta h2 {
      font-size: 2em; /* Slightly smaller font size */
    }
  
    .cta p {
      font-size: 1em; /* Smaller font size for paragraph */
      margin-bottom: 20px;
    }
  
    .cta-button {
      padding: 10px 30px; /* Adjust padding for smaller screens */
      font-size: 1em; /* Adjust font size for button */
    }
  }
  
  @media (max-width: 480px) {
    .cta h2 {
      font-size: 1.6em; /* Smaller heading for extra small screens */
    }
  
    .cta p {
      font-size: 0.9em; /* Adjust paragraph font size for small screens */
      margin-bottom: 15px;
    }
  
    .cta-button {
      padding: 8px 25px; /* Further reduce padding on very small screens */
      font-size: 0.95em; /* Slightly smaller button font */
    }
  }
  .hero h1 {
    font-size: 3em; /* Large font size for the headline */
    font-weight: bold;
    margin-bottom: 15px;
  }
  .hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  @media (max-width: 768px) {
    .hero-logo img {
      width: 150px; /* Slightly smaller logo on tablets */
    }
  
    .hero h1 {
      font-size: 2.5em; /* Adjust heading size for smaller screens */
    }
  
    .hero p {
      font-size: 1.2em; /* Adjust paragraph size for mobile */
    }
  
    .cta-button {
      font-size: 1em; /* Adjust button size for mobile */
    }
  }
  
  @media (max-width: 480px) {
    .hero-logo img {
      width: 120px; /* Further reduce logo size on very small screens */
    }
  
    .hero h1 {
      font-size: 2em; /* Smaller heading for mobile devices */
    }
  
    .hero p {
      font-size: 1em; /* Smaller paragraph text on small screens */
    }
  
    .cta-button {
      padding: 12px 25px; /* Reduce button size on small screens */
      font-size: 0.95em;
    }
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  /* Style for the dropdown container */
  .dropdown {
    position: relative;
  }
  
  /* Style for the "Shop" link */
  .dropdown > a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
  }
  
  /* The dropdown menu */
  .dropdown-menu {
    display: none;  /* Hidden by default */
    position: absolute;
    top: 100%;  /* Position the dropdown menu below the Shop link */
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    list-style: none;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .dropdown-menu li {
    width: 200px; /* Optional: You can adjust the width of the dropdown */
  }
  
  /* Style for the dropdown menu items */
  .dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s ease;
  }
  
  /* Hover effect on dropdown items */
  .dropdown-menu li a:hover {
    background-color: #f0f0f0;
    color: #007BFF;
  }
  
  /* Show the dropdown menu when hovering the parent */
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  @media (max-width: 768px) {
    .dropdown-menu {
      position: static;
      width: 100%;
      box-shadow: none; /* Remove shadow for mobile */
      border: none; /* Remove border on mobile */
    }
  
    .nav-links {
      flex-direction: column; /* Stack the nav items on mobile */
      gap: 15px;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: rgb(255, 255, 255);
      flex-direction: column;
      width: 100%;
      align-items: center;
      gap: 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    .dropdown-menu li a {
      padding: 12px 20px; /* Increase padding for better mobile tap area */
      text-align: center; /* Center align text for a cleaner look */
    }
  
    /* Make the dropdown appear under the Shop menu item on smaller screens */
    .dropdown {
      width: 100%;
    }
    .dropdown-menu {
      position: static; /* Position dropdown below the parent on small screens */
      display: none;
      width: 100%;
      padding: 10px 0;
      background-color: #fff;
    }
  
    .dropdown-menu li a {
      padding-left: 15px; /* Add padding for better spacing */
      padding-right: 15px;
    }
  }
  
  /* For Very Small Screens (e.g., 480px or smaller) */
  @media (max-width: 480px) {
    .dropdown-menu li a {
      font-size: 0.9em; /* Slightly smaller font size for very small screens */
      padding: 10px 15px; /* Adjust padding for smaller screens */
    }
  }
  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr); /* 2 images per row on tablets */
    }
  }
  
  @media (max-width: 480px) {
    .grid-container {
      grid-template-columns: 1fr; /* 1 image per row on small screens */
    }
  }
  /* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  body {
    background-color: #f5f5f5;
  }
  
  /* Gallery Section */
  .gallery {
    padding: 20px;
    text-align: center;
  }
  
  h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  /* Grid Container */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    grid-gap: 20px;
    margin-bottom: 30px;
  }
  
  .grid-item {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .grid-item:hover {
    transform: scale(1.05);
  }
  
  .grid-item img {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }
  
  /* Cake Info (Name and Price) */
  .cake-info {
    padding: 10px;
    text-align: center;
  }
  
  .cake-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .cake-info p {
    font-size: 16px;
    color: #888;
  }
  
  /* Load More Button */
  #load-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
  }
  
  #load-more-btn:hover {
    background-color: #444;
  }
  
  /* Responsive Design for Mobile */
  @media screen and (max-width: 768px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
  }
  
  @media screen and (max-width: 480px) {
    .grid-container {
      grid-template-columns: 1fr; /* 1 column for mobile */
    }
  }
  #load-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
  }
  
  #load-more-btn:hover {
    background-color: #444;
  }
  
  @media screen and (max-width: 768px) {
    #load-more-btn {
      font-size: 14px;
    }
  }
  
  @media screen and (max-width: 480px) {
    #load-more-btn {
      font-size: 12px;
    }
  }
  .banner-heading {
    background-image: url('images/background.jpeg'); /* Replace with your image path */
    background-size: cover; /* Makes the background image cover the entire h2 element */
    background-position: center; /* Centers the background image */
    color: white; /* Text color for visibility */
    text-align: center; /* Centers the text */
    padding: 50px 0; /* Adds padding for some space around the text */
    font-size: 36px; /* Adjust the font size */
    font-weight: bold; /* Makes the text bold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional: adds a shadow for text visibility */
  }
  /* === General Navigation Bar Styles === */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  width: 100px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007BFF;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* === Mobile Menu Styles === */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Dropdown styles on mobile */
  .dropdown-menu {
    position: static; /* Position dropdown below the parent on small screens */
    display: none;
    width: 100%;
    padding: 10px 0;
    background-color: #fff;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    text-align: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
  }

  .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
  }

  .dropdown-menu li a:hover {
    background-color: #f0f0f0;
    color: #007BFF;
  }
  
  /* Stack the nav items */
  .nav-links {
    flex-direction: column;
  }

  .nav-links li {
    padding: 10px;
  }
}
