
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}

.top-bar .social-icons a {
    margin-right: 10px;
    color: #fff;
    transition: color 0.3s;
}

.top-bar .social-icons a:hover {
    color: #ff9800;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center;
    background-color: #000000;
    padding: 15px 20px;
    border-bottom: 2px solid #0e0e0e;
    position: relative;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 80px;
    width: 90px;
    
    margin-right: 10px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    position: relative;
    margin: 0 auto; /* Center the nav-links */
}

nav .nav-links li {
    position: relative;
}

nav .nav-links a {
    text-decoration: none;
    color: #f8f1f1;
    font-size: 18px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #ff9800;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #ff9800;
    transition: width 0.3s;
}

nav .nav-links a:hover::after {
    width: 100%;
}

nav .cta a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #f0eee9;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

nav .cta a:hover {
    background-color: #f3f1ef;
}
/* Hamburger Menu */
nav .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    left: 20px;
}

nav .hamburger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

/* Background Overlay */
nav .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 998;
}

nav .overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive Navigation */
@media (max-width: 1024px) {
    nav {
        flex-wrap: wrap;
    }

   
    nav .nav-links {
        position: absolute;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background-color: #f7cc0c;
        flex-direction: column;
        padding: 20px; /* Padding inside the capsule */
        gap: 20px;
        border-radius: 20px; /* Capsule shape */
        transition: left 0.5s ease-in-out;
        z-index: 999;
    }

    nav .nav-links.active {
        left: 0;
    }

    nav .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    nav .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    nav .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    nav .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    nav .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    nav .hamburger {
        display: flex;
    }

    nav .cta {
        display: none;
    }

    /* Hamburger Animation */
    nav.active .hamburger div:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #ff9800;
    }

    nav.active .hamburger div:nth-child(2) {
        opacity: 0;
    }

    nav.active .hamburger div:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #ff9800;
    }
}


/* Search Bar Styles */
.search-container {
    position: absolute;
    top: 60px; /* Positioned below the hamburger menu */
    right: 15px; /* Aligned with hamburger menu */
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#searchInput {
    padding: 12px 16px;
    width: 0;
    border: none;
    border-radius: 50px; /* Rounded corners for modern look */
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother animation */
    opacity: 0;
    visibility: hidden;
    outline: none; /* Remove outline on focus */
}

#searchInput.active {
    width: 240px;
    opacity: 1;
    visibility: visible;
}

#searchInput:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on focus */
}

.suggestions {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: none;
    border-radius: 12px;
    width: 240px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.suggestions div {
    padding: 12px 16px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.suggestions div:last-child {
    border-bottom: none;
}

.suggestions div:hover {
    background: #f7f7f7;
}

/* Search Icon */
.search-icon {
    cursor: pointer;
    font-size: 22px;
    color: white;
    margin-left: 12px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Responsive Styles - comprehensive for all devices */
@media (max-width: 1200px) {
    #searchInput.active {
        width: 220px;
    }
}

@media (max-width: 992px) {
    #searchInput.active {
        width: 200px;
    }
    
    .suggestions {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .search-container {
        top: 40px; /* Maintain position below hamburger menu */
        right: 2px; /* Keep aligned with hamburger menu */
    }
    
    #searchInput.active {
        width: 180px;
    }
    
    .suggestions {
        width: 180px;
    }
    
    .search-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .search-container {
        top: 40px; /* Consistent positioning */
        right: 5px;
    }
    
    #searchInput.active {
        width: 150px;
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .suggestions {
        width: 150px;
        top: 45px;
    }
    
    .suggestions div {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .search-icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    #searchInput.active {
        width: 120px;
    }
    
    .suggestions {
        width: 120px;
    }
}

/* For extremely small devices */
@media (max-width: 320px) {
    #searchInput.active {
        width: 100px;
    }
    
    .suggestions {
        width: 100px;
    }
    
    .search-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* Gallery Section Styles */
.gallery {
    padding: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.gallery h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* Gallery Grid Container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: white;
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles - Keeping the same for all screens */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Navigation Controls */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 50%;
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .gallery {
        padding: 1rem 0.5rem;
    }

    .gallery h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.25rem;
    }

    .gallery-item {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* Small Mobile Screens */
@media screen and (max-width: 480px) {
    .gallery {
        padding: 0.5rem;
    }

    .gallery h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    /* Adjusted Navigation for Mobile */
    .close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .prev-btn,
    .next-btn {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }
}



/* contact icon*/

.fixed-contact {
    position: fixed;
    left: 20px;  /* Distance from the left */
    bottom: 50px;  /* Distance from the bottom */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000; /* Ensures it stays on top */
}

.fixed-contact a img {
    width: 50px;  /* Adjust size */
    height: 50px;
    border-radius: 50%;  /* Make it round */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.fixed-contact a img:hover {
    transform: scale(1.1);
}

footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px 10px;
    font-family: sans-serif;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .footer-section {
    flex: 1 1 200px;
  }
  
  .footer-section h3 {
    color: #f4c10f;
    margin-bottom: 10px;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section a {
    text-decoration: none;
    color: #ccc;
  }
  
  .footer-section a:hover {
    color: #f4c10f;
  }
  
  .footer-section input,
  .footer-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
  }
  
  .footer-section button {
    width: 100%;
    padding: 10px;
    background-color: #f4c10f;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .footer-bottom {
    text-align: center;
    color: #aaa;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 10px;
    font-size: 14px;
  }
  
  /* Mobile Layout Fix */
  @media (max-width: 768px) {
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      text-align: left;
    }
  
    .quick-links     { grid-column: 1; grid-row: 1; }
    .address         { grid-column: 2; grid-row: 1; }
    .contact-info    { grid-column: 1; grid-row: 2; }
    .follow-us       { grid-column: 2; grid-row: 2; }
    .contact-us      { grid-column: 1 / span 2; grid-row: 3; text-align: center; }
  
    .footer-section form {
      max-width: 90%;
      margin: 0 auto;
    }
  
    .footer-bottom {
      margin-top: 15px;
    }
  }
  
  .gallery-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .gallery-banner img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
  }
/* Video Item Styles */
.video-item {
    background-color: #000;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-item:hover video {
    transform: scale(1.05);
}