* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 60px;
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Responsive Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.navbar h1 {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-links {
    display: flex;
    gap: 20px;
}

.navbar-links a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-links a:hover {
    color: #ccc;
}

.contact-btn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    font-weight: 700;
}

.contact-btn:hover {
    background: #fff;
    color: #000;
}

/* Responsive Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.video-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

.video-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    padding: 40px 0;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
}

/* Responsive Showcase Styles */
.showcase {
    padding: 40px 15px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Increased from 250px to 350px */
    gap: 30px; /* Increased from 20px to 30px */
    width: 100%;
    max-width: 1400px; /* Increased from 1200px to 1400px */
    margin: 0 auto;
}

.showcase-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16/9;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Added shadow for better visual presence */
}

/* Pagination styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.show-more-btn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 700;
}

.show-more-btn:hover {
    background: #fff;
    color: #000;
}

.hidden-item {
    display: none;
}

.showcase-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-item img, .showcase-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover img, .showcase-item:hover video {
    transform: scale(1.05);
}

/* Toast styles */
.item-toast {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.showcase-item:hover .item-toast {
    transform: translateY(0);
}

/* YouTube embedded videos */
.youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Contact Section */
.contact {
    padding: 0px 15px 60px 15px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 3vw, 1.2rem);
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-bottom: 1px solid #fff;
}

footer {
    padding: 20px;
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #555;
    border-top: 1px solid #222;
}

/* Responsive Detail View Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    flex-direction: column;
    padding: 15px;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay-content {
    max-width: 100%;
    max-height: 70vh;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.overlay.active .overlay-content {
    transform: scale(1);
}

.overlay-content img, .overlay-content video {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.overlay-youtube {
    width: 80vw;
    max-width: 960px;
    height: 45vw;
    max-height: 540px;
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease;
}

.close-overlay:hover {
    transform: rotate(90deg);
}

.overlay-title {
    margin-top: 15px;
    color: white;
    font-size: clamp(1rem, 3vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overlay-description {
    margin-top: 10px;
    color: #ccc;
    max-width: 600px;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 1rem);
    padding: 0 10px;
}

.overlay-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.overlay-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: clamp(1.5rem, 4vw, 2rem);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.overlay-nav-btn:hover {
    opacity: 1;
}

/* Mobile Menu for smaller screens */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* About Section Styles */
.about {
    padding: 120px 15px 60px 15px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.about h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.about-text {
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 20px;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .navbar-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-active .navbar-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px;
    }
    
    .about {
        padding: 80px 15px 40px 15px;
    }
    
    .showcase {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Adjusted for tablets */
        gap: 20px;
        padding: 30px 10px 60px;
    }
    
    .contact {
        padding: 0px 15px 40px 15px;
    }
    
    .overlay-navigation {
        padding: 0 5px;
    }
    
    .video-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .overlay-youtube {
        width: 90vw;
        height: 50.625vw;
    }
}

@media (max-width: 480px) {
    .navbar h1 {
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 6px 12px;
        font-size: 0.6rem;
    }
    
    .showcase {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .showcase-item {
        aspect-ratio: 16/9;
        max-height: none;
    }
            
    .social-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .overlay-content {
        max-height: 60vh;
    }
    
    .overlay-nav-btn {
        font-size: 1.5rem;
    }
    
    .close-overlay {
        top: 5px;
        right: 5px;
        font-size: 1.5rem;
    }
}

/* Base state for showcase items before they appear */
.showcase-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    will-change: opacity, transform;
}

/* Apply staggered delay to items */
.showcase-item:nth-child(1) { transition-delay: 0.1s; }
.showcase-item:nth-child(2) { transition-delay: 0.2s; }
.showcase-item:nth-child(3) { transition-delay: 0.3s; }
.showcase-item:nth-child(4) { transition-delay: 0.4s; }
.showcase-item:nth-child(5) { transition-delay: 0.5s; }
.showcase-item:nth-child(6) { transition-delay: 0.6s; }
/* Add more as needed */

/* Section headers fade in first */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transition-delay: 0.05s;
    will-change: opacity, transform;
}

/* Fade-in active state (applied by JavaScript) */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}