/* ================================
   Responsive Design - Media Queries
   ================================ */

/* ================================
   Designer Badge Responsive
   ================================ */
@media (max-width: 768px) {
    .designer-badge {
        bottom: 10px;
        right: 10px;
        font-size: 0.6rem;
        padding: 4px 8px;
        opacity: 0.5;
    }

    .designer-badge:hover {
        transform: translateX(-2px);
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .designer-badge {
        bottom: 5px;
        right: 5px;
        font-size: 0.55rem;
        padding: 3px 6px;
        opacity: 0.4;
        border-radius: 15px;
    }

    .designer-badge span {
        display: none; /* Hide "Designed by" text on very small screens */
    }

    .designer-badge strong {
        font-size: 0.6rem;
    }
}

/* ================================
   Language Selector Mobile Styles
   ================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-menu {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.82rem;
        padding: 0 0.2rem;
    }
}

@media (max-width: 768px) {
    .language-selector {
        margin-right: 0.5rem;
        gap: 0.3rem;
    }

    .language-selector button {
        padding: 5px 8px;
        font-size: 1rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .language-selector {
        position: absolute;
        top: 60px;
        right: 1rem;
        flex-direction: column;
        gap: 0.2rem;
    }

    .language-selector button {
        padding: 4px 6px;
        font-size: 0.9rem;
    }
}

/* ================================
   Medium Screens (Tablets)
   ================================ */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }

    .rating-badge-container {
        margin-right: 1rem;
    }

    .rating-content {
        gap: 0.3rem;
    }

    .review-count {
        display: none;
    }

    /* Awards section - tablet */
    .award-content {
        gap: 3rem;
    }

    .award-image {
        flex: 0 0 350px;
    }

    .award-details h2 {
        font-size: 2.5rem;
    }

    .ranking-badge.primary {
        width: 120px;
        height: 120px;
    }

    .ranking-badge.secondary {
        width: 100px;
        height: 100px;
    }

    .rank-number {
        font-size: 2rem;
    }

    .ranking-badge.secondary .rank-number {
        font-size: 1.6rem;
    }

    .award-source-link {
        font-size: 0.85rem;
    }
}

/* ================================
   Small Screens (Mobile)
   ================================ */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger {
        display: block;
    }

    /* Hide rating badge container on mobile */
    .rating-badge-container {
        display: none;
    }

    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.95) 100%);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 1rem 2rem;
        transition: all 0.3s;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #d4af37;
    }

    /* Adjust logo size */
    .logo img {
        height: 50px;
    }

    /* Hero adjustments */
    .hero h1 {
        font-size: 3rem;
    }

    .hero .tagline {
        font-size: 1.3rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    /* Video optimization for mobile */
    .hero {
        background-attachment: scroll; /* Better performance on mobile */
    }

    /* Ensure video covers properly on mobile */
    .hero-video {
        min-height: 100vh;
        object-fit: cover;
    }

    /* Show loading indicator on mobile */
    .video-loading-indicator {
        width: 35px;
        height: 35px;
        bottom: 20px;
        right: 20px;
    }

    /* Awards section - mobile */
    .awards-recognition {
        padding: 4rem 1.5rem;
    }

    .award-content {
        flex-direction: column;
        gap: 2rem;
    }

    .award-image {
        flex: 1;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .award-details {
        text-align: center;
    }

    .award-details h2 {
        font-size: 2rem;
        text-align: center;
    }

    .award-details h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .award-rankings {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .ranking-badge.primary {
        width: 110px;
        height: 110px;
    }

    .ranking-badge.secondary {
        width: 95px;
        height: 95px;
    }

    .rank-number {
        font-size: 1.8rem;
    }

    .ranking-badge.secondary .rank-number {
        font-size: 1.5rem;
    }

    .rank-text {
        font-size: 0.65rem;
    }

    .rank-year {
        font-size: 0.65rem;
        bottom: -20px;
    }

    .award-divider {
        margin: 1.5rem auto;
    }

    .award-description {
        font-size: 1rem;
        text-align: center;
    }

    .award-subtitle {
        text-align: center;
        font-size: 0.95rem;
    }

    .award-source-link {
        display: flex;
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        margin-top: 1.25rem;
    }

    /* Menu and other sections */
    .menu-categories {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .showcase-image {
        transform: rotate(0deg);
    }

    .showcase-text h2 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about h2, .menu h2, .pizza-gallery h2, .reviews h2 {
        font-size: 2.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .big-rating {
        font-size: 3rem;
    }

    .stars-large {
        font-size: 1.5rem;
    }

    .reviews-cta {
        flex-direction: column;
        align-items: center;
    }

    .reviews-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-buttons {
        flex-direction: column;
    }

    .platform-btn {
        width: 100%;
    }

    .feature {
        padding: 2rem 1.5rem;
    }

}

/* ================================
   Extra Small Screens (Small Mobile)
   ================================ */
@media (max-width: 480px) {
    nav {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .menu-category {
        padding: 2rem 1.5rem;
    }


    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platform-card {
        padding: 1.5rem;
    }

    .platform-links {
        padding: 1.5rem;
    }

    .platform-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    /* Read more buttons on mobile */
    .read-more-btn,
    .read-less-btn {
        font-size: 0.85rem;
    }
}