/* Global Styles */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #3b82f6; /* Electric Blue */
    --accent-color: #ffffff;
    --light-bg: #111111;
    --card-bg: #1a1a1a;
    --white: #ffffff;
    --text-color: #e5e7eb;
    --text-muted: #9ca3af;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

body.dark-theme {
    background-color: var(--primary-color);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    font-size: clamp(2rem, 5vw, 3rem);
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--secondary-color), #2563eb);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

#hero .btn {
    opacity: 0; /* Prepared for GSAP animation */
    min-width: 200px;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--secondary-color) !important;
    color: var(--white) !important;
}

.btn-outline:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 30px 0;
}

#main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    padding: 120px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('files/start_optimized.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 30px; /* Reduced from 80px 40px */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    max-width: 900px !important;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    margin-bottom: 25px;
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    font-weight: 400;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
#services {
    padding: clamp(80px, 10vw, 150px) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 60px 40px;
    background-color: var(--card-bg);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card .icon {
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
}

/* Portfolio Section */
#portfolio {
    padding: clamp(80px, 10vw, 150px) 0;
}

.portfolio-category {
    margin-bottom: 100px;
}

.portfolio-category h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 40px;
    border-left: 6px solid var(--secondary-color);
    padding-left: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    filter: grayscale(20%);
}

.photo-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

/* Desktop Asymmetrical Grid */
.photo-grid img:nth-child(3n+1) { grid-column: span 8; height: 500px; }
.photo-grid img:nth-child(3n+2) { grid-column: span 4; height: 500px; }
.photo-grid img:nth-child(3n+3) { grid-column: span 12; height: 600px; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-thumbnail-link {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.video-thumbnail-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-overlay span {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

/* Contact Section */
#contact {
    padding: clamp(80px, 10vw, 150px) 0;
    background-color: var(--primary-color);
}

.contact-centered {
    background: var(--card-bg);
    padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 40px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header h3 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 50px;
}

.social-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-card {
    flex: 1 1 200px;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border-radius: 15px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-card.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card.fb {
    background: #1877f2;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

.direct-contact-centered {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 50px);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item div strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.contact-item div a {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background-color: rgba(30, 30, 30, 0.9);
    outline: none;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations Reveal */
.reveal-up {
    /* GSAP will handle the initial state and animation */
}

/* Lightbox Modal Modernized */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: zoom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoom {
    from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3001;
}

.modal-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-prev, .modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -30px;
    color: white;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev { left: 40px; }
.modal-next { right: 40px; }

.modal-prev:hover, .modal-next:hover {
    background: var(--secondary-color);
}

#modal-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

/* --- Media Queries --- */

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .photo-grid img:nth-child(3n+1) { grid-column: span 12; height: 400px; }
    .photo-grid img:nth-child(3n+2) { grid-column: span 6; height: 350px; }
    .photo-grid img:nth-child(3n+3) { grid-column: span 6; height: 350px; }
}

@media (max-width: 768px) {
    #hero {
        padding: 80px 20px;
    }

    .glass-card {
        padding: 50px 25px;
    }

    #main-header {
        padding: 20px 0;
        background-color: rgba(10, 10, 10, 0.95);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .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(7px, -7px);
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid img {
        grid-column: span 12 !important;
        height: 300px !important;
    }

    .direct-contact-centered {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .modal-prev, .modal-next {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
}

@media (max-width: 480px) {
    #hero {
        padding: 60px 10px;
    }

    .container {
        padding: 0 20px;
    }

    .glass-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        gap: 10px;
        width: 100%;
    }

    .hero-btns .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        min-width: 100% !important;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 40px 20px;
    }

    .contact-centered {
        padding: 40px 20px;
    }
}

