/* Responsive CSS */

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    /* Hero Slider Button Responsiveness */
    .hero-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .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(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
        display: flex;
        /* Ensure it's displayed when active */
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* Mobile dropdown menu styling */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0;
        background: transparent;
        display: none;
    }

    .nav-item.dropdown-active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        margin: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
        background: var(--light-gray);
        border-radius: var(--radius-sm);
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
    }

    .hero-buttons .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}