/* ========================================
   eRdent - STYLE RESPONSYWNE
   ======================================== */

/* ---------- TABLETY (768px - 1024px) ---------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* ---------- TELEFONY (do 767px) ---------- */
@media (max-width: 767px) {
    /* Header */
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo img {
        height: 70px;  /* ZMIENIONE z 36px na 70px */
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        gap: 12px;
        background: var(--white);
        border-top: 1px solid var(--gray-light);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .btn-reservation {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .hero-image-floating {
        bottom: -10px;
        right: 10px;
        padding: 12px 16px;
    }
    
    .floating-card span:first-child {
        font-size: 18px;
    }
    
    .hero-wave svg {
        height: 40px;
    }
    
    /* Trust signals */
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .trust-item {
        justify-content: center;
    }
    
    .trust-icon {
        font-size: 24px;
    }
    
    /* Sekcje */
    section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Oferta */
    .service-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Zespół */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Opinie */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Stopka */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
    }
}

/* ---------- BARDZO MAŁE EKRANY (do 480px) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hero-image img {
        height: 200px;
    }
}