/* EventCraft - Responsive CSS */
/* Mobile-first approach with conservative font sizes */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 4rem;
    }
    
    .hero-content h2 {
        font-size: 1.80rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 3.55rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.75rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .price-card.featured {
        transform: scale(1.05);
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.53rem;
    }
    
    .navbar-brand {
        font-size: 1.63rem;
    }
    
    .service-image, .case-image, .venue-image, .blog-image {
        height: 200px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 2.53rem;
    }
    
    .hero-content h2 {
        font-size: 1.35rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    /* Conservative font sizes for mobile */
    .navbar-brand {
        font-size: 1.38rem !important;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-content h2 {
        font-size: 1.22rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    h1 { font-size: 1.85rem !important; }
    h2 { font-size: 1.60rem !important; }
    h3 { font-size: 1.39rem !important; }
    h4 { font-size: 1.16rem !important; }
    h5 { font-size: 1rem !important; }
    
    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Hero Section */
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 80px 0 2rem;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    /* Cards */
    .feature-card, .service-card, .element-card, .package-card, 
    .timeline-card, .venue-card, .testimonial-card, .review-card, 
    .info-card, .case-card, .career-card, .blog-card {
        padding: 1.5rem;
        margin-bottom: 1.73rem;
    }
    
    .feature-card:hover, .service-card:hover, .element-card:hover, 
    .package-card:hover, .timeline-card:hover, .venue-card:hover, 
    .testimonial-card:hover, .review-card:hover, .info-card:hover, 
    .case-card:hover, .career-card:hover, .blog-card:hover {
        transform: none;
    }
    
    /* Service images */
    .service-image, .case-image, .venue-image, .blog-image {
        height: 180px;
        margin-bottom: 1rem;
    }
    
    /* Price cards */
    .price-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.64rem;
    }
    
    .price-card.featured {
        transform: none;
        border-width: 3px;
    }
    
    .price {
        font-size: 2rem;
    }
    
    /* Team */
    .team-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .team-member {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-year, .step-number {
        position: static;
        display: inline-block;
        margin-bottom: 0.66rem;
    }
    
    /* Gallery */
    .gallery-image {
        height: 150px;
        margin-bottom: 0.60rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 1rem;
        font-size: 1.00rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1.00rem;
    }
    
    /* Shapes - hide on mobile for performance */
    .hero-shapes {
        display: none;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.67rem !important;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        padding: 1rem 0;
        margin-top: 70px;
    }
    
    .breadcrumb-image {
        height: 24px;
    }
}

/* Tablets in portrait mode */
@media (max-width: 991.98px) and (min-width: 768px) {
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 2.81rem;
    }
    
    .navbar-brand {
        font-size: 1.44rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Tablets in landscape and small laptops */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 3.36rem;
    }
    
    .service-image, .case-image, .venue-image, .blog-image {
        height: 180px;
    }
    
    .team-photo {
        width: 130px;
        height: 130px;
    }
}

/* Print styles */
@media print {
    .navbar, .hero-shapes, .btn, .contact-form, 
    .breadcrumb-section, script {
        display: none !important;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        background: white !important;
        color: black !important;
    }
    
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .page-section {
        break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    .card, .feature-card, .service-card {
        break-inside: avoid;
        border: 1px solid #dcdcdc !important;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 60px 0 1rem;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.22rem;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-image, .case-image, .venue-image, .blog-image, 
    .gallery-image, .team-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-shapes .shape-1, .hero-shapes .shape-2 {
        animation: none !important;
    }
    
    .feature-card:hover, .service-card:hover, .element-card:hover, 
    .package-card:hover, .timeline-card:hover, .venue-card:hover, 
    .testimonial-card:hover, .review-card:hover, .info-card:hover, 
    .case-card:hover, .career-card:hover, .blog-card:hover {
        transform: none !important;
    }
    
    .btn-primary:hover {
        transform: none !important;
    }
    
    .gallery-image:hover {
        transform: none !important;
    }
}



/* Focus states for accessibility */
@media (any-pointer: fine) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Touch device optimizations */
@media (any-pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-control {
        min-height: 44px;
    }
}
