/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Font Settings */
body {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

h2 {
  text-align: center;
  margin-top: 20px;
  font-size: 2rem;
}

h1, .title {
  color: black;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

h3 {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  color: black;
}

p {
  color: #fff;
}

p.description {
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Logo */
.logo img {
  width: 100px;
  height: auto;
}

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;
  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;
}
/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown > a {
  padding: 10px 15px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  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 a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 400;
  transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
  color: #007BFF;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  .nav-links {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    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);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle 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);
}

/* Product Collection */
.product-collection {
  padding: 20px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.product-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-item img {
  width: 100%;
  height: auto;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.product-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.product-overlay p {
  font-size: 1rem;
}

/* Gallery Section */
.gallery {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

/* Social Media Grid */
.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;
}

@media screen and (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

footer a {
  color: #007BFF;
  text-decoration: none;
}

footer .social-links {
  margin: 10px 0;
}

footer .social-links a {
  margin: 0 10px;
}

/* Parallax Effect */
.parallax {
  background-image: url('images/kasambagan.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
}

/* 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);
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

/* 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;
}

/* Hero Text Styles */
.hero h1 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

/* Call to Action Section */
.cta {
  background: linear-gradient(to right, #ff7f50, #ff6347);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.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.6;
}
