﻿@charset "utf-8";

/* --- 1. ZMIENNE --- */
:root {
    --bg-main: #F4F4F4;
    --anthracite: #2A2E35;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --text-dark: #333333;
}

/* --- 2. RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { 
    background-color: var(--bg-main); 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    font-size: 1.6rem; color: var(--text-dark); line-height: 1.6; 
}

/* --- 3. NAGŁÓWEK --- */
.main-header {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
        url("../img/hero-dark.webp") center/cover no-repeat !important; 
    width: 100%; 
    min-height: 550px; 
    display: flex; 
    flex-direction: column;
}
.navigation-bar {
    background: url("../img/tlonav.jpg") center/cover no-repeat;
    border-bottom: 1px solid rgba(0,0,0,0.1); width: 100%; position: relative; z-index: 1000;
}
.header-content {
    max-width: 1400px; margin: 0 auto; display: flex; 
    justify-content: space-between; align-items: center; padding: 10px 20px;
}
.logo img { max-height: 70.4px; width: auto; display: block; }

.header-intro {
    flex-grow: 1; display: flex; flex-direction: column; justify-content: center; 
    max-width: 1400px; margin: 0 auto; padding: 60px 20px;
}
.captionTitle {
    font-size: 4.2rem; 
    font-weight: 700; 
    color: #FFFFFF !important; /* Czysta biel */
    margin-bottom: 20px;
    text-transform: uppercase; 
    /* Cień dla lepszej separacji od tła */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); 
}

/* Przy okazji rozjaśnijmy tekst pod nagłówkiem, żeby nie był szary */
.header-seo-text {
    color: #FFFFFF !important;
    background: rgba(0, 0, 0, 0.4); /* Półprzezroczyste ciemne tło pod napisem */
    backdrop-filter: blur(8px);
    border-left: 6px solid var(--gold);
}

/* --- 4. MENU DESKTOP --- */
.main-ul { display: flex; list-style: none; }
.main-ul li { position: relative; }
.main-ul li a { 
    display: block; padding: 15px 15px; color: #f9f9f9; text-decoration: none; 
    font-size: 13px; font-weight: 700; text-transform: uppercase; transition: 0.3s; 
}
.main-ul li a:hover { color: #FFFFFF !important; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* PODMENU DESKTOP */
.main-ul li ul { 
    display: none; position: absolute; top: 100%; left: 0; background: #fff; 
    min-width: 240px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 9999; 
    list-style: none; border-top: 2px solid var(--gold);
}
.main-ul li:hover > ul { display: block; }
.main-ul li ul li a { color: var(--anthracite) !important; text-transform: none; border-bottom: 1px solid #eee; }

/* --- 5-8. PRODUKTY, GRID, FAQ, STOPKA --- */
.container-center { width: clamp(320px, 95%, 1400px); margin: 60px auto; }
.product-row { display: flex; align-items: center; gap: 5%; margin-bottom: 80px; background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.product-row.reverse { flex-direction: row-reverse; }
.product-image { flex: 1; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: auto; display: block; transition: 0.5s; }
.product-image:hover img { transform: scale(1.05); }
.cta-tag { position: absolute; bottom: 20px; left: 20px; padding: 10px 20px; background: var(--anthracite); color: var(--gold); border: 1px solid var(--gold); font-weight: bold; text-decoration: none; transition: 0.3s; }
.product-text { flex: 1; padding: 40px; }
.product-text h2 { background: var(--anthracite); color: var(--white); padding: 15px 25px; display: inline-block; margin-bottom: 20px; font-size: 2.2rem; border-bottom: 3px solid var(--gold); }
.product-text p { font-size: 1.6rem; line-height: 1.8; border-left: 4px solid var(--gold); padding-left: 20px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; background: var(--anthracite); padding: 60px 20px; border-radius: 15px; }
.info-card { text-align: center; transition: 0.3s; text-decoration: none; }
.info-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px 8px 0 0; }
.info-card h5 { background: #363B43; color: var(--gold); padding: 18px; border: 1px solid #4A515B; font-size: 1.8rem; text-transform: uppercase; }
.faq-simple { text-align: center; padding: 80px 0; }
.faq-simple h2 a { color: var(--anthracite); text-decoration: none; font-size: 2.6rem; }
.faq-list { list-style: none; display: inline-block; text-align: left; margin: 30px 0; }
.faq-list li a { display: flex; align-items: center; gap: 12px; color: var(--text-dark); text-decoration: none; padding: 12px 0; border-bottom: 1px solid #ddd; }
.faq-list img { width: 24px; }
.main-footer { background: #1a1a1a !important; color: #fff; padding-top: 60px; border-top: 4px solid var(--gold); }
.footer-container { max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 20px 50px 20px; }
.footer-column h3 { color: var(--gold); margin-bottom: 25px; text-transform: uppercase; }
.footer-bottom { background: #111 !important; padding: 25px 0; text-align: center; color: #777; font-size: 14px; }
.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-icon { width: 40px; height: 40px; background: #333; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 50%; transition: 0.3s; }

/* --- 9. MOBILE & HAMBURGER --- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 1101; }
.hamburger span { width: 25px; height: 3px; background: #fff; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }

@media (max-width: 1100px) {
    .header-content { justify-content: space-between; }
    .hamburger { 
        display: flex !important; 
        position: absolute !important; /* Wyrywamy go z układu */
        right: 8%; /* Ustawiamy 5% od prawej krawędzi ekranu */
        top: 15px; /* Dopasuj wysokość do logo */
        z-index: 9999;
    }
    
    
    .logo img { max-height: 50px; }
    .captionTitle { font-size: 2.6rem; line-height: 1.2; }
    .header-seo-text { font-size: 1.7rem; padding: 15px; }
    .main-header { min-height: 400px; }

    .menu-wrapper { display: block; }
    .nav-menu { 
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; 
        background: #fff; z-index: 1100; transition: 0.3s; padding-top: 80px; 
        overflow-y: auto; box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
    }
    .nav-menu.active { right: 0; }
    .main-ul { flex-direction: column; width: 100%; }
    .main-ul li { border-bottom: 1px solid #eee; }
    .main-ul li a { color: var(--anthracite) !important; padding: 18px 20px !important; }
    .main-ul li a:hover { color: #000000 !important; background: rgba(0,0,0,0.05) !important; }
    .rozwin { display: block !important; position: absolute; right: 0; top: 0; width: 60px; height: 56px; line-height: 56px; text-align: center; font-size: 2.4rem; color: var(--gold); border-left: 1px solid #eee; z-index: 10; }
    .main-ul li ul { display: none !important; position: static; width: 100%; background: #f9f9f9 !important; border-top: none; }
    .main-ul li ul.open { display: block !important; }
    .product-row, .product-row.reverse { flex-direction: column; text-align: center; }
}
