/* ==================== ZMIENNE & RESET ==================== */
:root {
    --traffic-green: #2ecc71;
    --traffic-green-dark: #27ae60;
    --traffic-red: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    line-height: 1.6; 
    color: var(--dark-bg);
}

/* ==================== LOGO (WIĘKSZE JAK W DOKUMENTACJI) ==================== */
.logo { 
    font-size: 2.8rem; /* Zwiększone z oryginalnych plików */
    font-weight: 900; 
    letter-spacing: -2px; 
    cursor: pointer;
}
.logo .text-red { 
    color: var(--traffic-red); 
}
.logo .text-green { 
    color: var(--traffic-green); 
}

/* ==================== NAWIGACJA DESKTOP ==================== */
header { 
    background: white; 
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.2rem 5%; 
    max-width: 1400px;
    margin: 0 auto;
}

/* ==================== MENU LINKI DESKTOP ==================== */
.nav-links { 
    display: flex; 
    gap: 2.5rem; 
}
.nav-links a { 
    color: var(--dark-bg); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--traffic-green);
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover { 
    color: var(--traffic-green); 
}

/* ==================== NAV BUTTON ==================== */
.nav-btn { 
    background: linear-gradient(45deg, var(--traffic-green), var(--traffic-green-dark)); 
    color: white; 
    padding: 0.9rem 2.5rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(46,204,113,0.4);
    transition: all 0.3s;
}
.nav-btn:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,204,113,0.6);
}

/* ==================== MOBILE MENU TOGGLE ==================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--dark-bg);
    padding: 0.5rem;
}

/* ==================== HERO SECTION ==================== */
.hero { 
    background: linear-gradient(135deg, var(--traffic-green), var(--traffic-green-dark)); 
    color: white; 
    text-align: center; 
    padding: 8rem 5%; 
    min-height: 80vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero h1 { 
    font-size: clamp(3rem, 8vw, 5rem); 
    margin-bottom: 1.5rem; 
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p { 
    font-size: 1.4rem; 
    margin-bottom: 2.5rem; 
    opacity: 0.95; 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== CTA BUTTON ==================== */
.cta-btn { 
    background: white; 
    color: var(--traffic-green); 
    padding: 1.2rem 4rem; 
    border-radius: 50px; 
    font-size: 1.3rem; 
    font-weight: 700; 
    text-decoration: none; 
    display: inline-block; 
    box-shadow: 0 10px 30px rgba(255,255,255,0.4);
    transition: all 0.4s;
    letter-spacing: 1px;
}
.cta-btn:hover { 
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255,255,255,0.6);
}

/* ==================== RESPONSYWNOŚĆ ==================== */
@media (max-width: 1024px) {
    .logo { font-size: 2.4rem; }
    nav { padding: 1rem 3%; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        font-size: 1.5rem;
        z-index: 99;
        transform: translateX(-100%);
        transition: transform 0.4s;
    }
    
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-btn {
        margin-left: auto;
        margin-right: 2rem;
        order: -1;
    }
    
    .hero { 
        padding: 5rem 2rem; 
        min-height: 70vh;
    }
    
    .cta-btn { 
        padding: 1rem 3rem; 
        font-size: 1.1rem;
    }
}

/* ==================== ANIMACJE ==================== */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero p, .cta-btn {
    animation: slideIn 0.8s ease-out forwards;
}

.cta-btn { animation-delay: 0.3s; }

/* ==================== BOOK NOW BUTTON (CZERWONY) ==================== */
.book-now-btn {
    background: linear-gradient(45deg, var(--traffic-red), #c0392b) !important;
    box-shadow: 0 4px 15px rgba(231,76,60,0.5) !important;
}

.book-now-btn:hover {
    background: linear-gradient(45deg, #c0392b, var(--traffic-red)) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.7) !important;
}
/* ==================== ABOUT PAGE STYLES ==================== */

/* PAGE HERO (Z PAGE-HERO Z ABOUT.HTML) */
.page-hero {
    background: linear-gradient(135deg, var(--traffic-green-dark), var(--traffic-green));
    color: white;
    text-align: center;
    padding: 8rem 5% 6rem;
    position: relative;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* CONTENT SECTIONS (Z ABOUT.HTML) */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* MISSION SECTION */
.mission {
    text-align: center;
    margin-bottom: 6rem;
}

.mission h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

.mission p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* TRUST SECTION (NOWA - BUDUJĄCA ZAUFANIE) */
.trust-section {
    background: var(--light-bg);
    padding: 6rem 2rem;
    margin: 4rem 0;
    border-radius: 20px;
}

.trust-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--dark-bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.trust-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.trust-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.trust-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 700;
}

.trust-item p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ABOUT CTA */
.about-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--traffic-green), var(--traffic-green-dark));
    color: white;
    border-radius: 20px;
    margin-top: 4rem;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* RESPONSYWNOŚĆ ABOUT */
@media (max-width: 768px) {
    .content-section {
        padding: 3rem 1rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-hero {
        padding: 4rem 2rem 3rem;
    }
    
    .mission h2, .trust-section h2, .about-cta h2 {
        font-size: 2rem;
    }
}
/* ==================== ABOUT PAGE NEW SECTIONS ==================== */

/* LOCAL EXPERTS SECTION */
.local-experts {
    background: white;
    padding: 4rem 0;
    text-align: center;
    margin: 4rem 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.local-experts h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

/* QUALITY SECTION */
.quality-section {
    background: var(--light-bg);
    padding: 5rem 2rem;
    margin: 4rem 0;
}

.quality-section h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3.5rem;
    color: var(--dark-bg);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.quality-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
}

.quality-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.quality-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--traffic-green);
    font-weight: 700;
}

.quality-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .quality-grid {
        grid-template-columns: 1fr;
    }
}
/* ==================== TRUST BADGES SECTION ==================== */
.trust-badges {
    background: linear-gradient(135deg, var(--light-bg), #f0f7ff);
    padding: 5rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
}

.trust-badges h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 4rem;
    color: var(--dark-bg);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.badge {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(46,204,113,0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--traffic-green);
}

.badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46,204,113,0.25);
}

.badge-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.badge h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--traffic-green);
}

.badge p {
    color: #666;
    line-height: 1.6;
}

.rating {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--traffic-green);
}

/* ==================== REVIEWS CAROUSEL ==================== */
.reviews-carousel {
    padding: 5rem 2rem;
    background: white;
}

.reviews-carousel h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
    color: var(--dark-bg);
}

.carousel-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 5px solid var(--traffic-green);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.student-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--traffic-green);
}

.review-header h4 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--dark-bg);
}

.review-date {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

.review-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.stars {
    font-size: 1.3rem;
    color: #ffc107;
}

/* ==================== RESPONSYWNOŚĆ ==================== */
@media (max-width: 768px) {
    .badges-grid,
    .carousel-container {
        grid-template-columns: 1fr;
    }
    
    .trust-badges h2,
    .reviews-carousel h2 {
        font-size: 2rem;
    }
}
