/* assets/css/style.css */

:root {
    --accent: #FFCC00;
    --accent-glow: rgba(255, 204, 0, 0.5);
    --bg: #0A0A0A;
    --card-bg: #141414;
    --card-hover: #1A1A1A;
    --text: #FFFFFF;
    --subtext: #888888;
    --glass: rgba(255, 255, 255, 0.03);
    --section-gap: 140px;
}

/* Podstawowe ustawienia */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg); 
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typografia - Grube napisy */
h1, h2, h3, h4, .brand { 
    font-family: 'Syncopate', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase;
}

.glow-text {
    color: var(--text);
    text-shadow: 0 0 20px var(--accent-glow);
    letter-spacing: -2px;
}

.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 30px; 
}

/* Nawigacja Szklana */
.glass-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    padding: 18px 40px;
    border-radius: 100px;
    z-index: 9999;
    border: 1px solid var(--glass);
    display: flex;
    justify-content: center;
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

.brand { 
    font-size: 1.3rem; 
    text-decoration: none; 
    color: white !important; 
    letter-spacing: -1px;
}

.brand span { color: var(--accent); }

.nav-links a { 
    color: var(--subtext); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.8rem; 
    margin-left: 30px; 
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.cta-pill { 
    background: var(--accent); 
    color: var(--bg) !important; 
    padding: 12px 28px; 
    border-radius: 50px; 
    box-shadow: 0 0 20px var(--accent-glow);
    font-weight: 900 !important;
}

/* Hero Section */
.hero-split {
    display: flex;
    min-height: 100vh;
    align-items: center;
    padding: 120px 5% 60px;
}

.hero-text { flex: 1.2; padding-left: 5%; }

.hero-text h1 { 
    font-size: clamp(3.5rem, 8vw, 6rem); 
    line-height: 0.85; 
    margin: 30px 0; 
    font-weight: 900;
}

.hero-text h1 span { 
    color: var(--accent); 
    text-shadow: 0 0 30px var(--accent-glow); 
}

.badge { 
    color: var(--accent); 
    font-weight: 900; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 3px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.hero-text p {
    color: var(--subtext);
    max-width: 550px;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.hero-actions { display: flex; gap: 25px; flex-wrap: wrap; }

.btn-primary { 
    background: var(--accent); 
    color: var(--bg); 
    padding: 22px 45px; 
    text-decoration: none; 
    font-weight: 900; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: 0.4s;
}

.btn-primary:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 45px var(--accent-glow); 
}

.btn-outline {
    border: 1px solid var(--glass);
    color: var(--text);
    padding: 22px 45px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 15px;
    transition: 0.3s;
}

.btn-outline:hover { background: var(--glass); }

/* Kontener na obrazek - Poprawiony */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    width: 100%; /* Zapewnia stabilność w flexboxie */
}

.image-wrapper {
    position: relative;
    width: 100%; /* Wykorzystujemy dostępną przestrzeń */
    max-width: 700px; /* Żeby na ogromnych ekranach nie był za wielki */
    aspect-ratio: 16 / 10; /* Złoty środek między panoramą a kwadratem */
    border-radius: 40px;
    overflow: hidden;
    box-shadow: -20px 20px 60px rgba(255, 204, 0, 0.1);
    background: #111; /* Kolor tła zanim załaduje się fota */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, var(--bg) 0%, transparent 40%),
                linear-gradient(to top, var(--bg) 0%, transparent 20%);
    pointer-events: none; /* Żeby hover na img działał pod overlayem */
}

.main-header-img, .random-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Kluczowe: wypełnia ramkę bez rozciągania */
    object-position: center center; /* Centruje auto w kadrze */
    display: block;
    filter: brightness(0.8) contrast(1.1) saturate(1.1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.image-wrapper:hover .main-header-img,
.image-wrapper:hover .random-hero-img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.1) saturate(1.2);
}

/* POPRAWKA MOBILNA (Media Query) */
@media (max-width: 768px) {
    .hero-visual {
        margin-top: 40px;
        justify-content: center;
    }
    
    .image-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3; /* Na telefonie lepiej mieć nieco wyższy obrazek */
        border-radius: 25px; /* Mniejszy promień na mniejszych ekranach */
    }
    
    .image-overlay {
        background: linear-gradient(to top, var(--bg) 10%, transparent 50%);
    }
}
/* Sekcja Zasięg */
.area-explorer { padding: var(--section-gap) 0; }

.area-card { 
    background: #111111; 
    border-radius: 50px; 
    padding: 80px; 
    display: grid; 
    grid-template-columns: 1fr 2.5fr; 
    gap: 70px; 
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.area-info h2 { 
    font-size: 3.5rem; 
    margin-bottom: 15px; 
    letter-spacing: -3px;
}

.area-info p { 
    color: var(--subtext); 
    margin-bottom: 40px; 
    font-weight: 700; 
    font-size: 1.1rem;
}

.tab-switcher { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.t-btn { 
    background: #181818; 
    border: none; 
    color: var(--subtext); 
    padding: 25px 35px; 
    border-radius: 20px; 
    cursor: pointer; 
    font-weight: 900; 
    text-align: left; 
    font-size: 0.95rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.t-btn.active { 
    background: var(--accent); 
    color: var(--bg); 
    box-shadow: 0 0 40px var(--accent-glow);
    transform: scale(1.02);
}

.area-slider-container { 
    height: 480px; 
    overflow-y: auto; 
    padding-right: 25px;
}

.area-slider-container::-webkit-scrollbar { width: 4px; }
.area-slider-container::-webkit-scrollbar-track { background: transparent; }
.area-slider-container::-webkit-scrollbar-thumb { 
    background: var(--accent); 
    border-radius: 10px; 
}

.area-list { 
    display: none; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
}

.area-list.active { display: grid; }

.area-item { 
    background: #1A1A1A; 
    padding: 30px; 
    border-radius: 20px; 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 800; 
    font-size: 1.1rem;
    border: 1px solid transparent;
    transition: 0.3s;
}

.area-item:hover { 
    background: #222222; 
    border-color: var(--accent); 
    transform: translateY(-5px);
}

/* Sekcja Usług */
.services-modern { padding: var(--section-gap) 0; }
.section-header { margin-bottom: 80px; }

.modern-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.m-card { 
    background: var(--card-bg); 
    padding: 70px 45px; 
    border-radius: 45px; 
    position: relative;
    border: 1px solid var(--glass);
    transition: 0.4s;
}

.m-card:hover { 
    border-color: var(--accent); 
    transform: translateY(-15px);
}

.icon-glow {
    font-size: 3rem;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    margin-bottom: 35px;
    display: block;
}

.m-number { 
    font-size: 6rem; 
    font-weight: 900; 
    color: white; 
    opacity: 0.03; 
    position: absolute; 
    top: 20px; 
    right: 40px; 
}

.m-card.highlight { 
    background: var(--accent); 
    color: var(--bg); 
    border: none; 
}

.m-card.highlight .icon-glow, 
.m-card.highlight .m-number,
.m-card.highlight p { color: var(--bg); }

/* FAQ SECTION STYLES */
.faq-section { padding: 100px 0; background: #0A0A0A; }
.glow-title {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
    margin-bottom: 60px;
}

.accordion { max-width: 900px; margin: 0 auto; }
.accordion-item {
    background: #121212;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover { border-color: rgba(255, 204, 0, 0.3); }

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: left;
}

.accordion-header i {
    font-size: 0.9rem;
    color: #FFCC00;
    transition: 0.4s;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-content {
    padding: 0 30px 30px 30px;
    color: #999;
    font-size: 1rem;
    line-height: 1.6;
}

.accordion-item.active { border-color: #FFCC00; }
.accordion-item.active .accordion-header { color: #FFCC00; }
.accordion-item.active .accordion-body { max-height: 1000px; }
.accordion-item.active .accordion-header i { transform: rotate(45deg); }

/* GŁÓWNA STOPKA */
.main-footer {
    background: #050505;
    padding: 100px 0 0;
    border-top: 1px solid var(--glass);
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

.f-brand { 
    font-size: 2rem; 
    text-decoration: none; 
    color: white !important; 
    letter-spacing: -1px;
    font-family: 'Syncopate', sans-serif;
}
.f-brand span { color: var(--accent); }
.f-tagline { color: var(--accent); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; }
.f-description { color: var(--subtext); font-size: 0.95rem; line-height: 1.8; max-width: 320px; }

.f-title { font-size: 0.85rem; margin-bottom: 35px; letter-spacing: 2px; color: white; position: relative; font-family: 'Syncopate', sans-serif; }
.f-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 30px; height: 3px; background: var(--accent); }

.f-links { list-style: none; }
.f-links li { margin-bottom: 15px; }
.f-links a { color: var(--subtext); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.f-links a:hover { color: var(--accent); padding-left: 8px; }

.f-contact-box i { color: var(--accent); margin-right: 12px; }
/* Usunięcie niebieskich linków telefonicznych na mobilkach */
a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
}

.f-phone-link { 
    display: block; 
    font-size: 1.3rem; 
    color: var(--accent) !important; 
    text-decoration: none !important; 
    font-weight: 900; 
    margin-bottom: 15px; 
    text-shadow: 0 0 15px var(--accent-glow);
}

.f-email, .f-hours { color: var(--subtext); margin-bottom: 10px; font-size: 0.9rem; }

.f-socials { margin-top: 30px; display: flex; gap: 15px; }
.f-socials a {
    width: 45px; height: 45px;
    background: var(--glass);
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; color: white; transition: 0.3s;
    text-decoration: none;
}
.f-socials a:hover { background: var(--accent); color: #000; }

.f-status { margin-top: 25px; background: var(--glass); padding: 10px 15px; border-radius: 8px; font-size: 0.8rem; font-weight: 800; align-items: center; display: inline-flex; }
.status-dot { width: 8px; height: 8px; background: #00FF00; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 10px #00FF00; animation: blink 1.5s infinite; }

@keyframes blink { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

.footer-bottom { 
    padding: 30px 0; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}
.bottom-flex { 
    display: flex; 
    justify-content: center; 
    color: #444; 
    font-size: 0.8rem; 
    font-weight: 700; 
}

/* ==========================================================================
   MIGHTY RWD - POPRAWKI MOBILNE
   ========================================================================== */

@media (max-width: 1024px) {
    :root { --section-gap: 80px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .area-card { padding: 40px; gap: 40px; }
    .hero-text h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    /* Nav mobilny */
    .glass-nav { padding: 12px 20px; width: 95%; top: 15px; }
    .nav-links { display: none; }
    .brand { font-size: 1.1rem; }
    .cta-pill { padding: 8px 16px; font-size: 0.75rem; }

    /* Hero mobilne */
    .hero-split { flex-direction: column; text-align: center; padding-top: 100px; min-height: auto; }
    .hero-text { padding: 0; order: 1; width: 100%; }
    .hero-text h1 { font-size: 2.5rem; margin: 15px 0; }
    .hero-text p { margin: 0 auto 30px; font-size: 0.95rem; }
    .hero-actions { justify-content: center; gap: 15px; }
    .btn-primary, .btn-outline { padding: 16px 25px; font-size: 0.8rem; width: 100%; max-width: 300px; }

    .hero-visual { order: 2; width: 100%; margin-top: 40px; justify-content: center; }
    .image-wrapper { width: 100%; height: 300px; border-radius: 25px; }

    /* Sekcje */
    .area-card { grid-template-columns: 1fr; padding: 25px; border-radius: 30px; }
    .area-info h2 { font-size: 2rem; }
    .area-list { grid-template-columns: 1fr; }
    .area-item { padding: 20px; font-size: 0.9rem; }
    .tab-switcher { flex-direction: row; flex-wrap: wrap; }
    .t-btn { padding: 15px; font-size: 0.8rem; text-align: center; }

    .modern-grid { grid-template-columns: 1fr; gap: 20px; }
    .m-card { padding: 40px 25px; border-radius: 30px; }
    .m-number { font-size: 4rem; top: 10px; right: 20px; }

    /* FAQ */
    .glow-title { font-size: 1.8rem; margin-bottom: 30px; }
    .accordion-header { padding: 20px; font-size: 0.9rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .f-title::after { left: 50%; transform: translateX(-50%); }
    .f-description { margin: 0 auto 25px; }
    .f-socials { justify-content: center; }
    .bottom-flex { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.2rem; }
    .image-wrapper { height: 250px; }
    .area-info h2 { font-size: 1.8rem; }
}

/* Nawigacja Główna */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

/* Hamburger - Ukryty na komputerze */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.menu-toggle .bar {
    width: 30px;
    height: 2px;
    background-color: var(--accent); /* Twoje złoto */
    transition: 0.3s ease;
}

/* --- MOBILNA NAWIGACJA (Max 768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Schowane poza ekran */
        width: 100%;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    /* Klasa aktywna dodawana przez JS */
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-family: 'Syncopate', sans-serif;
    }

    /* Animacja burgera w X */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}