/* ========================================
   JUNG Azerbaijan — Static Site Styles
   ======================================== */

   :root {
    --black: #0a0a0a;
    --white: #fff;
    --off-white: #f5f4f0;
    --grey-100: #e8e7e3;
    --grey-200: #d0cfc9;
    --grey-400: #8a8880;
    --grey-600: #5a5850;
    --grey-800: #2a2925;
    --accent: #c8a96e;
    --accent-hover: #b8944e;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --header-h: 70px;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    color: var(--grey-800);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-h);
    transition: background 0.4s, box-shadow 0.4s;
}
.header.scrolled {
    box-shadow: 0 1px 40px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav a {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    position: relative;
    padding: 4px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-expo);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

/* Burger */
.burger { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; z-index: 1001; }
.burger span {
    position: absolute; width: 100%; height: 1.5px;
    background: var(--white); transition: 0.4s var(--ease-expo);
    border-radius: 1px;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { bottom: 0; }
.burger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

body.no-scroll { overflow: hidden; }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    background: var(--black);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 1;
}
.hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,0.75) 0%,
        rgba(10,10,10,0.4) 50%,
        rgba(10,10,10,0.6) 100%
    );
}
.hero-content {
    position: relative; z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
}
.hero-text {
    max-width: 680px;
}
.hero-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-expo) 0.3s forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-expo) 0.5s forwards;
}
.hero-sub {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-expo) 0.7s forwards;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 16px 36px;
    transition: all 0.4s var(--ease-expo);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-expo) 0.9s forwards;
}
.hero-btn:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.hero-scroll-indicator span {
    display: block;
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}



/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}
.section-dark {
    background: var(--black);
    color: var(--white);
}
.section-contact {
    background: var(--off-white);
}

.section-header {
    margin-bottom: 50px;
}
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
}

/* Range intro */
.range-intro { margin-bottom: 60px; }
.range-name {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 12px;
}
.range-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--grey-400);
    max-width: 700px;
    line-height: 1.8;
}

/* Subsection */
.subsection { margin-bottom: 32px; }
.subsection-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.subsection-line {
    width: 40px; height: 1px;
    background: var(--accent);
    display: block;
}
.subsection-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.subsection-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--grey-400);
    line-height: 1.8;
    max-width: 700px;
}

/* Category labels */
.cat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-400);
    border-bottom: 1px solid var(--grey-100);
    padding-bottom: 12px;
    margin-bottom: 30px;
    margin-top: 60px;
}

/* ===== PRODUCT GRID ===== */
.product-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}
.product-card { cursor: pointer; }
.product-img-wrap {
    background: var(--off-white);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s var(--ease-expo);
}
.product-card:hover .product-img-wrap {
    transform: translateY(-4px);
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-expo);
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}
.product-name {
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--grey-600);
}

/* ===== CORBUSIER GRID ===== */
.corbusier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.corb-card {
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-expo);
    cursor: pointer;
}
.corb-card:hover { transform: translateY(-4px); }
.corb-card img {
    width: 100%; height: auto;
    transition: transform 0.6s var(--ease-expo);
}
.corb-card:hover img { transform: scale(1.05); }

/* ===== RANGE SHOWCASE (LS ZERO, CUBE, 1912) ===== */
.range-showcase {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--grey-100);
}
.range-showcase.reverse {
    grid-template-columns: 1.4fr 1fr;
}
.range-showcase.reverse .range-showcase-text { order: 2; }
.range-showcase.reverse .range-showcase-images { order: 1; }

.range-showcase-text .subsection-line { margin-bottom: 16px; }
.range-showcase-text .subsection-title { margin-bottom: 16px; }
.range-showcase-text p {
    font-size: 15px;
    font-weight: 300;
    color: var(--grey-400);
    line-height: 1.8;
}

.range-showcase-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.range-showcase-images.three {
    grid-template-columns: 1fr 1fr 1fr;
}
.range-showcase-images img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s var(--ease-expo);
}
.range-showcase-images img:hover {
    transform: scale(1.02);
}

/* ===== TECH SECTION ===== */
.tech-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}
.tech-main-title {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--white);
}
.tech-hero-text p {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}
.tech-hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.tech-hero-images img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Systems Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.system-card { cursor: pointer; }
.system-img-wrap {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.system-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-expo);
}
.system-card:hover .system-img-wrap img { transform: scale(1.06); }
.system-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-top: 14px;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card { cursor: pointer; }
.project-img-wrap {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
}
.project-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-expo);
}
.project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-info { padding-top: 16px; }
.project-location {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-400);
}
.project-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-grid.single {
    grid-template-columns: 1fr;
    max-width: 560px;
}
.contact-intro {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 12px;
}
.contact-note {
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-400);
    line-height: 1.7;
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.contact-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey-400);
    display: block;
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 15px;
    color: var(--grey-800);
}
.contact-item a { transition: color 0.3s; }
.contact-item a:hover { color: var(--accent); }

.social-row {
    display: flex;
    gap: 24px;
}
.social-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--grey-400);
    position: relative;
    padding-bottom: 4px;
}
.social-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-expo);
}
.social-link:hover { color: var(--grey-800); }
.social-link:hover::after { width: 100%; }



/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.footer-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-top: 2px;
}
.footer-right p {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .range-showcase,
    .range-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .range-showcase.reverse .range-showcase-text { order: 1; }
    .range-showcase.reverse .range-showcase-images { order: 2; }
    .tech-hero { grid-template-columns: 1fr; gap: 30px; }
    .systems-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }

    .nav {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    .nav.active {
        opacity: 1;
        pointer-events: all;
    }
    .nav a {
        font-size: 24px;
        letter-spacing: 4px;
        color: rgba(255,255,255,0.6);
        padding: 18px 0;
    }
    .nav a:hover { color: var(--white); }
    .burger { display: block; }

    .hero {
        min-height: 500px;
        max-height: 700px;
    }
    .hero-content { padding-bottom: 70px; }

    .section { padding: 70px 0; }

    .product-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .corbusier-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .range-showcase-images.three { grid-template-columns: 1fr 1fr 1fr; }

    .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
    .product-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .corbusier-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .range-showcase-images { grid-template-columns: 1fr; }
    .range-showcase-images.three { grid-template-columns: 1fr; }
    .systems-grid { grid-template-columns: 1fr; }
    .social-row { flex-direction: column; gap: 14px; }
}