/* Responsive Design - Enhanced for iPhone 11 Safari */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .sports-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 80px 0 2rem;
        gap: 1rem;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1.2rem 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 60px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-img {
        height: 300px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* Hero Slider */
    .hero-slide .hero-container {
        padding: 0 20px;
    }
    
    .hero-controls {
        padding: 0 20px;
    }
    
    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .sports {
        padding: 60px 0;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .sport-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .partnership {
        padding: 60px 0;
    }
    
    .partnership-content h2 {
        font-size: 2rem;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* WhatsApp Button */
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
        z-index: 999;
    }
    
    .court-grid {
        display: block;
    }
    .court-info {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 0 4px;
    }
    .court-gallery {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        margin: 20px 0 0 0;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .court-gallery::-webkit-scrollbar {
        display: none;
    }
    .court-img {
        min-width: 80vw;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    .court-feature {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(31,41,55,0.04);
        padding: 12px 10px;
    }
    .court-feature i {
        font-size: 1.5rem;
        color: #dc2626;
        margin-top: 2px;
        flex-shrink: 0;
    }
    .court-feature h3 {
        margin: 0 0 2px 0;
        font-size: 1.1rem;
    }
    .court-feature p {
        margin: 0;
        font-size: 0.97rem;
        color: #6b7280;
    }
    .court-slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 8px 0 0 0;
    }
    .court-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        transition: background 0.2s;
        display: inline-block;
    }
    .court-slider-dot.active {
        background: #dc2626;
    }
    
    .form-container {
        display: block;
    }
    .contact-form,
    .form-info {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
    .about-story-content {
        display: block;
    }
    .about-story-image {
        display: none;
    }
    
    .corporate-content,
    .family-content {
        display: block;
    }
    .corporate-info,
    .corporate-pricing,
    .family-info,
    .family-pricing {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
    .pricing-table {
        margin-bottom: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .sports-grid {
        padding: 0 15px;
    }
    
    .sport-content {
        padding: 1.5rem;
    }
    
    .sport-content h3 {
        font-size: 1.5rem;
    }
    
    .partnership-content h2 {
        font-size: 1.8rem;
    }
    
    .partnership-content p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Form improvements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        min-height: 44px;
    }
    
    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    /* Contact cards */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 8px 18px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-img {
        height: 200px;
    }
    
    .nav-menu {
        padding: 60px 0 1rem;
    }
}

/* iPhone 11 Specific Fixes */
@media screen and (max-width: 414px) and (max-height: 896px) {
    .hero {
        padding-top: 70px;
    }
    
    .nav-menu {
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-img,
    .sport-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .nav-menu {
        height: -webkit-fill-available;
    }
    
    /* Fix for Safari viewport height issues */
    .hero-container {
        min-height: calc(100vh - 70px);
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-btn,
    .footer {
        display: none;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto;
        padding: 20px 0;
    }
    
    .btn {
        border: 1px solid black;
        background: white !important;
        color: black !important;
    }
}

/* Additional Mobile Improvements */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
  /* (Removed all hero, hero-slider, hero-slide, hero-title, hero-subtitle, hero-img, and hero-container mobile overrides to restore Home page hero slider) */
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 12px 25px;
    }
    
    .nav-link {
        padding: 15px 0;
    }
    
    .feature-card,
    .sport-card,
    .pricing-card,
    .membership-card,
    .contact-card {
        cursor: pointer;
    }
    
    .hero-prev, .hero-next {
        min-width: 44px;
        min-height: 44px;
    }
    
    .dot {
        min-width: 12px;
        min-height: 12px;
    }
}

/* Premium Event Packages Styles */
.premium-packages {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.package-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.package-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.package-price {
    margin-bottom: 1rem;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
}

.package-availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.package-content {
    padding: 2rem;
}

.package-ideal-for,
.package-purpose,
.package-features,
.package-includes {
    margin-bottom: 1.5rem;
}

.package-content h4 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.package-content p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.package-content ul {
    list-style: none;
    padding: 0;
}

.package-content ul li {
    color: #6b7280;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.package-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

.package-addon {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.package-addon p {
    margin: 0;
    color: #374151;
    font-size: 0.9rem;
}

.package-image {
    height: 200px;
    overflow: hidden;
}

.package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-card:hover .package-img {
    transform: scale(1.05);
}

/* Add-On Services Styles */
.addon-services {
    padding: 5rem 0;
    background: white;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.addon-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.addon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.addon-icon {
    width: 60px;
    height: 60px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.addon-card h3 {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.addon-price {
    color: #dc2626;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.addon-card p:last-child {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .package-card {
        margin-bottom: 1rem;
    }
    
    .package-header {
        padding: 1.5rem;
    }
    
    .package-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .package-title {
        font-size: 1.5rem;
    }
    
    .price-range {
        font-size: 1.3rem;
        padding: 0.4rem 0.8rem;
    }
    
    .package-content {
        padding: 1.5rem;
    }
    
    .package-content h4 {
        font-size: 1rem;
    }
    
    .package-content ul li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    
    .addon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .addon-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Hero Slider Mobile Fixes */
    .hero-slider {
        height: auto;
        min-height: 100vh;
        padding-top: 80px; /* Account for fixed header */
    }
    
    .hero-slide {
        position: relative;
        height: auto;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
    }
    
    .hero-slide .hero-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
        height: auto;
    }
    
    .hero-slide .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-slide .hero-image {
        max-width: 100%;
        order: 2;
    }
    
    .hero-slide .hero-img {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 10px;
    }
    
    .hero-controls {
        padding: 0 1rem;
    }
    
    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hero-dots {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .package-header {
        padding: 1rem;
    }
    
    .package-content {
        padding: 1rem;
    }
    
    .package-title {
        font-size: 1.3rem;
    }
    
    .price-range {
        font-size: 1.1rem;
    }
    
    .addon-card {
        padding: 1rem;
    }
    
    .addon-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Hero Slider Small Mobile Fixes */
    .hero-slider {
        padding-top: 70px;
    }
    
    .hero-slide {
        min-height: calc(100vh - 70px);
    }
    
    .hero-slide .hero-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .hero-slide .hero-img {
        max-width: 350px;
    }
    
    .hero-controls {
        padding: 0 0.5rem;
    }
    
    .hero-prev, .hero-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero-dots {
        bottom: 0.5rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Responsive Design - Enhanced for All Major Mobile Devices (2020-2024) */

/* Device-Specific Breakpoints for Major Phones */

/* iPhone 15 Pro Max, 15 Plus, 14 Pro Max, 14 Plus, 13 Pro Max, 13, 12 Pro Max, 12, 11 Pro Max, 11, XS Max, XR */
@media screen and (max-width: 430px) and (max-height: 932px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-slide .hero-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .hero-slide .hero-img {
        max-width: 320px;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* iPhone 15 Pro, 14 Pro, 13 Pro, 12 Pro, 11 Pro, XS, X */
@media screen and (max-width: 390px) and (max-height: 844px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-slide .hero-img {
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* iPhone SE (3rd gen), SE (2nd gen) */
@media screen and (max-width: 375px) and (max-height: 667px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-slide .hero-img {
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
        min-height: 42px;
    }
    
    .hero-slider {
        padding-top: 60px;
    }
    
    .hero-slide {
        min-height: calc(100vh - 60px);
    }
}

/* Samsung Galaxy S24 Ultra, S23 Ultra, S22 Ultra, S21 Ultra */
@media screen and (max-width: 412px) and (max-height: 915px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-slide .hero-img {
        max-width: 340px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
}

/* Samsung Galaxy S24+, S23+, S22+, S21+ */
@media screen and (max-width: 384px) and (max-height: 854px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-slide .hero-img {
        max-width: 310px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Samsung Galaxy S24, S23, S22, S21, S20 */
@media screen and (max-width: 360px) and (max-height: 800px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-slide .hero-img {
        max-width: 290px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}

/* Google Pixel 8 Pro, 7 Pro, 6 Pro */
@media screen and (max-width: 412px) and (max-height: 892px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.98rem;
    }
    
    .hero-slide .hero-img {
        max-width: 330px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
}

/* Google Pixel 8, 7, 6 */
@media screen and (max-width: 393px) and (max-height: 851px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.92rem;
    }
    
    .hero-slide .hero-img {
        max-width: 305px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* OnePlus 12, 11, 10 Pro, 9 Pro */
@media screen and (max-width: 450px) and (max-height: 1000px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-slide .hero-img {
        max-width: 360px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* OnePlus 10T, 9T, 9, 8T, 8 */
@media screen and (max-width: 412px) and (max-height: 915px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-slide .hero-img {
        max-width: 330px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
}

/* Xiaomi 14 Ultra, 13 Ultra, 12S Ultra */
@media screen and (max-width: 450px) and (max-height: 1000px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-slide .hero-img {
        max-width: 360px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Xiaomi 14 Pro, 13 Pro, 12 Pro, 11 Ultra */
@media screen and (max-width: 412px) and (max-height: 915px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-slide .hero-img {
        max-width: 330px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
}

/* Landscape Mode Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-img {
        height: 200px;
    }
    
    .nav-menu {
        padding: 60px 0 1rem;
    }
    
    .hero-slider {
        padding-top: 60px;
    }
    
    .hero-slide {
        min-height: calc(100vh - 60px);
    }
    
    .hero-slide .hero-container {
        gap: 1rem;
        padding: 1rem;
    }
}

/* High DPI/Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-img,
    .sport-image img,
    .court-img,
    .package-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .hero {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .nav-menu {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero-container {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 12px 24px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    
    .feature-card,
    .sport-card,
    .pricing-card,
    .contact-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    .hero-prev, .hero-next {
        min-width: 48px;
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .dot {
        min-width: 12px;
        min-height: 12px;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Safe Area Support for Notched Devices */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .hero-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .hero-slide .hero-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .hero-dots {
        bottom: max(2rem, env(safe-area-inset-bottom) + 1rem);
    }
    
    .whatsapp-btn {
        bottom: max(15px, env(safe-area-inset-bottom) + 5px);
        right: max(15px, env(safe-area-inset-right) + 5px);
    }
}

/* Form Input Zoom Prevention */
@media screen and (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px;
        min-height: 48px;
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }
}

/* Force correct stacking for hero slider on all screens */
.hero-slider {
  position: relative !important;
}
.hero-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  display: flex !important;
  align-items: center !important;
  transition: opacity 0.8s ease-in-out !important;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1 !important;
  z-index: 2;
} 