/* Updated Mobile Styles for ROXODY Website */

/* Mobile Header Adjustments */
@media screen and (max-width: 768px) {


    
    .header-container {
        padding: 0 20px;
    }
    
    .header-logo {
        height: 30px;
    }
    
    .nav-link {
        font-size: 12px;
    }

    
    /* Hero Section */
    .hero-section {
        margin: 0px;
        margin-top: 0px;
        border-radius: 15px;
    }
    
    .brand-name {
        font-size: 36px;
    }
    
    .hero-tagline {
        font-size: 14px;
    }
    
    /* About Section */
    .about-section {
        padding: 60px 0;
    }
    
    .text-animation-container {
        max-width: 100%;
    }
    
    .scroll-text {
        font-size: 24px;
    }
    
    /* Frame Animation Section */
    .animation-section {
        height: auto;
        min-height: 60vh;
    }
    
    .animation-context {
        left: 50%;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);
        width: 90%;
        max-width: none;
        padding: 20px;
    }
    
    .animation-context.active {
        transform: translateX(-50%);
    }
    
    .animation-progress {
        right: 10px;
        width: 30px;
        height: auto;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
    }
    
    /* Slides Section */
    .slider-title {
        font-size: 32px;
    }
    
    .slider-subtitle {
        font-size: 12px;
    }
    
    .slides-wrapper {
        height: 400px;
    }
    
    .slide-image {
        width: 150px;
        height: 150px;
    }
    
    .slide-text h3 {
        font-size: 22px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
    
    .progress-line-container {
        width: 80%;
        height: 2px;
        right: 10%;
        left: 10%;
        top: auto;
        bottom: 20px;
        transform: none;
    }
    
    .progress-line {
        height: 100%;
        width: 0;
    }
    
    /* Results Block */
    .results-block {
        padding: 60px 0;
    }
    
    .results-title {
        font-size: 32px;
    }
    
    .results-subtitle {
        font-size: 24px;
    }
    
    .results-content {
        flex-direction: column;
    }
    
    .before-after-container {
        height: 350px;
    }
    
    /* Info Blocks */
    .info-block {
        padding: 30px;
        aspect-ratio: auto;
        height: auto;
    }
    
    .info-block-image {
        aspect-ratio: auto;
        height: 250px;
    }
    
    .info-block-image img {
        height: 100%;
    }
    
    /* Enhanced Info Blocks */
    .info-blocks-container.enhanced {
        grid-template-columns: 1fr;
    }
    
    .info-block.enhanced {
        padding: 30px;
        height: auto;
        min-height: 250px;
    }
    
    /* Products Showcase */
    .products-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        gap: 15px;
        scrollbar-width: none; /* For Firefox */
        -ms-overflow-style: none; /* For Internet Explorer and Edge */
    }
    
    .products-grid::-webkit-scrollbar {
        display: none; /* For Chrome, Safari, and Opera */
    }
    
    .product-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        background-color: #111;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .product-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .product-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .product-dot.active {
        background-color: #fff;
        transform: scale(1.2);
    }
    
    /* Video Slides Styles */
    .video-slide {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* Footer */
    .footer-section {
        padding: 50px 0 20px;
    }
    
    .footer-marketplaces h3 {
        font-size: 24px;
    }
    
    .marketplace-links {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-marketplaces {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        padding: 0px 20px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    /* Slide Menu */
    .side-menu {
        width: 75%;
        right: -80%;
    }
    
    .side-menu-container {
        padding: 25px 20px;
    }
    
    .side-menu-list li {
        margin-bottom: 20px;
    }
    
    .side-menu-link {
        font-size: 16px;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    height: 100%;
    padding: 40px 30px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.mobile-menu-logo-img {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-nav {
    flex: 1;
    margin-bottom: 40px;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-list li {
    margin-bottom: 20px;
}

.mobile-menu-link {
    display: block;
    font-size: 28px;
    font-family: 'Cremona', serif;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
    width: 30%;
}

.mobile-menu-contact {
    margin-top: auto;
}

.mobile-menu-contact h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.mobile-menu-contact p {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.mobile-menu-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 1;
}

/* Animation Frame on Mobile */
@media screen and (max-width: 576px) {
    .animation-section {
        min-height: 50vh;
    }
    
    .animation-context {
        bottom: 10px;
        padding: 15px;
    }
    
    .animation-context h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .animation-context p {
        font-size: 14px;
    }
    
    .animation-progress {
        right: 5px;
        gap: 15px;
    }
    
    .progress-marker {
        width: 10px;
        height: 10px;
    }
    
    /* Slide Adjustments */
    .slide-image {
        width: 120px;
        height: 120px;
    }
    
    .slide-text h3 {
        font-size: 18px;
    }
    
    .slide-text p {
        font-size: 12px;
    }
    
    /* Info Block Images */
    .info-block-image {
        height: 200px;
    }
}

/* Tablet Specific Adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        margin: 20px;
        margin-top: 80px;
    }
    
    .brand-name {
        font-size: 48px;
    }
    
    .scroll-text {
        font-size: 32px;
    }
    
    .about-content {
        padding: 0 60px;
    }
    
    .slide-image {
        width: 160px;
        height: 160px;
    }
    
    .info-blocks-container.enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .animation-context {
        right: 5%;
        max-width: 300px;
    }
    
    .animation-progress {
        right: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading screen for frame animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    margin-bottom: 40px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.loading-text {
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}