/* Responsive CSS for Fairy Garden Website */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section h1 {
        font-size: 2.15rem;
    }
    
    .hero-section h2 {
        font-size: 1.38rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 2.36rem;
    }
    
    .hero-section h2 {
        font-size: 1.47rem;
    }
    
    .service-card .card-body {
        padding: 2rem;
    }
    
    .price-card {
        padding: 2.5rem 2rem;
    }
    
    .contact-form {
        padding: 3rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 2.64rem;
    }
    
    .hero-section h2 {
        font-size: 1.60rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 15px;
    }
    
    .col-lg-2-4 {
        width: 20%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.06rem;
    }
    
    .hero-section h2 {
        font-size: 1.76rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
    /* Typography adjustments */
    .hero-section h1 {
        font-size: 1.76rem;
        margin-bottom: 0.88rem;
    }
    
    .hero-section h2 {
        font-size: 1.18rem;
        margin-bottom: 0.88rem;
    }
    
    .hero-section p {
        font-size: 1.05rem;
        margin-bottom: 1.66rem;
    }
    
    /* Section titles */
    h2 {
        font-size: 1.76rem;
    }
    
    h3 {
        font-size: 1.38rem;
    }
    
    h4 {
        font-size: 1.18rem;
    }
    
    /* Card adjustments */
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        padding: 1.25rem;
        margin-bottom: 1.66rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.38rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
    
    /* Price cards mobile */
    .price-card.featured {
        transform: none;
        border: 2px solid var(--accent-gold);
    }
    
    .price-tag {
        font-size: 1.76rem;
    }
    
    /* Team members on mobile */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.38rem;
    }
    
    /* Timeline mobile */
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Gallery mobile */
    .gallery-section img {
        margin-bottom: 1.20rem;
    }
    
    /* Footer mobile */
    .footer-section {
        text-align: center;
    }
    
    .footer-section .col-lg-4 {
        margin-bottom: 2.13rem;
    }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
        margin-bottom: 2.13rem;
    }
    
    .hero-section {
  padding-top: 50px;
        padding: 60px 0;
    }
    
    .service-card img,
    .case-study-card img,
    .blog-card img {
        height: 180px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer-section,
    .btn,
    .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
  padding-top: 50px;
        background: none !important;
        color: black !important;
        page-break-after: always;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black !important;
    }
    
    .card,
    .feature-card,
    .service-card,
    .price-card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card img,
    .case-study-card img,
    .blog-card img,
    .gallery-section img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
  padding-top: 50px;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.60rem;
    }
    
    .hero-section h2 {
        font-size: 1.05rem;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-card,
    .info-card,
    .blog-card {
        border: 2px solid var(--dark-gray);
    }
    
    .btn-primary {
        border: 2px solid var(--dark-gray);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-member:hover,
    .review-card:hover,
    .case-study-card:hover,
    .process-step:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .gallery-section img:hover {
        transform: none;
    }
}

