/* Main Styles for V_A17_Final_0_Theme */

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: var(--margin-section) 0;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(255, 255, 94, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 94, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-white);
}

/* Header */
#main-header {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), top 0.6s ease;
}

#main-header.scrolled {
    top: 20px;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Discreet white contour */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
}

.desktop-nav ul {
    display: flex;
    gap: 40px;
}

.desktop-nav ul li a {
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    border: 3px solid rgba(255, 255, 255, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.desktop-nav ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions .btn-dark {
    background: var(--accent-color);
    color: var(--text-dark);
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.header-actions .btn-dark:hover {
    background: transparent;
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    text-align: center;
}

.logo-text {
    font-size: 4rem;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--accent-color);
    animation: loading 1.5s infinite ease-in-out;
}

@keyframes loading {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

/* Agency Presentation Section */
.about-agency {
    padding: var(--margin-section) 0;
    background: #fff;
    color: #000;
    text-align: center;
}

.about-agency .container {
    max-width: 1100px;
}

.agency-logo-icon {
    width: 60px;
    height: auto;
    margin: 0 auto 24px;
}

.agency-main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.agency-content {
    max-width: 850px;
    margin: 0 auto 80px;
}

.agency-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.service-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: #000;
}

.service-col h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-pillar-desc {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
    line-height: 1.4;
    min-height: 2.8em;
}

.service-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-col ul li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 500;
    opacity: 0.7;
    position: relative;
}

@media (max-width: 768px) {
    .agency-main-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}



/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000;
    position: relative;
}

.hero-glow-overlay {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.hero-centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-text-wrapper.centered {
    max-width: 900px;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding-top: 10vh;
    /* Moved significantly higher up */
    width: 100%;
}

.hero-brand-logo {
    width: clamp(300px, 45vw, 750px);
    /* Adjusted size to match screenshot proportions */
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 255, 94, 0.4));
}

.hero-text-content-reveal {
    opacity: 0;
    transform: translateY(50px);
    padding-bottom: 20vh;
    /* Add some space at the bottom */
}

.hero-title {
    font-size: var(--h1-size);
    margin-bottom: 32px;
    line-height: 1;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-text-wrapper .sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-white);
    opacity: 0.5;
    letter-spacing: 0.15em;
    margin-bottom: 48px;
    text-transform: uppercase;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-trust-bar {
    width: 100%;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-trust-bar span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-sim {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* Centered Titles */
.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    color: var(--accent-color);
    background: rgba(255, 255, 94, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.section-title {
    font-size: var(--h2-size);
    margin-bottom: 48px;
    line-height: 1;
}

.section-sub-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 64px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 48px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(255, 255, 94, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border-color: rgba(255, 255, 94, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-top: 32px;
}

.stat {
    position: absolute;
    bottom: 32px;
    right: 48px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.process-card {
    padding: 48px;
    position: relative;
    border-radius: var(--radius);
}

.p-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 24px;
    opacity: 0.6;
}

.p-icon {
    font-size: 2.5rem;
    margin-top: 32px;
}

.process-card.highlighted {
    background: radial-gradient(circle at top right, rgba(255, 255, 94, 0.15), transparent);
    border-color: var(--accent-color);
}

/* Pricing refinements */
.features-list {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.pricing-section {
    background: radial-gradient(circle at bottom, rgba(255, 255, 94, 0.05) 0%, #000 100%);
}

/* SECTION VIDEO refinement */
.cinema-section {
    background: #050505;
    position: relative;
    z-index: 20;
    box-shadow: 0 -50px 100px rgba(0, 0, 0, 0.8);
}

.cinema-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
    pointer-events: none;
}

.neon-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    width: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--text-white);
}

.project-counter {
    background: var(--glass-bg);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

.filter-bar {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 60px;
    width: fit-content;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--text-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.video-card {
    display: block;
    opacity: 1;
    /* Default to visible */
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 107, 0, 0);
    border-radius: var(--radius);
    transition: var(--transition);
    pointer-events: none;
}

.video-card:hover::after {
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: inset 0 0 20px rgba(255, 107, 0, 0.1);
}

.hero-card-video {
    grid-column: span 2;
    aspect-ratio: auto;
    height: calc(100% + 25%);
    /* Hero cards are 25% higher */
}

/* Texture Grain */
.cinema-section::after {
    content: "";
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_filmgrain.png');
    pointer-events: none;
    opacity: 0.04;
    z-index: 10;
    animation: noise 0.2s infinite;
}

@keyframes noise {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -5%);
    }

    20% {
        transform: translate(-10%, 5%);
    }

    30% {
        transform: translate(5%, -10%);
    }

    40% {
        transform: translate(-5%, 15%);
    }

    50% {
        transform: translate(-10%, 5%);
    }

    60% {
        transform: translate(15%, 0);
    }

    70% {
        transform: translate(0, 10%);
    }

    80% {
        transform: translate(-15%, 0);
    }

    90% {
        transform: translate(10%, 5%);
    }

    100% {
        transform: translate(5%, 0);
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .card-inner img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(255, 255, 94, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.badge {
    align-self: flex-start;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.6;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.video-card:hover .overlay-content h3,
.video-card:hover .overlay-content p {
    transform: translateY(0);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 94, 0.1);
    backdrop-filter: blur(5px);
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--accent-color);
    margin-left: 5px;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* WEB PORTFOLIO */
.web-portfolio {
    background: #080808;
    padding: 0;
}

.web-pin-container {
    padding: var(--margin-section) 0;
}

.horizontal-scroll-wrapper {
    margin-top: 80px;
    overflow: hidden;
    width: 100%;
}

.horizontal-inner {
    display: flex;
    gap: 60px;
    width: fit-content;
    padding: 0 40px;
}

.web-project {
    width: 90vw;
    max-width: 1200px;
    height: 80vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.device-mockup img {
    border-radius: 15px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* CONTACT */
#contact {
    background: radial-gradient(circle at 100% 100%, #1a1a1a 0%, #000 100%);
}

.contact-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 80px;
    gap: 80px;
}

.contact-logo {
    flex: 0 0 200px;
}

.contact-logo img {
    width: 100%;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-info .title {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.detail-item:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    z-index: 2001;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.video-container {
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* FOOTER */
#main-footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-copy {
    opacity: 0.4;
    font-size: 0.8rem;
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
    transform: translateY(0);
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav ul li {
    margin: 20px 0;
    overflow: hidden;
}

.mobile-nav ul li a {
    color: var(--text-dark);
    font-size: 4rem;
    font-weight: 800;
    display: block;
    position: relative;
}

/* Pricing Grid Utility (Inspired by reference) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

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

.price-card.featured {
    border-color: var(--accent-color);
    background: rgba(255, 255, 94, 0.03);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 94, 0.1);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--accent-color);
}


/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card-video {
        grid-column: span 2;
        height: auto;
    }

    .web-project {
        width: 100%;
    }

    .horizontal-inner {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    #main-header {
        top: 15px;
    }

    .header-container {
        max-width: 92%;
        padding: 10px 20px;
        margin: 0 auto;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-logo-wrapper {
        padding-top: 10vh;
        /* Higher position to match desktop shift */
    }

    .hero-brand-logo {
        width: 80vw;
    }

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

    .hero-card-video {
        grid-column: span 1;
    }

    .contact-card {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .detail-item {
        justify-content: center;
    }

    .header-actions .btn-dark {
        display: none;
    }
}