/* === General Styles === */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* For smooth scroll offset (if you have a fixed header) */
}
body {
  font-family: 'Trebuchet MS', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

h1 {
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: 700; /* Bold weight for headings */
  color: #ffffff;
}
div.hover-info h3{
  color: white;
}

h3{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: black;
}

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;
}

/* === Navigation Bar === */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 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;
  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;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .nav-links {
      position: fixed;
      gap: 15px;
      right: 0;
      background-color: white;
      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);
    transition: transform 0.3s ease-in-out;
  }

  .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;
}


/* === 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, opacity 0.3s ease; /* Smooth image transition on hover */
}
.grid-item:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}
.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;
}
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: 'Trebuchet MS', 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: #333;
  transform: scale(1.05); /* 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 */
  }
  .dropdown-menu {
    display: block; /* For mobile devices */
}

@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 */
  } 
  .cta h2 {
    font-size: 1.4em;
  }
  .cta p {
    font-size: 0.9em;
  }


  .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: static;
  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 */
  }
  .dropdown:hover .dropdown-menu {
    display: block;

  }

  .nav-links {
    flex-direction: column; /* Stack the nav items on mobile */
      gap: 15px;
      position: fixed;
  }
  .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 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 */
  }
}


/* Social Media style */

.social-media {
  padding: 20px;
  text-align: center;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.social-item {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background-color: #f9f9f9;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.social-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.social-item p {
  font-size: 1em;
  color: #333;
}

.social-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media screen and (max-width: 768px) {
  .social-grid {
      grid-template-columns: 1fr;
  }
}

