/* GhostWrite Pro - Responsive CSS */

/* Tablet Styles */
@media (max-width: 991.98px) {
    /* Typography Adjustments */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3, h4 {
        font-size: 1.4rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-shapes .shape-1 {
        width: 120px;
        height: 120px;
    }
    
    .hero-shapes .shape-2 {
        width: 80px;
        height: 80px;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Service Cards */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Team Photos */
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Contact Info */
    .contact-info {
        padding: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
    /* Typography for Mobile */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3, h4 {
        font-size: 1.25rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .hero-shapes .shape-1 {
        width: 80px;
        height: 80px;
        top: 5%;
        right: 5%;
    }
    
    .hero-shapes .shape-2 {
        width: 60px;
        height: 60px;
        bottom: 10%;
        left: 5%;
    }
    
    /* Remove mobile animations for performance */
    @media (prefers-reduced-motion: no-preference) {
        .hero-section .shape-1,
        .hero-section .shape-2 {
            animation: none;
        }
        
        .feature-card:hover,
        .service-card:hover,
        .pricing-card:hover,
        .review-card:hover,
        .blog-card:hover {
            transform: none;
        }
    }
    
    /* Cards and Components */
    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Team Section Mobile */
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    /* Process Steps Mobile */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .process-step {
        margin-bottom: 1.5rem;
    }
    
    /* Timeline Mobile */
    .timeline-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Career Cards Mobile */
    .career-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    /* Info Cards Mobile */
    .info-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    /* Blog Cards Mobile */
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    /* FAQ Cards Mobile */
    .faq-card .card-body {
        padding: 1.25rem;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .contact-item {
        margin-bottom: 1.25rem;
    }
    
    .contact-item i {
        font-size: 1.25rem;
    }
    
    /* Button Adjustments */
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Price Display */
    .price {
        font-size: 1.25rem;
    }
    
    /* Feature Items Mobile */
    .feature-item {
        text-align: center;
        flex-direction: column;
        margin-bottom: 1.5rem;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }
    
    /* Additional Pages Mobile */
    .strategy-item,
    .seo-item,
    .industry-item,
    .content-type-item,
    .qa-item,
    .standard-item,
    .metric-item,
    .pm-item,
    .tech-item,
    .support-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    /* Case Study Cards Mobile */
    .case-study-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Space Page Mobile */
    #space {
        min-height: 60vh;
        margin-top: 70px;
    }
    
    /* Footer Mobile */
    footer {
        text-align: center;
    }
    
    footer .row > div {
        margin-bottom: 1.5rem;
    }
    
    footer .text-end {
        text-align: center !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
    /* Further Typography Reduction */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3, h4 {
        font-size: 1.2rem;
    }
    
    /* Container Padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Section Small Mobile */
    .hero-section {
        padding: 1rem 0;
    }
    
    /* Cards Padding Reduction */
    .feature-card,
    .service-content,
    .pricing-card,
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
    
    .strategy-item,
    .seo-item,
    .industry-item,
    .content-type-item,
    .qa-item,
    .standard-item,
    .metric-item,
    .pm-item,
    .tech-item,
    .support-item {
        padding: 1rem;
    }
    
    /* Team Grid Adjustment */
    .team-member {
        text-align: center;
    }
    
    /* Gallery Grid */
    .gallery-image {
        margin-bottom: 1rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        padding: 1rem 0;
    }
    
    /* Space Page Small Mobile */
    #space {
        margin-top: 60px;
        min-height: 50vh;
    }
}

/* Landscape Phone Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
    }
    
    #space {
        min-height: 40vh;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .team-photo,
    .gallery-image,
    .blog-image,
    .service-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-shapes,
    footer,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero-section {
        background: #fff !important;
    }
    
    .card,
    .feature-card,
    .service-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}

.hero-section h1 {
    padding-top: 250px;
}