/* Mobile Responsive Styles */

/* Desktop - Add padding to hero to avoid navbar overlap */
@media (min-width: 769px) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 800px;
        width: 100%;
    }
    
    .hero-logo-container {
        margin-bottom: 20px;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        margin-bottom: 20px;
    }
    
    .cta-button {
        margin-top: 20px;
    }
}

/* Tablet and below */

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Location & Hours Responsive */
    .location {
        padding: 80px 0;
    }

    .location-subtitle {
        font-size: 1rem;
        margin: -30px 0 40px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-card {
        padding: 25px;
    }

    .hours-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .address-block {
        flex-direction: column;
        padding: 15px;
    }

    .map-placeholder {
        height: 300px;
    }

    .map-overlay {
        padding: 20px 30px;
    }

    .map-icon {
        font-size: 2.5rem;
    }

    .map-text {
        font-size: 1rem;
    }

    .safety-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .safety-item {
        padding: 20px;
    }
    
    /* .mobile-menu-toggle {
        display: block;
    } */
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.98) 0%,
            rgba(20, 5, 15, 0.98) 50%,
            rgba(5, 10, 25, 0.98) 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        border-bottom: 2px solid rgba(255, 0, 102, 0.6);
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.8),
            0 0 40px rgba(255, 0, 102, 0.3);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 0;
        z-index: 999;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 0, 102, 0.2);
    }
    
    .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 0;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .nav-link:hover {
        background: rgba(255, 0, 102, 0.2);
        transform: none;
        text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    }

    /* Logout button in mobile menu */
    .nav-logout-item {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-logout-item form {
        width: 100%;
        margin: 0;
    }

    .nav-logout-btn {
        display: block;
        padding: 20px 30px;
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
        background: none;
        border: none;
        color: #ffffff;
        font-family: inherit;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .nav-logout-btn:hover {
        background: rgba(255, 0, 102, 0.2);
        transform: none;
        text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    }

    /* Mobile Shop Dropdown */
    .nav-item-dropdown {
        position: relative;
        width: 100%;
        text-align: center;
    }
    
    .nav-item-dropdown .shop-toggle {
        padding: 20px 30px;
        font-size: 1.1rem;
        text-align: center;
        transition: all 0.3s ease;
        width: 100%;
        display: block;
    }
    
    .nav-item-dropdown .shop-toggle:hover {
        background: rgba(255, 0, 102, 0.2);
        text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    }
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
        min-width: 280px;
        max-width: 90vw;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 0, 102, 0.05);
        border: 1px solid rgba(255, 0, 102, 0.3);
        border-radius: 10px;
        border-top: 1px solid rgba(255, 0, 102, 0.2);
        border-bottom: 1px solid rgba(255, 0, 102, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
        z-index: 1000;
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(255, 0, 102, 0.3);
    }
    
    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 60vh;
        overflow-y: auto;
        padding: 10px 0;
        transform: translateX(-50%) translateY(0);
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .dropdown-item {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 0, 102, 0.1);
        transition: all 0.3s ease;
        color: #cccccc;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 0, 102, 0.15);
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        padding: 40px 30px;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo-text {
        font-size: 1.2rem;
    }
    
    .nav-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .nav-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        order: -1;
        margin-right: auto;
    }
    
    /* Pyro Heads Responsive */
    .pyro-heads-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .character-image {
        width: 200px;
        height: 200px;
    }
    
    .character-name {
        font-size: 1.5rem;
    }
    
    .character-title {
        font-size: 1rem;
    }
    
    /* Hide background watermarks on mobile for better performance */
    .gallery-section::before,
    .shop-section::before {
        display: none;
    }

    /* Location & Hours Mobile */
    .location {
        padding: 60px 0;
    }

    .location-subtitle {
        font-size: 0.9rem;
    }

    .location-card-title {
        font-size: 1.3rem;
    }

    .address-icon {
        font-size: 1.5rem;
    }

    .address-line {
        font-size: 0.9rem;
    }

    .btn-copy {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .contact-link {
        font-size: 0.9rem;
    }

    .btn-directions {
        font-size: 1rem;
        padding: 12px;
    }

    .hours-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .map-placeholder {
        height: 250px;
    }

    .safety-icon {
        font-size: 2rem;
    }

    .safety-item h4 {
        font-size: 1rem;
    }

    .safety-item p {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        padding: 30px 20px;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .gallery {
        padding: 60px 0;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .shop {
        padding: 60px 0;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-card img {
        height: 150px;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo span {
        font-size: 1.2rem;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        font-size: 1.3rem;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 180px;
        height: 180px;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        padding: 80px;
    }
    
    .about-text {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-logo {
        border-width: 6px;
    }
    
    .nav-link:hover {
        text-shadow: 0 0 15px rgba(255, 0, 102, 1);
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        box-shadow: 0 0 30px rgba(255, 0, 102, 0.8);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-logo {
        animation: none;
    }
    
    .sparkles::before,
    .sparkles::after {
        animation: none;
    }
}