/* LinkedIn Ghostwriting Pro - Responsive CSS */
/* Mobile-first responsive design with progressive enhancement */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-section .container {
        padding: 0 1rem;
    }
    
    /* Cards */
    .feature-card, .service-card, .price-card, .review-card, 
    .case-study-card, .career-card, .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-item, .core-info-card {
        padding: 1.5rem 1rem;
    }
    
    /* Team Section */
    .team-member {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .process-step::after {
        display: none;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    /* Timeline */
    .timeline-container {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    /* Footer */
    footer .col-lg-3 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .row:last-child {
        text-align: center;
    }
    
    /* Gallery in Footer */
    footer .row .col-4 {
        margin-bottom: 0.5rem;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography */
    .display-4 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
    }
    
    /* Process Steps */
    .process-step::after {
        display: none;
    }
    
    /* Team Grid */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Services Grid */
    .service-card {
        height: auto;
        min-height: 400px;
    }
    
    /* Button adjustments */
    .btn {
        width: auto;
        display: inline-block;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Typography */
    .display-4 {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2.125rem;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        margin: 0 0.25rem;
        padding: 0.5rem 0.75rem !important;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 85vh;
    }
    
    /* Process Steps */
    .process-step::after {
        width: 50%;
        right: -25%;
    }
    
    /* Team Layout */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Services Layout */
    .service-card {
        height: 100%;
        min-height: 450px;
    }
    
    /* Price Cards */
    .price-card {
        height: 100%;
        min-height: 400px;
    }
    
    /* Contact Section */
    .contact-form {
        margin-bottom: 0;
    }
    
    /* FAQ */
    .accordion {
        max-width: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section {
        min-height: 90vh;
    }
    
    /* Process Steps Connector */
    .process-step::after {
        width: 80%;
        right: -40%;
    }
    
    /* Services Grid */
    .service-card {
        min-height: 480px;
    }
    
    /* Team Grid - 5 columns layout */
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    /* Features Grid */
    .feature-item {
        min-height: 280px;
    }
    
    /* Core Info Grid */
    .core-info-card {
        min-height: 300px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Typography */
    .display-4 {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Container adjustments */
    .container {
        max-width: 1140px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
    }
    
    /* Process Steps */
    .process-step::after {
        width: 100%;
        right: -50%;
    }
    
    /* Cards Heights */
    .service-card {
        min-height: 500px;
    }
    
    .price-card {
        min-height: 450px;
    }
    
    .feature-item {
        min-height: 300px;
    }
    
    .core-info-card {
        min-height: 320px;
    }
    
    /* Team spacing */
    .team-member {
        margin-bottom: 1rem;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 120vh;
        padding: 1rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .display-4 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp rendering on high DPI displays */
    .section-title::after {
        height: 3px;
    }
    
    .timeline-container::before {
        width: 3px;
    }
    
    .timeline-item::before {
        border-width: 2px;
    }
}

/* Dark mode support */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .feature-card:hover, .service-card:hover, .price-card:hover, 
    .review-card:hover, .case-study-card:hover, .career-card:hover, .blog-card:hover {
        transform: none;
    }
    
    .feature-item:hover, .core-info-card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .btn-outline-primary:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    .breadcrumb-item:hover img {
        transform: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .btn {
        min-height: 44px;
        padding: 0.875rem 2rem;
    }
    
    .navbar-nav .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem !important;
    }
    
    .form-control {
        min-height: 44px;
        padding: 0.875rem 1.25rem;
    }
    
    /* Remove hover effects on touch devices */
    .feature-card:hover, .service-card:hover, .price-card:hover, 
    .review-card:hover, .case-study-card:hover, .career-card:hover, 
    .blog-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .feature-item:hover, .core-info-card:hover {
        background: transparent;
        transform: none;
    }
}

/* Print-specific responsive adjustments */
@media print {
    /* Ensure proper layout for printing */
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
    
    .row {
        margin: 0 !important;
    }
    
    .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .py-5 {
        padding: 1rem 0 !important;
    }
    
    .feature-card, .service-card, .price-card, .review-card, 
    .case-study-card, .career-card, .blog-card {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Accessibility improvements for larger text */
@media (min-width: 1400px) {
    /* Extra space for better readability on large screens */
    .container {
        max-width: 1320px;
    }
    
    body {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    .lead {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 2.75rem;
        margin-bottom: 2.5rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    /* Increased spacing for better visual hierarchy */
    .py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
    
    /* Card adjustments for larger screens */
    .feature-item, .core-info-card {
        padding: 2.5rem;
        min-height: 350px;
    }
    
    .service-card {
        min-height: 550px;
    }
    
    .contact-info {
        padding: 2.5rem;
    }
} 