/* ===== GLOBAL STYLES – matching carousel aesthetic ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: white;
    line-height: 1.6;
    font-weight: 400;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* FULL-PAGE SECTIONS */
.page-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Contact section vertically centered */
#contact {
    justify-content: center;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    text-align: center;
}

/* HERO SECTION */
#home {
    background-image: url('hero-bg.jpg');
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1300px;
    margin: 14vh auto 0;
    padding: 0 2rem;
}

.logo-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

/* About banner – glass effect */
.about-banner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5%;
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    max-height: 40vh;
    overflow-y: auto;
    border-radius: 0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    padding: 0 1rem;
}

.about-content p {
    margin-bottom: 1.2rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* NAVIGATION – desktop */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 80%, transparent 100%);
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
    cursor: pointer;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-links a:hover {
    opacity: 1;
}

/* SECTION HEADERS */
h2 {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: relative;
    display: block;
    width: 100%;
    padding: 1.5rem 0;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.4), rgba(0,0,0,0.6), rgba(0,0,0,0.4), transparent);
}

#contact h2 {
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 0;
}

/* Contact subtext – glass panel */
.contact-subtext {
    font-size: 1.3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    padding: 1.5rem 3rem;
    border-radius: 0;
    border-left: none;
    text-align: center;
    line-height: 1.8;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

/* GALLERY LAYOUT – two carousels side by side */
.carousel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.carousel-col {
    width: 100%;
    min-width: 0; /* prevent overflow */
}

/* Client list – single column, opaque text */
.clients-section {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    margin-top: 2rem;
}

.clients-section h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    color: #fff; /* opaque */
}

.client-block {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-align: center;
    margin: 0;
    padding: 0;
}

/* CONTACT BUTTONS */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 2rem;
    min-width: 160px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.contact-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.contact-btn i {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* SOCIAL LINKS */
.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    margin: 0 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    opacity: 0.7;
    transition: all 0.2s ease;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.social-link:hover {
    opacity: 1;
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.9);
}

/* FOOTER */
.footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    opacity: 0.5;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* BACKGROUND IMAGES */
#gallery {
    background-image: url('gallery-bg.jpg');
}
#contact {
    background-image: url('contact-bg.jpg');
}

/* MOBILE STYLES */
@media (max-width: 900px) {
    .carousel-row {
        grid-template-columns: 1fr;  /* stack on tablet/mobile */
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-section {
        padding: 0 1.5rem;
    }

    /* Navigation – keep logo left, links right, no wrap */
    .nav-menu {
        padding: 1rem 1.5rem;
        flex-wrap: nowrap;           /* prevent wrapping */
        gap: 0.5rem;
    }
    .nav-logo {
        height: 35px;
        flex-shrink: 0;               /* don't shrink logo */
    }
    .nav-links {
        gap: 1.5rem;
        flex-shrink: 0;               /* don't shrink links container */
        flex-wrap: wrap;               /* allow links to wrap if needed, but keep on same line */
        justify-content: flex-end;     /* keep them right-aligned */
    }
    .nav-links a {
        font-size: 0.9rem;
        white-space: nowrap;           /* prevent link text from wrapping */
    }

    /* Hero logo scaling */
    .hero-content {
        margin-top: 12vh;
    }
    .hero-logo {
        max-width: 280px;              /* smaller on mobile */
    }
    .hero-tagline {
        font-size: 1.2rem;
    }

    /* About banner */
    .about-banner {
        bottom: 3%;
        padding: 1.5rem 1rem;
        max-height: 45vh;
    }
    .about-content {
        font-size: 1rem;
    }

    h2 {
        font-size: 2.2rem;
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }

    #contact h2 {
        font-size: 2rem;
    }

    /* Carousel row already stacks from above */

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 280px;
    }

    .social-link {
        margin: 0 1rem;
        font-size: 1.8rem;
    }

    body {
        background-attachment: scroll;
    }
    #home {
        background-attachment: scroll; /* better performance on mobile */
    }
}