﻿:root {
    --dark-bg: #121212;
    --white: #f5f5f5;
    --card-bg: #1f1f1f;
    --card-hover-bg: #2c2c2c;
    --border-color: #333333;
}

/* Reset and base */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    min-height: 100%;
}

/* Wrapper */
.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1.5rem 1rem 2rem;
}

/* Header */
.site-header {
    width: 100%;
    max-width: 1200px;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    user-select: none;
}

.site-name {
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
}

/* Header Social */
.header-social {
    display: flex;
    gap: 1.5rem;
}

    .header-social .social-icon img {
        width: 30px;
        height: 30px;
        filter: brightness(0.7);
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .header-social .social-icon:hover img,
    .header-social .social-icon:focus-visible img {
        filter: brightness(1);
        transform: scale(1.15);
    }

/* Main Content */
.content {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.main-title {
    font-weight: 700;
    font-size: 2.75rem;
    margin-top: -1.5rem; /* slightly higher */
    margin-bottom: 2rem;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
}

/* App Card */
.app-card {
    background-color: var(--card-bg);
    padding: 1.8rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    cursor: pointer;
    flex: 1 1 280px;
    max-width: 320px;
    min-width: 250px;
}

    .app-card:hover,
    .app-card:focus-visible {
        background-color: var(--card-hover-bg);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
        outline: none;
    }

    .app-card h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .app-card p {
        margin: 0;
        font-weight: 400;
        font-size: 1rem;
        color: #ccc;
    }

/* Footer */
.site-footer {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin-top: auto;
    padding: 1.5rem 2rem 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 600px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 1.3rem;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-social {
        justify-content: flex-start;
    }
}

.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1.5rem 1rem 2rem;
    /* Background image */
    background-image: url('/images/bg.jpeg'); /* put your image in wwwroot/images */
    background-size: cover; /* cover whole area */
    background-position: center; /* center the image */
    background-repeat: no-repeat; /* don't repeat */
    background-attachment: fixed; /* optional: parallax effect */
    /* Optional dark overlay to improve readability */
    color: var(--white);
}

    .landing-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(18, 18, 18, 0.6); /* semi-transparent dark overlay */
        z-index: 0;
    }

    .landing-wrapper > * {
        position: relative; /* make content above overlay */
        z-index: 1;
    }


/* Main Title Translucent */
.main-title {
    font-weight: 700;
    font-size: 2.75rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    /*backdrop-filter: blur(8px); /* blur background behind it */
    display: inline-block;
    color: #ffffff; /* yellowish color */
   /* background-color: rgba(255, 255, 255, 0.05); /* keep subtle translucent overlay */
}


/* App Card Translucent */
.app-card {
    background-color: rgba(255, 255, 255, 0.05); /* translucent overlay */
    backdrop-filter: blur(10px); /* blur background behind it */
    padding: 1.8rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1); /* subtle border */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-align: left;
    cursor: pointer;
    flex: 1 1 280px;
    max-width: 320px;
    min-width: 250px;
}

    .app-card:hover,
    .app-card:focus-visible {
        background-color: rgba(255, 255, 255, 0.08); /* slightly brighter on hover */
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
        transform: translateY(-3px);
        outline: none;
    }

.site-header {
    width: 100%;
    max-width: 1200px;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    user-select: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* space between logo and site name */
}

.site-logo {
    width: 100px; /* small logo size */
    height: 100px;
    object-fit: contain;
}
