﻿/* Base Styles */
.app-download-page {
    min-height: 100vh;
    background: #f5f5f5;
}

/* Top Navigation */
.app-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.app-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0CA4E0;
}

/* Main Content */
.app-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.app-hero {
    background: white;
    padding: 40px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.app-hero-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.app-info {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.app-details {
    flex: 1;
}

.app-name {
    font-size: 32px;
    font-weight: 700;
    color: #0CA4E0;
    margin: 0 0 8px 0;
}

.app-tagline {
    font-size: 18px;
    color: #666;
    margin: 0 0 15px 0;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

.meta-divider {
    color: #ccc;
}

.app-requirements {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

/* Download Buttons */
.download-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-centered {
    justify-content: center;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.btn-google-play {
    background: #000000;
    color: white;
    border: 1px solid #000000;
}

.btn-google-play:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-apk {
    background: #5cb845;
    color: white;
    border: 1px solid #5cb845;
}

.btn-apk:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-coming-soon {
    background: #e8e8e8;
    color: #999;
    border: 1px solid #d0d0d0;
    cursor: not-allowed;
}

.store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.store-name {
    font-size: 16px;
    font-weight: 700;
}

/* Sections */
.app-section {
    background: white;
    padding: 50px 40px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-container {
    max-width: 100%;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

/* About Section */
.about-intro {
    margin-bottom: 30px;
}


.about-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.features-list {
    display: grid;
    gap: 25px;
}

.feature-item {
    border-left: 4px solid #0CA4E0;
    padding-left: 20px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Carousel */
.screenshots-section {
    background: #fafafa;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.screenshots-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.screenshots-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.screenshot-image {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.carousel-nav-btn {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.carousel-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Download Bottom Section */
.download-bottom-section {
    text-align: center;
}

.download-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Footer */
.app-footer {
    width: 100%;
    padding: 0 0 30px 0;
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    color: #999;
    text-align: center;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #0CA4E0;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10000;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-btn svg {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .screenshot-image {
        width: 180px;
    }
}

@media (max-width: 992px) {
    .screenshot-image {
        width: 160px;
    }
}

@media (max-width: 768px) {
    
    .app-hero {
        padding: 30px 20px;
    }

    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-details {
        display:flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-meta {
        justify-content: center;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .app-name {
        font-size: 26px;
    }

    .app-section {
        padding: 40px 25px;
    }

    .section-title {
        font-size: 24px;
    }

    .download-section {
        flex-direction: column;
    }

    .btn-store {
        width: 100%;
        justify-content: center;
    }

    .carousel-wrapper {
        gap: 10px;
    }

    .screenshot-image {
        width: 140px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .screenshots-track {
        gap: 15px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-nav {
        padding: 0 10px;
    }

    .lightbox-btn {
        width: 50px;
        height: 50px;
    }

    .lightbox-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .app-content {
        padding: 0;
    }
    
    .nav-links {
        gap: 10px;
    }

    .nav-logo {
        height: 35px;
    }
    
    .app-hero {
        padding: 25px 15px;
        border-radius: 0;
    }

    .app-name {
        font-size: 22px;
    }

    .app-tagline {
        font-size: 16px;
    }

    .app-section {
        padding: 30px 15px;
        margin: 20px 0;
        border-radius: 0;
    }

    .screenshot-image {
        width: 120px;
    }

    .screenshots-track {
        gap: 10px;
    }
    
    .carousel-nav-btn {
        position:absolute;
        width: 38px;
        height: 38px;
    }

    .carousel-nav-btn:hover {
        background: rgba(0, 0, 0, 0.6);
        transform: scale(1);
    }

    .carousel-nav-btn:active{
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }
    
    .carousel-nav-prev{
        left: 0;
    }

    .carousel-nav-next{
        right: 0;
    }
}

@media (max-width: 380px) {
    .nav-links {
        display: none;
    }

    .app-requirements {
        justify-content: center;
        align-content: center;
    }

    .features-list {
        gap: 18px;
    }

    .feature-item {
        border-left: 4px solid #0CA4E0;
        padding-left: 10px;
    }
}