/* --- Responsive Design (Mobile & Tablet) --- */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .split-section {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .hamburger {
        display: block;
    }


    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 300px;
        height: 100vh;
        background: var(--bg-main);
        padding: 6rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }

    .desktop-nav.mobile-active {
        right: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1), 0 0 0 10000px rgba(0, 0, 0, 0.6);
    }

    .desktop-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
        list-style: none;
    }

    .desktop-nav a {
        color: var(--text-dark);
        font-size: 1.3rem;
        font-weight: 500;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .site-logo {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .mobile-logo-text {
        display: block;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .main-content {
        padding-top: 61px !important;
    }

    /* general */
    .container {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Layouts */
    .split-section,
    .split-section.reverse {
        flex-direction: column;
    }

    .card-img-wrapper {
        height: auto;
    }

    .youtube-section {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .modal-content {
        padding: 2.5rem 1.5rem 2rem;
        /* bit more top padding for the close button */
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-close {
        width: 45px;
        height: 45px;
        top: 5px;
        right: 5px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
        /* Stronger shadow for readability */
    }



    .hero-logo {
        max-width: 140px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 2rem;
    }

    .floating-actions {
        bottom: 1rem;
        right: 1rem;
        gap: 10px;
    }

    .float-btn {
        width: 45px;
        height: 45px;
    }

    .float-btn svg {
        width: 20px;
        height: 20px;
    }
}