:root {
    --primary-green: #1b3d18;
    --accent-gold: #c5a059;
    --bg-cream: #fdfcf0;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 190px; /* Margines, żeby logo nie zasłaniało sekcji */
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg-cream); 
    color: #1e2d1c; 
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.centered { text-align: center; }

/* NAGŁÓWEK I LOGO */
header { 
    background: var(--white); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 5px solid var(--primary-green); 
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

nav { display: flex; flex-direction: column; align-items: center; }

.main-logo { 
    height: 130px; /* POWIĘKSZONE LOGO */
    width: auto;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: var(--primary-green); 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1px;
}
.nav-links a:hover { color: var(--accent-gold); }

.nav-socials { display: flex; gap: 15px; margin-left: 15px; border-left: 1px solid #ddd; padding-left: 15px; }
.nav-socials a { color: var(--primary-green); font-size: 1.1rem; }

/* HERO */
.hero { 
    margin-top: 210px; 
    padding: 140px 20px; 
    text-align: center; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/sa.jpg') center/cover; 
    color: white; 
}

.hero h1 { font-family: 'Playfair Display', serif; font-size: 4rem; margin-bottom: 10px; }
.hero h2 { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 3px; font-size: 1.3rem; margin-bottom: 25px; }

/* PRZYCISK EKSPLORUJ */
.btn-hero { 
    display: inline-block; 
    padding: 18px 45px; 
    background: transparent;
    color: #fff; 
    text-decoration: none; 
    font-weight: 800; 
    border: 2px solid var(--accent-gold); 
    border-radius: 5px;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.btn-hero:hover { 
    background: var(--accent-gold); 
    color: var(--primary-green); 
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* O NAS */
.about-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-images { position: relative; height: 380px; }
.img-large { width: 85%; height: 300px; border-radius: 15px; overflow: hidden; }
.img-large img { width: 100%; height: 100%; object-fit: cover; }
.img-small { position: absolute; bottom: -80px; right: 0; width: 50%; height: 220px; border: 8px solid white; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); overflow: hidden; }
.img-small img { width: 100%; height: 100%; object-fit: cover; }

.header-subtitle { color: var(--accent-gold); font-weight: 900; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }
.header-line { width: 50px; height: 3px; background: var(--accent-gold); margin: 15px 0; }
.header-line.centered { margin: 15px auto; }

/* FLOTA */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; margin-top: 30px; }
.car-card { background: white; border-radius: 15px; overflow: hidden; border-bottom: 5px solid var(--accent-gold); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.car-img-box { height: 180px; overflow: hidden; cursor: pointer; position: relative; }
.car-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.car-card:hover img { transform: scale(1.1); }
.car-overlay { position: absolute; inset: 0; background: rgba(27,61,24,0.7); color: white; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; font-weight: 700; }
.car-img-box:hover .car-overlay { opacity: 1; }
.car-info { padding: 20px; text-align: center; }
.car-meta { font-size: 0.7rem; color: #888; font-weight: 700; margin-bottom: 5px; }
.car-info h3 { font-size: 1.1rem; color: var(--primary-green); margin-bottom: 15px; }

.btn-select-car { 
    width: 100%; padding: 12px; background: white; border: 1px solid #ddd; border-radius: 5px; 
    font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 0.75rem;
}
.btn-select-car:hover { background: var(--primary-green); color: white; border-color: var(--primary-green); }

/* FORMULARZ */
.contact-card { max-width: 750px; margin: 0 auto; background: white; padding: 45px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.modern-form input, .modern-form select, .modern-form textarea { width: 100%; padding: 16px; border: 1px solid #eee; border-radius: 10px; background: #fafafa; font-family: inherit; font-size: 0.9rem; }
.btn-send-modern { width: 100%; padding: 18px; background: var(--primary-green); color: white; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; margin-top: 15px; font-size: 1rem; transition: 0.3s; }
.btn-send-modern:hover { background: #11260f; transform: translateY(-2px); }

.contact-footer-info { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }
.contact-footer-info a { text-decoration: none; color: var(--primary-green); font-weight: 700; font-size: 0.9rem; }

/* STOPKA */
.main-footer { background: var(--primary-green); color: white; padding: 60px 0 30px; text-align: center; }
.footer-social-icons { display: flex; justify-content: center; gap: 25px; margin-bottom: 25px; }
.footer-social-icons a { color: white; font-size: 1.6rem; transition: 0.3s; }
.footer-social-icons a:hover { color: var(--accent-gold); transform: translateY(-5px); }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 5000; align-items: center; justify-content: center; }
.lightbox-content { max-width: 90%; max-height: 80vh; border: 5px solid white; border-radius: 4px; }
.nav-arrow { position: absolute; background: none; border: none; color: white; font-size: 3.5rem; cursor: pointer; top: 50%; transform: translateY(-50%); padding: 20px; z-index: 5001; }
.prev { left: -20px; } .next { right: 20px; }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: white; font-size: 3rem; cursor: pointer; }

@media (max-width: 768px) {
    .about-grid, .form-row { grid-template-columns: 1fr; }
    .nav-links { display: inline-block; }
    .main-logo { height: 90px; }
    html { scroll-padding-top: 130px; }
    .hero { margin-top: 130px; padding: 100px 20px; }
    .hero h1 { font-size: 2.8rem; }
}