/* =============================================
   JDL Importing - White Premium Design
   ============================================= */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f7f7f8;
    --color-bg-dark: #0c0c0f;
    --color-text: #111113;
    --color-text-secondary: #555560;
    --color-text-muted: #8e8e99;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 0, 0, 0.15);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--color-text); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.hidden-field { display: none; }

/* ---------- Layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(100px, 14vw, 160px) 0; position: relative; background: var(--color-bg); }
.section-alt { background: var(--color-bg-alt); }

/* ---------- Typography ---------- */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.5);
}

.section-header { margin-bottom: 64px; }

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--color-text);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { height: 100px; display: flex; align-items: center; }
.nav-logo img { height: 100px; width: auto; transition: var(--transition); }

/* Hero: white logo, Scrolled: black logo */
.nav-logo-white { filter: brightness(0) invert(1); opacity: 1; }
.nav-logo-black { position: absolute; opacity: 0; }
.navbar.scrolled .nav-logo-white { filter: none; opacity: 0; }
.navbar.scrolled .nav-logo-black { position: static; opacity: 1; }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
    font-size: 0.825rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover { color: #ffffff; }
.navbar.scrolled .nav-links a { color: var(--color-text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--color-text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--color-text); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    animation: fadeIn 1s ease 0.2s both;
}

.hero-company {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 600;
    color: white;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; animation: fadeIn 1s ease 1.2s both; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -48px; left: 0; width: 100%; height: 48px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6)); animation: scrollDown 2.5s ease-in-out infinite; }
@keyframes scrollDown { 0% { top: -48px; } 100% { top: 48px; } }

/* ---------- About ---------- */
.about-content {
    max-width: 680px;
}

.about-content .about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* ---------- Image Break ---------- */
.image-break {
    position: relative;
    height: 45vh;
    min-height: 320px;
    overflow: hidden;
}

.image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.15) 100%);
}

/* ---------- Product Categories ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.category-card {
    padding: 40px 32px;
    background: var(--color-bg);
    transition: var(--transition);
}

.section-alt .category-card {
    background: var(--color-bg-alt);
}

.category-card:hover {
    background: var(--color-bg-alt);
}

.section-alt .category-card:hover {
    background: #ededf0;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

/* ---------- Operations ---------- */
.operations-list {
    list-style: none;
    max-width: 600px;
    border-top: 1px solid var(--color-border);
}

.operations-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.01em;
}

/* ---------- Photo Section (Network / Image breaks) ---------- */
.photo-section {
    position: relative;
    overflow: hidden;
    color: white;
    padding: clamp(100px, 14vw, 160px) 0;
}

.photo-section-bg { position: absolute; inset: 0; }
.photo-section-bg img { width: 100%; height: 100%; object-fit: cover; }

.photo-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.65) 100%);
}

.photo-section-content { position: relative; z-index: 3; }

.photo-section .section-header h2 {
    color: white;
}

.photo-section .section-label {
    color: rgba(255, 255, 255, 0.45);
}

/* Network specific */
.network-text {
    max-width: 640px;
}

.network-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-text);
}

.contact-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.contact-form {
    padding: 40px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-text-muted);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-button {
    display: block;
    width: 100%;
    padding: 13px 24px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--color-bg-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.form-button:hover {
    background: #222228;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 70px;
    width: auto;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); transition: var(--transition); }
.footer-links a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-bottom p { font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); }

/* ---------- Scroll Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.categories-grid .fade-up:nth-child(1) { transition-delay: 0ms; }
.categories-grid .fade-up:nth-child(2) { transition-delay: 60ms; }
.categories-grid .fade-up:nth-child(3) { transition-delay: 120ms; }
.categories-grid .fade-up:nth-child(4) { transition-delay: 180ms; }
.categories-grid .fade-up:nth-child(5) { transition-delay: 240ms; }
.categories-grid .fade-up:nth-child(6) { transition-delay: 300ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        transition: right 0.35s ease;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.3rem; color: white !important; }
    .nav-toggle { display: flex; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-content { flex-direction: column; gap: 20px; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
    .category-card { padding: 28px 24px; }
    .contact-form { padding: 28px; }
    .image-break { height: 35vh; min-height: 240px; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
}
