/* ======== GLOBAL STYLES & VARIABLES ======== */
:root {
    --primary-color: #0A192F;
    --secondary-color: #112240;
    --accent-color: #FF6347;
    --text-color: #ccd6f6;
    --light-text-color: #8892b0;
    --background-color: #FFFFFF;
    --light-gray-bg: #f8f9fa;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --header-height: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--background-color); color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-color); line-height: 1.2; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; }
a { text-decoration: none; color: var(--accent-color); transition: color 0.3s ease; }
a:hover { color: #e55a40; }
section { padding: 80px 0; }

/* ======== HEADER ======== */
.header {
    position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
    background-color: var(--primary-color); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
}
.header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img { height: 50px; }
.nav ul { display: flex; list-style: none; gap: 30px; }
.nav a { color: var(--background-color); font-weight: 500; font-size: 1rem; padding-bottom: 5px; position: relative; }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; }
.nav a:hover::after { width: 100%; }

/* ======== HERO SECTION ======== */
.hero-section {
    position: relative; height: calc(100vh - var(--header-height)); display: flex; align-items: center;
    justify-content: center; text-align: center; color: var(--background-color);
    background: url('img/her.png') no-repeat center center/cover;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 25, 47, 0.7); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--background-color); }
.hero-content p { font-size: 1.25rem; margin-bottom: 2rem; color: var(--text-color); }
.cta-button {
    display: inline-block; background-color: var(--accent-color); color: var(--background-color);
    padding: 15px 35px; border-radius: 5px; font-size: 1.1rem; font-weight: 700;
    text-transform: uppercase; border: 2px solid var(--accent-color); transition: background-color 0.3s ease, color 0.3s ease;
}
.cta-button:hover { background-color: transparent; color: var(--accent-color); }

/* ======== ANIMATIONS ======== */
.fade-in-section { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-section.visible { opacity: 1; transform: translateY(0); }
.animate-on-load { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; }
.hero-content h1.animate-on-load { animation-delay: 0.2s; }
.hero-content p.animate-on-load { animation-delay: 0.4s; }
.hero-content .cta-button.animate-on-load { animation-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ======== SEKCJE - POPRAWIONE STYLE ======== */
#o-nas { background-color: var(--light-gray-bg); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.about-text h2 { text-align: left; margin-bottom: 1.5rem; }
.about-text p, .trust-badges { margin-bottom: 1.5rem; color: #555; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 2rem; font-weight: 500; color: var(--primary-color); }
.trust-badges i { color: var(--accent-color); margin-right: 8px; }

#uslugi { background-color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card { background-color: var(--background-color); padding: 2.5rem 2rem; text-align: center; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-card i { font-size: 3rem; color: var(--accent-color); margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.service-card p { color: #555; }

#dlaczego-my { background-color: var(--light-gray-bg); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.usp-item { text-align: center; padding: 1rem; }
.usp-item i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1rem; }
.usp-item h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.usp-item p { color: #555; }
.stats-container { display: flex; justify-content: space-around; text-align: center; margin-top: 4rem; padding-top: 4rem; border-top: 1px solid #ddd; }
.stat-item .counter { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--accent-color); }
.stat-item p { font-size: 1.1rem; color: var(--primary-color); }

/* GALERIA FLOTY */
.fleet-section { background-color: #fff; }
.fleet-header { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 1rem; }
.fleet-header h2 { margin-bottom: 0; }
.brand-logo { height: 50px; max-width: 150px; object-fit: contain; }
.fleet-description { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; color: #555; }
.slider-container { position: relative; width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; border-radius: 8px; }
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; position: relative; }
.slide img { width: 100%; height: 500px; object-fit: cover; display: block; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(10, 25, 47, 0.7); color: white; border: none; padding: 15px; cursor: pointer; z-index: 10; transition: background-color 0.3s ease; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background-color: var(--accent-color); }
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

#opinie { background-color: var(--light-gray-bg); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.testimonial-card { background-color: var(--background-color); padding: 2rem; border-radius: 8px; border-left: 5px solid var(--accent-color); }
.testimonial-card blockquote { font-style: italic; color: #555; margin-bottom: 1rem; border: none; padding: 0; }
.testimonial-card cite { font-weight: 700; color: var(--primary-color); }

#kontakt { background-color: var(--secondary-color); color: var(--text-color); }
#kontakt h2, #kontakt h3 { color: var(--background-color); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form-wrapper p { margin-bottom: 2rem; color: var(--light-text-color); }
.contact-form-wrapper h2 { text-align: left; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #2c3e50; border-radius: 5px; background-color: var(--primary-color); color: var(--text-color); font-family: var(--font-body); font-size: 1rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--light-text-color); }
.contact-details ul { list-style: none; margin: 0 0 2rem 0; padding: 0; }
.contact-details li { font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; }
.contact-details i { color: var(--accent-color); margin-right: 15px; width: 20px; text-align: center; }
.map-placeholder iframe { border-radius: 8px; }

/* FOOTER */
.footer { background-color: var(--primary-color); color: var(--light-text-color); padding: 60px 0 0; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.footer-col h4 { color: var(--background-color); margin-bottom: 1.5rem; }
.footer-col p, .footer-col ul { font-size: 0.95rem; }
.footer-col ul { list-style: none; padding: 0;}
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--light-text-color); }
.social-icons a { display: inline-block; color: var(--light-text-color); font-size: 1.2rem; margin-right: 15px; transition: color 0.3s ease, transform 0.3s ease; }
.footer-bottom { text-align: center; padding: 20px 0; margin-top: 40px; border-top: 1px solid #112240; font-size: 0.9rem; }

/* MENU HAMBURGEROWE I RESPONSIVE */
.hamburger { display: none; border: none; background: none; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: white; transition: all 0.3s ease-in-out; }

@media (max-width: 992px) {
    .about-container, .contact-container, .testimonials-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 2rem; }
    .about-text h2 { text-align: center; }
    .stats-container { flex-direction: column; gap: 2rem; }
}
@media (max-width: 768px) {
    .nav {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--primary-color);
        flex-direction: column; justify-content: center; align-items: center;
        transform: translateX(100%); transition: transform 0.3s ease-in-out;
    }
    .nav.active { transform: translateX(0); }
    .nav ul { flex-direction: column; text-align: center; gap: 40px; }
    .nav a { font-size: 1.5rem; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    section { padding: 60px 0; }
    .slide img { height: 300px; }
    .footer-container { text-align: center; }
}