/* Responsive CSS for Event Management Company */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Header */
    .header .container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Services Grid */
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    /* Reviews Section */
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    /* FAQ Section */
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    /* Contact Section */
    #contact-form {
        margin-top: 2rem;
    }
    
    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    h4 {
        font-size: 1.25rem !important;
    }
    
    /* Header */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    /* Mobile Menu Button */
    #mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
    }
    
    /* Hero Section */
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    .hero .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    /* Overview Section */
    .py-16 {
        padding: 3rem 0;
    }
    
    .text-lg {
        font-size: 1rem !important;
    }
    
    /* Services Section */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 0;
    }
    
    .service-card img {
        height: 10rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem !important;
    }
    
    /* Reviews Section */
    .review-card {
        margin-bottom: 1rem;
    }
    
    .review-card .flex {
        flex-wrap: wrap;
    }
    
    /* FAQ Section */
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    /* Contact Section */
    .grid-cols-1.lg\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    #contact-form {
        margin-top: 2rem;
    }
    
    #contact-form .grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        font-size: 16px;
        padding: 0.875rem;
    }
    
    /* Footer */
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    footer h3,
    footer h4 {
        font-size: 1.1rem !important;
    }
    
    /* Mobile Menu Styles */
    #mobile-menu {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow);
    }
    
    .mobile-dropdown-btn {
        width: 100%;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-dropdown-content {
        background: var(--bg-light);
        border-radius: 0.5rem;
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    .mobile-dropdown-content a {
        display: block;
        padding: 0.5rem 0;
        color: var(--text-light);
        text-decoration: none;
    }
    
    /* Utility Classes */
    .hidden.md\\:grid-cols-2,
    .hidden.lg\\:grid-cols-3 {
        display: none !important;
    }
    
    .text-center {
        text-align: center !important;
    }
    
    .mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-16 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-12 {
        margin-bottom: 2rem !important;
    }
    
    .max-w-3xl,
    .max-w-4xl {
        max-width: 100% !important;
    }
    
    /* Aspect Ratio for Maps */
    .aspect-w-16.aspect-h-9 {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
    }
    
    .aspect-w-16.aspect-h-9 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
    }
    
    p {
        font-size: 0.875rem !important;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero p {
        font-size: 0.875rem !important;
    }
    
    /* Services Section */
    .service-card {
        margin: 0;
    }
    
    .service-card h3 {
        font-size: 1rem !important;
    }
    
    .service-card p {
        font-size: 0.875rem !important;
    }
    
    .service-card ul li {
        font-size: 0.75rem !important;
    }
    
    /* Reviews Section */
    .review-card {
        padding: 1.25rem;
    }
    
    .review-card h4 {
        font-size: 0.875rem !important;
    }
    
    .review-card p {
        font-size: 0.75rem !important;
    }
    
    /* FAQ Section */
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-item h3 {
        font-size: 0.875rem !important;
    }
    
    .faq-item p {
        font-size: 0.75rem !important;
    }
    
    /* Contact Form */
    #contact-form {
        padding: 0;
    }
    
    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary {
        font-size: 0.875rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Footer */
    footer {
        padding: 2rem 0 !important;
    }
    
    footer h3,
    footer h4 {
        font-size: 1rem !important;
    }
    
    footer p,
    footer a {
        font-size: 0.75rem !important;
    }
}

/* Large Desktop Styles (min-width: 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem !important;
    }
    
    .hero p {
        font-size: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.375rem !important;
    }
    
    .service-card p {
        font-size: 1rem !important;
    }
    
    .review-card h4 {
        font-size: 1.125rem !important;
    }
    
    .faq-item h3 {
        font-size: 1.25rem !important;
    }
    
    .faq-item p {
        font-size: 1rem !important;
    }
}

/* Ultra-Wide Screens (min-width: 1920px) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    .hero h1 {
        font-size: 5rem !important;
    }
    
    .hero p {
        font-size: 1.75rem !important;
    }
    
    .service-card h3 {
        font-size: 1.5rem !important;
    }
    
    .service-card p {
        font-size: 1.125rem !important;
    }
    
    .review-card h4 {
        font-size: 1.25rem !important;
    }
    
    .faq-item h3 {
        font-size: 1.375rem !important;
    }
    
    .faq-item p {
        font-size: 1.125rem !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f9fafb;
        --text-light: #d1d5db;
        --bg-light: #1f2937;
        --bg-white: #374151;
        --border-color: #4b5563;
    }
    
    body {
        background: var(--bg-light);
        color: var(--text-dark);
    }
    
    .bg-white {
        background: var(--bg-white) !important;
    }
    
    .bg-gray-50 {
        background: var(--bg-light) !important;
    }
    
    .text-gray-800 {
        color: var(--text-dark) !important;
    }
    
    .text-gray-600 {
        color: var(--text-light) !important;
    }
    
    .text-gray-700 {
        color: var(--text-dark) !important;
    }
    
    .border-gray-300 {
        border-color: var(--border-color) !important;
    }
    
    .shadow {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
    }
    
    .shadow-lg {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
    }
    
    .shadow-xl {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3) !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card:hover,
    .review-card:hover,
    .faq-item:hover {
        transform: none !important;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--text-dark);
    }
    
    .btn-secondary {
        border: 2px solid white;
    }
    
    .service-card,
    .review-card,
    .faq-item {
        border: 2px solid var(--border-color);
    }
    
    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        border: 2px solid var(--text-dark);
    }
}

/* Print Media Queries */
@media print {
    @page {
        margin: 1in;
        size: A4;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .header,
    .hero-pattern,
    #mobile-menu-btn,
    .btn-primary,
    .btn-secondary,
    footer {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .hero h1,
    .hero p {
        color: black !important;
        text-shadow: none !important;
    }
    
    .service-card,
    .review-card,
    .faq-item {
        border: 1px solid black !important;
        break-inside: avoid;
        margin-bottom: 1rem !important;
    }
    
    .grid {
        display: block !important;
    }
    
    .service-card {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        break-after: avoid;
    }
    
    p {
        orphans: 3;
        widows: 3;
    }
}