/* Responsive CSS for Event Planning Template */

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .service-card, .price-card {
        height: 100%;
    }
}

/* Large Devices (Desktops, 997px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.59rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.42rem;
    }
    
    .navbar-brand {
        font-size: 1.35rem;
    }
    
    .nav-link {
        margin: 0 0.3rem;
        font-size: 1.04rem;
    }
    
    .team-member {
        margin-bottom: 3rem;
    }
    
    .team-member img {
        width: 90px;
        height: 90px;
    }
    
    .process-step {
        margin-bottom: 3rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.31rem;
    }
    
    .gallery-section img {
        height: 200px;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        text-align: center;
        padding-bottom: 3rem;
    }
    
    .hero-section h1 {
        font-size: 2.52rem;
        margin-bottom: 1.71rem;
    }
    
    .hero-section h2 {
        font-size: 1.34rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 1.82rem;
        text-align: center;
    }
    
    h3 {
        font-size: 1.44rem;
        text-align: center;
    }
    
    .service-card, .price-card, .review-card, .casestudy-card, .career-card, .info-card, .blog-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .team-member {
        text-align: center;
        margin-bottom: 2.63rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .feature-item {
        margin-bottom: 1.57rem;
        padding: 1.5rem;
    }
    
    .feature-item i {
        font-size: 2.60rem;
    }
    
    .process-step {
        margin-bottom: 2.71rem;
    }
    
    .step-number {
        width: 49px;
        height: 45px;
        font-size: 1.14rem;
    }
    
    .contact-form input, .contact-form textarea {
        padding: 0.8rem;
        font-size: 1.00rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-item i {
        font-size: 1.39rem;
    }
    
    .gallery-section img {
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1.04rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .price-card.featured {
        transform: scale(1);
        margin-bottom: 2rem;
    }
    
    .price {
        font-size: 1.88rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        text-align: center;
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-section h2 {
        font-size: 1.17rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.71rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.23rem;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
        font-size: 1.02rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 {
        font-size: 1.90rem;
    }
    
    h2 {
        font-size: 1.64rem;
        text-align: center;
        margin-bottom: 1.72rem;
    }
    
    h3 {
        font-size: 1.26rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    h4 {
        font-size: 1.21rem;
    }
    
    p {
        font-size: 1.02rem;
        text-align: center;
    }
    
    .service-card, .price-card, .review-card, .casestudy-card, .career-card, .info-card, .blog-card {
        margin-bottom: 1.63rem;
        padding: 1.2rem;
        border-radius: 10px;
    }
    
    .service-card img, .casestudy-card img, .blog-card img {
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }
    
    .team-member h4 {
        font-size: 1rem;
        margin-bottom: 0.41rem;
    }
    
    .team-member p {
        font-size: 0.90rem;
        margin-bottom: 0;
    }
    
    .feature-item {
        margin-bottom: 1.64rem;
        padding: 1.2rem;
    }
    
    .feature-item i {
        font-size: 2rem;
        margin-bottom: 0.92rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.94rem;
    }
    
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 35px;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item::before {
        left: 15px;
    }
    
    .timeline-content {
        padding: 1.2rem;
        border-radius: 8px;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .contact-form input, .contact-form textarea {
        padding: 0.7rem;
        font-size: 0.93rem;
        border-radius: 8px;
    }
    
    .contact-form label {
        font-size: 1.00rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.97rem;
        border-radius: 25px;
    }
    
    .contact-info {
        padding: 1.2rem;
        margin-top: 1.74rem;
        border-radius: 10px;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        font-size: 1.34rem;
        margin-right: 0.8rem;
        width: 20px;
    }
    
    .contact-item p {
        font-size: 1.00rem;
        margin: 0;
        text-align: left;
    }
    
    .gallery-section img {
        height: 150px;
        margin-bottom: 0.74rem;
    }
    
    .accordion-item {
        margin-bottom: 0.93rem;
        border-radius: 8px;
    }
    
    .accordion-button {
        padding: 0.8rem;
        font-size: 0.98rem;
    }
    
    .accordion-body {
        padding: 0.8rem;
        font-size: 0.93rem;
    }
    
    .price-card.featured {
        transform: scale(1);
        margin-bottom: 1.75rem;
    }
    
    .price-card.featured::before {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        top: -12px;
    }
    
    .price {
        font-size: 1.58rem;
        margin-top: 1.05rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer h3, .footer h4 {
        font-size: 1.20rem;
        margin-bottom: 1rem;
    }
    
    .footer ul li {
        margin-bottom: 0.49rem;
    }
    
    .footer ul li a {
        font-size: 1.03rem;
    }
    
    .breadcrumb-nav {
        padding: 0.8rem 0;
    }
    
    .breadcrumb-icon {
        width: 25px;
        height: 25px;
    }
    
    .space-container {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .page-section {
        padding: 2.5rem 0;
    }
    
    /* Blog specific adjustments */
    .blog-card h4 {
        font-size: 1rem;
        margin-bottom: 0.57rem;
    }
    
    .blog-card p {
        font-size: 0.86rem;
        text-align: left;
        margin-bottom: 0.99rem;
    }
    
    .blog-card a {
        font-size: 0.85rem;
        font-weight: 600;
    }
    
    /* FAQ question spacing */
    .accordion-button span {
        line-height: 1.3;
    }
    
    /* Review cards on mobile */
    .review-card::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
    
    .review-card p {
        text-align: left;
        font-size: 0.97rem;
        padding-left: 1rem;
    }
    
    .review-card h5 {
        font-size: 0.95rem;
        text-align: right;
        margin-bottom: 0;
    }
}

/* Landscape Phone Specific */
@media (max-width: 575.98px) and (orientation: landscape) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.94rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.3rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card img, .casestudy-card img, .blog-card img, .team-member img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Adjustments */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover, .price-card:hover, .review-card:hover, 
    .casestudy-card:hover, .career-card:hover, .info-card:hover, 
    .blog-card:hover, .feature-item:hover {
        transform: none;
        box-shadow: 0 5px 25px var(--shadow-light);
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .gallery-section img:hover {
        transform: none;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Focus Styles for Accessibility */
@media (max-width: 575.98px) {
    .nav-link:focus, .btn:focus, 
    .contact-form input:focus, .contact-form textarea:focus,
    .accordion-button:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px var(--primary-color);
    }
} 