/* Global Styles */
:root {
    --primary: #4169E1;
    /* Royal Blue */
    --primary-dark: #2b4ba8;
    --secondary: #0A192F;
    /* Dark Navy */
    --light: #F4F7F6;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fejlec {
    height: 150px;
    width: auto;
    justify-content: right;
    display: flex;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo .accent {
    color: var(--primary);
}

.logo2 {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 2rem;
}

.nav-link {
    margin: 0 1.5rem;
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 200vh;
    /* Increased height for scroll track */
    position: relative;
    /* Background handled by inner layers */
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    /* Clean cut at bottom of viewport */
}

/* Reveal Layer (AC) - Stays fixed or absolute behind doors */
.hero-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-reveal .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken AC image slightly for text readability */
    z-index: 2;
}

/* Door Layer */
.hero-doors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    /* Allow clicks to pass through if needed, though usually we want to scroll */
}

.hero-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
    transition: transform 0.1s linear;
    /* Smooth linear movement */
}

.hero-door-left {
    left: 0;
    border-right: 2px solid var(--white);
    /* Optional separator line */
}

.hero-door-right {
    right: 0;
    border-left: 2px solid var(--white);
    /* Optional separator line */
}

.hero-door .hero-bg-img {
    width: 200%;
    /* Since container is 50%, 200% width fills the screen width effectively for the image */
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.hero-door-left .hero-bg-img {
    left: 0;
}

.hero-door-right .hero-bg-img {
    right: 0;
    /* Keep the right part of the image visible? Or use separate images. Here we use separate images. */
    width: 200%;
    /* Actually if they are separate images, normal cover is fine, but let's just do 100% of container or coverage? */
    width: 100%;
    /* separate images, just cover the door area */
    left: 0;
}

/* Fix for right door image to look good: it's a separate image, so just object-fit: cover is fine */
.hero-door .hero-bg-img {
    width: 100%;
}

.door-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 10;
    /* Above everything */
    max-width: 800px;
    margin-top: 20vh;
    /* Push content down a bit */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /* Blend mode or text shadow to ensure visibility on all backgrounds */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Services */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    /* In case images have backgrounds, ensure they fit well */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*    background-color: rgba(65, 105, 225, 0.1); */
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.text-link:hover {
    gap: 10px;
}

/* About Section */
/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}



.about-text {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-stack-container {
    width: 400px;
    /* Fixed Square Width */
    height: 400px;
    /* Fixed Square Height */
    position: relative;
    perspective: 1000px;
    /* For 3D depth */
    margin: 0 auto;
    /* Center in grid column */
}

.about-stack-list {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-stack-list li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Full square height */
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* Stack Content Vertically */
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    font-weight: 500;
    color: var(--secondary);
    border: none;
    /* Remove side border */
    border-top: 5px solid var(--primary);
    /* Accent on top */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
    box-sizing: border-box;
}

.about-stack-list li:hover {
    cursor: grab;
}



.card-text {
    font-size: 1.2rem;
    line-height: 1.6;
}





.card-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Swipe Animation Class */
.swipe-out {
    transform: translateX(100px) rotate(10deg) !important;
    opacity: 0 !important;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    background-color: var(--primary);
    padding: 60px 40px;
    color: var(--white);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item i {
    font-size: 1.5rem;
    color: #fff;
    /* Ensure icons are white on the primary background */
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-form {
    padding: 60px 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    /* Ensure white background for select */
    color: var(--text-dark);
    /* Ensure readable text */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: #a8b2d1;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #050e1c;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .nav-link {
        margin: 15px 0;
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
        /* Above mobile menu */
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-list {
        display: inline-block;
        text-align: left;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    /* Changed to flex for proper centering, visibility controlled by classes */
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    /* Prevent clicks when hidden */
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 5px;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    padding: 30px;
    color: var(--text-dark);
    line-height: 1.6;
}


/* Slideshow Styles */
.previous-works {
    background-color: var(--light);
}

.slideshow-container {
    max-width: 1000px;
    /* Increased width for split layout */
    position: relative;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.mySlides {
    display: none;
    padding: 0;
    /* Remove padding if any, handled by inner */
}

/* Updated Layout for Images Only */
.work-slide {
    display: flex;
    /* Changed from grid to flex for single item centering */
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Removed/Hidden Content Styles */
/*
.work-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.work-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.work-features {
    list-style: none;
}

.work-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary);
}
*/

.work-image {
    width: 100%;
    height: 100%;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the area */
    border-radius: 0;
    min-height: 400px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    /*
    .work-slide {
        grid-template-columns: 1fr;
    }
    */

    .work-image img {
        height: 300px;
        /* Smaller height on mobile */
        min-height: auto;
    }

    /*
    .work-content {
        padding: 30px;
    }
    */
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot,
.dot:hover {
    background-color: var(--primary);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media (max-width: 768px) {
    .mySlides img {
        height: 300px;
    }
}

/* Brand Slider Section */
.brands-section {
    background-color: var(--light);
    padding: 60px 0;
    overflow: hidden;
    /* Prevent horizontal scrollbar */
}

.brand-title {
    margin-bottom: 40px;
    color: var(--secondary);
}

.brand-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Fade mask on sides for elegance */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-track {
    display: flex;
    width: max-content;
    /* Fit content to allow scrolling */
    animation: scroll 30s linear infinite;
    gap: 80px;
    /* Space between logos */
    padding: 20px 0;
    /* Space for hover effect */
}

.brand-track:hover {
    animation-play-state: running;
    /* Ensure animation continues on hover */
}


.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Fully visible */
    transition: var(--transition);
    cursor: default;
    min-width: 150px;
    height: 80px;
    /* Fixed height container */
    padding: 0 15px;
}

/* Optional: Make logos grayscale by default and color on hover */
.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    /* No grayscale */
    transition: var(--transition);
}

/* Deprecated hover effects removed */


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the track width (assuming duplicated content) */
    }
}

/* Hero Door Text */
.hero-door-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    font-weight: 800;
    color: var(--secondary);
    /* Dark Navy */
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.8);
    /* Glow for visibility */
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.text-left-door {
    right: 0;
    padding-right: 15px;
    /* Slight gap from the split */
    text-align: right;
}

.text-right-door {
    left: 0;
    padding-left: 15px;
    text-align: left;
}

.hero-door-text .accent {
    color: var(--primary);
    /* Royal Blue */
}

/* Hide text when doors open/scroll */
body.scrolled .hero-door-text {
    opacity: 0;
}

/* Responsiveness for text */
@media (max-width: 991px) {
    .hero-door-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero-door-text {
        font-size: 2.5rem;
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Google Maps Container */
.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
}

/* Mobile Optimization Updates */

/* 1. Hero Text Sizing on Mobile */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        /* Reduce from 2.2rem or 3.5rem to fit better */
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-content {
        margin-top: 15vh;
        /* Adjust top spacing */
    }

    /* Ensure buttons stack */
    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
}

/* 2. 3D Card Stack Resize for Mobile */
@media (max-width: 768px) {
    .about-stack-container {
        width: 100%;
        max-width: 350px;
        /* Scale down from 400px */
        height: 350px;
    }
}

@media (max-width: 400px) {
    .about-stack-container {
        max-width: 300px;
        height: 300px;
    }

    .about-stack-list li {
        padding: 20px;
        /* Reduce padding inside cards */
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-text {
        font-size: 1rem;
    }
}

/* 3. Contact Section Stacking */
@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        /* Stack form below info */
    }

    .contact-info,
    .contact-form,
    .map-container {
        width: 100%;
    }

    .map-container {
        margin-top: 20px;
    }
}

/* 4. Footer Stacking */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        /* Single column */
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }
}

/* 5. Navigation Fixes */
@media (max-width: 991px) {
    .nav-list {
        background-color: var(--white);
        /* Ensure background is solid */
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
    }
}

/* Mobile Hero Styles */
.hero-mobile {
    display: none;
    /* Hidden by default on desktop */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    /* One higher than doors to cover if needed, but display switching handles it */
}

.hero-mobile .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mobile-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    /* Large but fits mobile */
    font-weight: 800;
    color: var(--secondary);
    /* Dark Navy */
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    text-align: center;
}

.hero-mobile-text .accent {
    color: var(--primary);
    /* Royal Blue */
}

/* Show Mobile Hero and Hide Doors on Mobile */
@media (max-width: 768px) {
    .hero-doors {
        display: none !important;
    }

    .hero-mobile {
        display: block !important;
    }

    /* Ensure content text is pushed down or overlayed properly if needed */
    /* The main content (.hero-content) is z-index 10, so it sits on top. */
    /* We might want to adjust .hero-content style for mobile to not clash with the big logo text if they overlap. */
    /* Assuming standard hero content (title/buttons) is still desired? Or just the Logo? */
    /* Usually users want the main CTA content too. */
    /* If the user just wants the "picture" without sliding, the existing content (Text + Buttons) is still there. */
    /* The "Kaiser Klíma" logo text might compete with the H1 "Szakértő...". */
    /* Let's keep it but maybe position it higher or lower? */
    /* Actually, the request "change the two pictures... to one picture without sliding" implies replacing the background mechanism. */
    /* The additional "Kaiser Klíma" text from previous step was ON the doors. So in mobile hero, we replicate that. */
}

@media (max-width: 480px) {
    .hero-mobile-text {
        font-size: 2.5rem;
    }
}

/* Mobile Navigation Dropdown Override */
@media (max-width: 991px) {

    /* Reset existing nav styles from "slide-in" to "dropdown" */
    .nav {
        position: absolute;
        /* Relative to header? Header is fixed. */
        top: 100%;
        /* Below header */
        left: 0;
        right: 0;
        /* Full width */
        width: 100%;
        height: auto;
        /* Allow content height */
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 999;

        /* Hidden State */
        max-height: 0;
        opacity: 0;
        overflow: hidden;

        /* Removing previous transform/right positioning */
        transform: none !important;
        right: auto !important;
        border-top: 1px solid #eee;
    }

    .nav.active {
        /* Active Dropdown State */
        max-height: 400px;
        /* Sufficient for links */
        opacity: 1;
        right: auto !important;
        /* Ensure it stays */
    }

    .nav-list {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
        padding: 20px 0;
        /* Vertical padding */
        background: transparent;
        /* Parent handles background */
        box-shadow: none;
        /* Parent handles shadow if needed, or stick to flat */
    }

    .nav-link {
        margin: 10px 0;
        /* Vertical spacing */
        display: block;
        padding: 5px 0;
    }

    .nav-cta {
        margin: 0 auto 20px;
        /* Center button */
        display: table;
        /* Or inline-block with center text */
    }
}

/* Reveal-on-Scroll Header Styles */
.header {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.header.scrolled {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Add shadow only when scrolled */
}

/* Ensure mobile nav toggle is still accessible if header is hidden? 
   No, if header is hidden, user can't click menu. 
   BUT: User said "hidden until you slide down".
   This implies at the very top (Hero), there is NO header.
   This is a common pattern for immersive hero sections.
*/


/* Standardize Section Sizes */
/* Ensure all main sections have the same padding as Services */
.services,
.about,
.previous-works,
.contact {
    padding: 80px 0 !important;
    /* Force override if specific ones differ */
    /* .section class already has this, but explicitly listing them ensures consistency if IDs are used */
}

/* Brands section might need less/different */
.brands-section {
    padding: 60px 0;
}