/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
    .header {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100%);
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: var(--transition-normal);
        overflow-y: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--primary-dark);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent-blue);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .nav-contact {
        flex-direction: column;
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header.nav-open {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .header.nav-open .hamburger span {
        background: #1a1a2e;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .carousel-slide img {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .top-bar {
        display: none;
    }
    
    /* About section mobile optimization */
    .about {
        background-attachment: scroll;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero {
        padding: 60px 0 0;
        min-height: 60vh;
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-carousel {
        height: 100%;
    }
    
    .hero-slide {
        height: 100%;
    }
    
    .hero-background {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        height: 100%;
    }
    
    .hero-background::before {
        background: rgba(0, 0, 0, 0.65);
    }
    
    .hero-background::after {
        height: 40%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    }
    
    .hero-content {
        position: relative;
        z-index: 10;
        padding: var(--spacing-md) var(--spacing-sm);
        margin-top: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        margin-bottom: var(--spacing-md);
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Hide carousel arrow buttons on mobile */
    .hero-carousel-btn {
        display: none;
    }
    
    /* Show and style carousel dots on mobile */
    .hero-carousel-dots {
        bottom: 10px;
        display: flex;
        justify-content: center;
        gap: 8px;
    }
    
    .hero-carousel-dots .hero-dot {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.7);
        border: 2px solid rgba(255, 255, 255, 0.95);
    }
    
    .hero-carousel-dots .hero-dot.active {
        background: #1e40af;
        border-color: #1e40af;
        transform: scale(1.3);
    }
    
    .products-grid,
    .amenities-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    /* Products stack mobile optimization */
    .product-item {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }
    
    .product-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-image img {
        height: 250px;
    }
    
    .product-name {
        font-size: 1.5rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-cta-btn {
        display: block;
        width: fit-content;
        margin: var(--spacing-md) auto 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        bottom: 80px;
        right: 20px;
    }
}
