/* 
   ADEPROD - Premium Cinematic Style 
   Theme: Black (#000), White (#FFF), Gold (#CDAA48)
*/

:root {
    --color-bg: #000000;
    --color-bg-alt: #0a0a0a;
    --color-text: #FFFFFF;
    --color-text-muted: #a0a0a0;
    --color-accent: #CDAA48;
    --color-accent-hover: #b3933b;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FIX 1: Prevent Overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 1rem auto 0;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: #000;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 1rem;
}

/* Navigation */
/* FIX 2: Navbar Width */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 20px;
    /* Adjusted padding */
    box-sizing: border-box;
    /* Ensure padding doesn't add to width */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 160px;
    /* Increased height for the massive logo */
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo Style - MASSIVE SIZE */
.nav-logo {
    height: 150px;
    /* 4x original size (approx) */
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.4s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

/* FIX 3: Mobile Menu Text */
.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    /* Reduced from 2rem */
    text-transform: uppercase;
    margin: 0.5rem 0;
    /* Added spacing */
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

/* Slogan Style */
.hero-tagline {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    /* Slightly bigger */
    font-weight: 700;
    letter-spacing: 6px;
    /* More cinematic spacing */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
    /* Offset for the larger navbar */
}

/* Layer 1: Poster Image */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Layer 2: Video (Fades in) */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Above poster */
    opacity: 0;
    /* Hidden initially */
    transition: opacity 2s ease-in-out;
    /* Smooth 2s fade */
}

.hero-video.loaded {
    opacity: 1;
    /* Visible when ready */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 0;
    /* Above video */
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    /* Bigger title */
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-alt);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-list li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.service-list li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.service-desc,
.service-note {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.service-note {
    margin-top: 1rem;
    font-style: italic;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-bg {
    width: 100%;
    height: 100%;
    background-color: #222;
    /* Fallback if image missing */
    border: 1px solid #333;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-bg {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient always visible to make text readable */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    align-items: center;
    opacity: 1;
    /* ALWAYS VISIBLE */
    padding-bottom: 2rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.7);
    /* Darker on hover */
    justify-content: center;
    /* Center on hover */
    padding-bottom: 0;
}

.portfolio-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-cta {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0;
    /* Button hidden by default */
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-cta {
    opacity: 1;
    /* Button visible on hover */
    transform: translateY(0);
    margin-top: 1rem;
}

/* About Section */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.about-image img:hover {
    filter: grayscale(0%);
}

.section-title-left {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-title-left::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin-top: 1rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    text-align: justify;
}

.about-vision h3 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.step {
    background-color: var(--color-bg);
    padding: 0 1rem;
    text-align: center;
}

.step-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.step-name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-bg-alt);
    padding: 2rem;
    border-left: 3px solid var(--color-accent);
}

.stars {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.client-name {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Clients */
.clients-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.5;
}

.client-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item h4 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    /* Center children horizontally */
}

.whatsapp-box {
    background-color: var(--color-bg-alt);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.whatsapp-box i {
    font-size: 2rem;
    color: #25D366;
    margin-right: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    /* Center icons */
}

.social-links a {
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.social-links a:hover {
    color: var(--color-accent);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Project Page Specifics */
.project-hero {
    height: 70vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 160px;
    /* Adjusted for new navbar height */
    /* Navbar height */
}

.project-video-container {
    width: 100%;
    height: 100%;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding-top: 4rem;
}

.project-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-subtitle {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 3rem;
}

.project-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    margin-bottom: 4rem;
}

.detail-item h3 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.detail-item p {
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.project-testimonial {
    text-align: center;
    background-color: var(--color-bg-alt);
}

.project-cta {
    text-align: center;
    background-color: var(--color-bg-alt);
}

.project-cta h2 {
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Navbar Fixes */
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        height: 70px;
        /* Even smaller */
    }

    .nav-logo {
        height: 50px;
        /* Smaller logo */
    }

    .nav-links,
    .nav-actions {
        display: none;
        /* Hide desktop menu & actions */
    }

    .mobile-menu-btn {
        display: block;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        /* Reset position as it's now in flow, or keep absolute if needed */
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Hero Fixes */
    .hero {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 1.8rem;
        /* Much smaller for mobile */
        padding: 0 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 3rem;
        /* More padding to squeeze buttons */
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }

    /* General Typography */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-title-left {
        font-size: 1.8rem;
        text-align: center;
    }

    .section-title-left::after {
        margin: 1rem auto 0;
    }

    /* Layout Fixes */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .process-steps {
        justify-content: center;
    }

    .step {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
        font-size: 0.95rem;
    }

    .about-vision {
        text-align: center;
    }
}