/* ============================================
   RESPONSIVE DESIGN
   ============================================ */




/* Tablets and small screens */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        position: relative;
    }

    .mobile-toggle {
        display: flex;
        z-index: 101;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        z-index: 100;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        padding-top: 10px;
    }

    .nav-menu a {
        display: block;
        padding: 14px 10px;
        width: 100%;
    }

    .cta-nav {
        display: inline-block !important;
        width: auto !important;
        text-align: center;
    }

    /* Hamburger → croix */
    .mobile-toggle span {
        transform-origin: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        justify-content: center;
    }

    /* Section Title */
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    /* Photo Slider */
    .slider-section {
        padding: 50px 0;
    }

    .slider {
        width: 100%;
        height: auto;
    }

    .slide img {
        height: 60vw;
        min-height: 260px;
    }

    .slider-btn {
        font-size: 30px;
        padding: 6px 14px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-content h3 {
        font-size: 28px;
    }

    .cta-content > p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .phone-link {
        font-size: 20px;
    }

    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .slider-btn {
        font-size: 24px;
        padding: 5px 11px;
    }

    .cta-content h3 {
        font-size: 24px;
    }

    .cta-content > p {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.bounce {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.float {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section {
        display: none;
    }
}
