/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .priceplan-grid {
        gap: var(--spacing-sm);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .priceplan-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coreinfo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .nav-item {
        margin-left: var(--spacing-sm);
    }
    
    .priceplan-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .coreinfo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-bg {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }
    
    .hero-overlay {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        background: linear-gradient(0deg, rgba(246, 243, 237, 0.4) 0%, rgba(246, 243, 237, 0.8) 70%, var(--primary-color-3-light) 100%);
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .priceplan-grid,
    .features-grid,
    .coreinfo-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-brand {
        margin-bottom: var(--spacing-sm);
    }
    
    .nav-item {
        margin-left: var(--spacing-xs);
        margin-right: var(--spacing-xs);
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-bg {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
    }
    
    .hero-overlay {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        background: linear-gradient(0deg, rgba(246, 243, 237, 0.4) 0%, rgba(246, 243, 237, 0.8) 70%, var(--primary-color-3-light) 100%);
    }
    
    .about-feature {
        margin-bottom: var(--spacing-md);
    }
    
    .accordion-header {
        padding: var(--spacing-sm);
    }
    
    .accordion-body.active {
        padding: var(--spacing-sm);
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
}

/* Mobile navigation for small devices */
@media (max-width: 767.98px) {
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: var(--spacing-sm) 0;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-item {
        margin: var(--spacing-xs) 0;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
    
    .navbar-toggler {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color-4);
        cursor: pointer;
    }
    
    .navbar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

/* Hide navigation toggle on larger screens */
@media (min-width: 768px) {
    .navbar-toggler {
        display: none;
    }
    
    .navbar-nav {
        display: flex !important;
    }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-container {
        --swiper-autoplay: false;
    }
}

/* Utility classes for responsive behaviors */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

@media (min-width: 576px) {
    .d-sm-none {
        display: none !important;
    }
    
    .d-sm-block {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    
    .d-lg-block {
        display: block !important;
    }
}

@media (min-width: 1200px) {
    .d-xl-none {
        display: none !important;
    }
    
    .d-xl-block {
        display: block !important;
    }
} 