/* ========================================================================
   VenueFlow - Responsive CSS
   Mobile-first responsive design
======================================================================== */

/* Base Mobile Styles (320px and up) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-1 { font-size: 2.60rem; }
    .display-2 { font-size: 2rem; }
    .display-3 { font-size: 1.86rem; }
    .display-4 { font-size: 1.64rem; }
    .display-5 { font-size: 1.30rem; }
    
    h1, .h1 { font-size: 1.92rem; }
    h2, .h2 { font-size: 1.62rem; }
    h3, .h3 { font-size: 1.44rem; }
    h4, .h4 { font-size: 1.23rem; }
    h5, .h5 { font-size: 1rem; }
    
    .lead { font-size: 1rem; }
    
    /* Spacing */
    section { padding: 3rem 0; }
    .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    
    /* Header */
    .navbar-brand { font-size: 1.29rem; }
    .navbar-nav { margin-top: 1rem; }
    .navbar-nav .nav-link { padding: 0.5rem 0 !important; }
    
    /* Hero Section */
    .hero-section { min-height: 70vh; }
    .hero-section h1 { font-size: 1.89rem; margin-bottom: 1rem;
    padding-top: 275px;
}
    .hero-section h2 { font-size: 1.34rem; }
    .hero-section p { font-size: 1rem; }
    
    /* Cards */
    .card { margin-bottom: 1.61rem; }
    .card-body { padding: 1rem; }
    
    /* Buttons */
    .btn { padding: 0.6rem 1.5rem; font-size: 0.92rem; }
    .btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
    
    /* Contact Form */
    .contact-form { padding: 2rem 1rem; }
    
    /* Team Images */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Statistics */
    .stat-number { font-size: 2rem; }
    
    /* Process Steps */
    .process-step .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.32rem;
    }
    
    /* Timeline */
    .timeline-item { padding-left: 2rem; }
    
    /* Gallery */
    .gallery .col-md-4 { margin-bottom: 1rem; }
    
    /* Footer */
    footer { text-align: center; }
    footer .col-lg-4 { margin-bottom: 2rem; }
    
    /* Image Sizes */
    .hero-image { height: 250px; }
    .service-image { height: 180px; }
    .gallery-image { height: 200px; }
    .blog-image { height: 180px; }
    .case-study-image { height: 180px; }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography */
    .display-5 { font-size: 1.54rem; }
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.87rem; }
    
    /* Hero Section */
    .hero-section { min-height: 75vh; }
    .hero-section h1 { font-size: 2rem;
    padding-top: 275px;
}
    .hero-section h2 { font-size: 1.44rem; }
    
    /* Contact Form */
    .contact-form { padding: 2.5rem 1.5rem; }
    
    /* Team Images */
    .team-member img {
        width: 130px;
        height: 130px;
    }
    
    /* Image Sizes */
    .hero-image { height: 300px; }
    .service-image { height: 190px; }
    .gallery-image { height: 220px; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Typography */
    .display-5 { font-size: 2rem; }
    h1, .h1 { font-size: 2.29rem; }
    h2, .h2 { font-size: 2rem; }
    
    /* Hero Section */
    .hero-section { min-height: 80vh; }
    .hero-section h1 { font-size: 2.39rem;
    padding-top: 275px;
}
    .hero-section h2 { font-size: 1.61rem; }
    
    /* Cards */
    .card { margin-bottom: 2rem; }
    
    /* Contact Form */
    .contact-form { padding: 3rem 2rem; }
    
    /* Team Images */
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    /* Navigation */
    .navbar-nav .nav-link { padding: 0.5rem 0.75rem !important; }
    
    /* Image Sizes */
    .hero-image { height: 350px; }
    .service-image { height: 200px; }
    .gallery-image { height: 240px; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Typography */
    .display-5 { font-size: 2.61rem; }
    h1, .h1 { font-size: 2.65rem; }
    h2, .h2 { font-size: 2rem; }
    
    /* Hero Section */
    .hero-section { min-height: 85vh; }
    .hero-section h1 { font-size: 2.57rem;
    padding-top: 275px;
}
    .hero-section h2 { font-size: 1.78rem; }
    
    /* Navigation */
    .navbar-nav .nav-link { padding: 0.5rem 1rem !important; }
    
    /* Image Sizes */
    .hero-image { height: 380px; }
    .service-image { height: 200px; }
    .gallery-image { height: 250px; }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Typography */
    .display-5 { font-size: 3rem; }
    h1, .h1 { font-size: 2.82rem; }
    h2, .h2 { font-size: 2.38rem; }
    
    /* Hero Section */
    .hero-section { min-height: 90vh; }
    .hero-section h1 { font-size: 2.80rem;
    padding-top: 275px;
}
    .hero-section h2 { font-size: 2rem; }
    
    /* Container */
    .container { max-width: 1140px; }
    
    /* Image Sizes */
    .hero-image { height: 400px; }
    .service-image { height: 200px; }
    .gallery-image { height: 250px; }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
    /* Typography */
    .display-5 { font-size: 3.54rem; }
    h1, .h1 { font-size: 3rem; }
    h2, .h2 { font-size: 2.54rem; }
    
    /* Hero Section */
    .hero-section h1 { font-size: 3rem;
    padding-top: 275px;
}
    .hero-section h2 { font-size: 2.31rem; }
    
    /* Container */
    .container { max-width: 1320px; }
    
    /* Image Sizes */
    .hero-image { height: 450px; }
}

/* Specific Component Responsive Styles */

/* Navbar Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        border-radius: var(--border-radius);
        margin: 0.25rem 0;
    }
}

/* Cards Responsive */
@media (max-width: 767.98px) {
    .card-columns {
        column-count: 1;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .card-columns {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 3;
    }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
    .gallery .row > div {
        margin-bottom: 0.69rem;
    }
}

/* Services Grid Responsive */
@media (max-width: 767.98px) {
    .services-section .row .col-md-6:nth-child(even) {
        margin-bottom: 1.67rem;
    }
}

/* Team Grid Responsive */
@media (max-width: 767.98px) {
    .team-section .row .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* Contact Form Responsive */
@media (max-width: 575.98px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* FAQ Responsive */
@media (max-width: 767.98px) {
    .accordion-button {
        font-size: 0.96rem;
        padding: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    footer .row .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .row .col-lg-4:last-child {
        margin-bottom: 0;
    }
}

/* Process Steps Responsive */
@media (max-width: 767.98px) {
    .process-section .row .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* Statistics Responsive */
@media (max-width: 575.98px) {
    .statistics .row .col-md-6 {
        margin-bottom: 2rem;
    }
}

/* Timeline Responsive */
@media (max-width: 575.98px) {
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        width: 8px;
        height: 8px;
    }
    
    .timeline-item::after {
        left: 3px;
    }
}

/* Blog Grid Responsive */
@media (max-width: 767.98px) {
    .blog-section .row .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Price Plans Responsive */
@media (max-width: 991.98px) {
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .price-card {
        margin-bottom: 2rem;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
    .breadcrumb {
        font-size: 0.93rem;
    }
    
    .breadcrumb-item img {
        width: 14px;
        height: 14px;
    }
}

/* Space Dashboard Responsive */
@media (max-width: 767.98px) {
    #space {
        padding: 2rem 0;
    }
    
    #space .bg-light {
        padding: 2rem 1rem !important;
    }
    
    #space .fa-5x {
        font-size: 3rem !important;
    }
}

/* Additional Page Content Responsive */
@media (max-width: 767.98px) {
    .additional-page .row .col-md-6 {
        margin-bottom: 2rem;
    }
    
    .additional-page .row .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Utility Classes for Responsive */
@media (max-width: 575.98px) {
    .d-sm-none { display: none !important; }
    .text-sm-center { text-align: center !important; }
    .mb-sm-3 { margin-bottom: 1rem !important; }
    .py-sm-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
}

@media (max-width: 767.98px) {
    .d-md-none { display: none !important; }
    .text-md-center { text-align: center !important; }
    .mb-md-3 { margin-bottom: 1rem !important; }
    .py-md-4 { padding-top: 1.60rem !important; padding-bottom: 1.58rem !important; }
}

@media (max-width: 991.98px) {
    .d-lg-none { display: none !important; }
    .text-lg-center { text-align: center !important; }
    .mb-lg-3 { margin-bottom: 1rem !important; }
}

/* Print Responsive */
@media print {
    * {
        color: black !important;
        background: white !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: black !important;
    }
    
    .card {
        border: 1px solid #c4c4c4 !important;
        box-shadow: none !important;
    }
    
    .btn {
        border: 1px solid #dddddd !important;
        background: white !important;
        color: black !important;
    }
    
    a {
        text-decoration: underline !important;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    .row {
        margin: 0 !important;
    }
    
    .col, [class*="col-"] {
        padding: 0 !important;
        float: none !important;
        width: 100% !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image,
    .service-image,
    .gallery-image,
    .team-image,
    .blog-image,
    .case-study-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Portrait Orientation */
@media (orientation: portrait) and (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .gallery-image {
        height: 180px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .btn-outline-primary:hover {
        transform: none;
    }
    
    .gallery img:hover {
        transform: none;
    }
    
    .breadcrumb-item:hover img {
        transform: none;
    }
} 