/* ========== RESET ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #24262B;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1466px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo .logo-dark { display: none; }
.header-logo .logo-white { display: block; }
.header.scrolled .logo-dark { display: block; }
.header.scrolled .logo-white { display: none; }

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    position: relative;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #fff;
}

.header-nav a.active {
    color: #fff;
}

.header.scrolled .header-nav a {
    color: #24262B;
}

.header.scrolled .header-nav a:hover {
    color: #878787;
}

.header.scrolled .header-nav a.active {
    color: #878787;
}

.btn-reach-out {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-reach-out:hover {
    background: rgba(255,255,255,0.25);
}

.header.scrolled .btn-reach-out {
    background: #24262B;
    color: #fff !important;
    border-color: #24262B;
}

.header.scrolled .btn-reach-out:hover {
    background: #878787;
    border-color: #878787;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.header.scrolled .hamburger span {
    background: #24262B;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-overlay a {
    font-size: 24px;
    font-weight: 600;
    color: #24262B;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* ========== CONTACT CTA SECTION ========== */
.section-contact {
    background: #111013;
    color: #fff;
    padding: 10vh 0;
}

.contact-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.contact-top .subtitle {
    font-size: 0.9em;
    font-weight: 500;
    color: #82838c;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-top h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

.btn-contact {
    background: #878787;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #6e6e6e;
}

.btn-contact svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.contact-divider {
    border: none;
    border-top: 1px solid rgba(99, 93, 111, 0.65);
    margin-bottom: 32px;
}

.contact-desc {
    max-width: 50%;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.contact-desc strong {
    color: #fff;
}

/* ========== BRANDS LOGOS ========== */
.section-brands {
    background: #fff;
    padding: 10vh 0;
}

.section-brands h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 5vh;
}

.section-brands h2 .light {
    font-weight: 300;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.brands-grid a {
    display: block;
    max-width: 130px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.brands-grid a:hover {
    opacity: 1;
}

/* ========== PORTFOLIO CARDS ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.portfolio-card {
    text-align: center;
}

.portfolio-card .image-holder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(17, 16, 19, 0.06);
    position: relative;
    margin-bottom: 20px;
}

.portfolio-card .image-holder img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}

.portfolio-card:hover .image-holder img {
    transform: scale(1.03);
}

.portfolio-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    border: none;
}

.portfolio-card:hover .play-btn {
    opacity: 1;
}

.portfolio-card .play-btn svg {
    width: 16px;
    height: 16px;
    fill: #24262B;
    margin-left: 3px;
}

.portfolio-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.portfolio-card .categories {
    color: #94949e;
    font-size: 13px;
}

.portfolio-card .categories span:not(:last-child)::after {
    content: " / ";
}

/* ========== FOOTER ========== */
.footer {
    background: #fff;
    color: #24262B;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(36,38,43,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #24262B;
    font-size: 16px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #878787;
    border-color: #878787;
    color: #fff;
}

.footer h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #24262B;
}

.footer p, .footer address {
    color: #94949e;
    font-size: 14px;
    line-height: 1.7;
    font-style: normal;
}

.footer p strong, .footer address strong {
    color: #24262B;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: #94949e;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #24262B;
}

.footer-bottom {
    border-top: 1px solid rgba(36,38,43,0.1);
    padding: 20px 0;
}

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

.footer-bottom p, .footer-bottom a {
    color: #94949e;
    font-size: 13px;
}

.footer-bottom a:hover {
    color: #24262B;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== VIDEO MODAL ========== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    cursor: pointer;
}

.video-modal.active {
    display: flex;
}

.video-modal-inner {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    cursor: default;
}

.video-modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .contact-desc {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
