/* Responsive CSS for EstateNavigo Concierge Service Template */

/* Desktop First Approach - Bootstrap 5 Breakpoints */

/* Extra Large devices (1200px and up) - Bootstrap xl */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Large devices (992px to 1199px) - Bootstrap lg */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Medium devices (768px to 991px) - Bootstrap md */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

/* Small devices (576px to 767px) - Bootstrap sm */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

/* Mobile devices (below 576px) - Bootstrap xs */
@media (max-width: 575.98px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography for mobile */
    h1, .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2, .section-title {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Section spacing */
    .section {
        padding: 2.5rem 0;
    }
    
    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 100vh;
        padding: 1rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    /* Hide decorative elements */
    .hero-shape {
        display: none;
    }
    
    /* Cards */
    .custom-card {
        margin-bottom: 1.5rem;
    }
    
    .custom-card .card-body {
        padding: 1.25rem;
    }
    
    /* Services */
    .services-card .card-img-top {
        height: 180px;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    /* Team */
    .team-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
    }
    
    /* Process */
    .process-step {
        padding: 1.5rem 0.5rem;
        margin-bottom: 2rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
        text-align: center;
    }
    
    .footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

/* Tablet devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography adjustments */
    h1, .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    h2, .section-title {
        font-size: 1.75rem;
    }
    
    /* Layout */
    .section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 1rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Cards and components */
    .custom-card .card-body {
        padding: 1.5rem;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Navigation menu for mobile and tablet */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    h1, .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .swiper-pagination,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .custom-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #000080;
        --primary-gold: #b8860b;
        --primary-green: #006400;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
    
    .custom-card {
        border: 2px solid var(--text-primary);
    }
    
    .btn-primary {
        border: 2px solid var(--text-primary);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e2e8f0;
        --text-secondary: #a0aec0;
        --text-light: #718096;
        --light-gray: #2d3748;
        --text-white: #1a202c;
    }
    
    body {
        background-color: #1a202c;
        color: var(--text-primary);
    }
    
    .custom-card {
        background: #2d3748;
        color: var(--text-primary);
    }
    
    .contact-form {
        background: #2d3748;
    }
    
    .form-control {
        background: #4a5568;
        border-color: #4a5568;
        color: var(--text-primary);
    }
} 