/* OceanFresh - Responsive CSS */

/* Mobile First - Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    h1, .display-4 {
        font-size: 1.84rem;
        line-height: 1.3;
    }
    
    h2, .section-title {
        font-size: 1.62rem;
        margin-bottom: 1rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    p {
        font-size: 1.00rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    .hero-section .display-4 {
        font-size: 1.68rem;
        margin-bottom: 1rem;
    }
    
    /* Navigation */
    .navbar-brand {
    font-size: 10px !important;
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
    font-size: 10px !important;
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    /* Cards */
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.69rem;
    }
    
    .card-text {
        font-size: 0.98rem;
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.96rem;
        padding: 0.6rem 1.2rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Form */
    .form-control {
        font-size: 0.92rem;
        padding: 0.6rem 0.8rem;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 80px;
        height: 80px;
    }
    
    /* Process Steps */
    .process-step {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Icons */
    .fa-2x {
        font-size: 1.5em;
    }
    
    .fa-3x {
        font-size: 2em;
    }
    
    /* Footer */
    footer .row {
        text-align: center;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Gallery Grid */
    .gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
    
    /* Contact Section */
    .contact-info-item {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero */
    .hero-section {
        padding-top: 90px;
    }
    
    h1, .display-4 {
        font-size: 2rem;
    }
    
    h2, .section-title {
        font-size: 1.73rem;
    }
    
    /* Team Grid */
    .team .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Process Grid */
    .process .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Services Grid */
    .services .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.63rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero */
    .hero-section {
        padding-top: 80px;
    }
    
    h1, .display-4 {
        font-size: 2.13rem;
    }
    
    /* Team Members - 3 per row */
    .team .col-lg-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Process Steps - 3 per row */
    .process .col-lg-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Services - 2 per row */
    .services .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Price Plans */
    .priceplan .col-lg-4 {
        margin-bottom: 1.73rem;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
    font-size: 10px !important;
        padding: 0.5rem 1rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Standard desktop layout - most styles from main.css apply */
    
    /* Fine-tune spacing */
    section {
        padding: 3.5rem 0;
    }
    
    /* Container max-width adjustment */
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero Section Enhancement */
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2.61rem;
    padding-top: 125px;
}
    
    /* Larger containers */
    .container {
        max-width: 1140px;
    }
    
    /* Enhanced spacing */
    section {
        padding: 4.5rem 0;
    }
    
    /* Larger cards */
    .card-img-top {
        height: 220px;
    }
    
    /* Team images larger */
    .rounded-circle {
        width: 140px;
        height: 140px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp images on retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer,
    .gallery {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero-section {
        padding: 1rem 0;
        background: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .card {
        border: 1px solid #ebebeb;
        box-shadow: none;
    }
}

/* Accessibility - Large Text */
@media (min-width: 1400px) {
    body {
        font-size: 1rem;
    }
    
    h1, .display-4 {
        font-size: 2.93rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.27rem;
    }
}

/* Dark Mode Support (Optional) */

/* Animation Performance Optimization */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    [data-sal] {
        transition-duration: 0.3s;
    }
    
    .card:hover {
        transform: none;
    }
    
    .img-fluid:hover {
        transform: none;
    }
}

/* Container Padding Adjustments */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Navigation Collapse Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: 8px;
        margin-top: 0.70rem;
        padding: 1rem;
        box-shadow: 0 9px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
    font-size: 10px !important;
        border-bottom: 1px solid #ccd2df;
        margin-bottom: 0.46rem;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Form Responsive Improvements */
@media (max-width: 767.98px) {
    .contact form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .contact form .row .col-md-6:last-child {
        margin-bottom: 1rem;
    }
}

/* Gallery Responsive Grid */
@media (max-width: 575.98px) {
    .gallery .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .gallery .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery .col-lg-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
} 