/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --primary-color: #FF7B7B; /* Coral color from the screenshot */
    --text-color: #333333;
    --secondary-text: #666666;
    --background-color: #FFFFFF;
    --secondary-background: #F5F5F7;
    --footer-background: #F2F2F2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 2rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.github-link:hover {
    opacity: 0.7;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 1rem 0;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery {
    padding: 2rem 0;
    margin: 2rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.gallery-container {
    max-width: 100vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.gallery-preview {
    flex: 0 0 25vw;
    height: 60vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-preview:hover {
    opacity: 1;
    transform: scale(1.05);
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-main {
    flex: 1;
    max-width: 50vw;
}

.gallery-item {
    cursor: pointer;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-item::after {
    content: "Click to view all screenshots";
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem 0.75rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-image-container {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox-indicators {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.indicator.active {
    background-color: white;
}

/* CTA Section */
.cta {
    text-align: center;
    padding-top: 3rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    background-color: #ff6b6b;
    box-shadow: 0 4px 20px rgba(255, 123, 123, 0.25);
}

.download-button img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1); /* Makes the SVG white */
}

/* Make Windows icon slightly larger */
.download-button img[src*="windows"] {
    transform: scale(1.25);
    transform-origin: center;
}

/* Footer */
footer {
    background-color: var(--footer-background);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.credits {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.credits a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.credits a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

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

    .gallery {
        padding: 1rem;
    }

    .gallery-container {
        flex-direction: column;
        gap: 0;
    }

    .gallery-preview {
        flex: none;
        width: 100%;
        height: 30vh;
    }

    .gallery-main {
        order: -1;
        max-width: 100vw;
    }

    .gallery-image {
        height: 40vh;
    }

    .lightbox-nav {
        padding: 0.75rem 0.5rem;
        font-size: 1.25rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

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



    .download-buttons {
        gap: 0.75rem;
    }

    .download-button {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
} 