/*
* @file: style.css
* @purpose: Provides styling for the MISC Apps website.
* @author: johnnyappz69@gmail.com
* @date_created: 2025-09-27 10:47:13
* @last_modified: 2025-10-07 13:10:00
*/

/* General Body Styles */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

/* Glassmorphism Container */
.container {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem;
    max-width: 900px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header & Logo */
header .logo {
    width: 150px;
    margin-bottom: 1rem;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Main Content & App Grid */
main {
    margin-top: 2rem;
}

main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Featured App */
.featured-app-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.featured-app-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.featured-app-card img {
    width: 180px;
    height: 180px;
    border-radius: 35px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.featured-app-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.featured-app-card .privacy-link {
    font-size: 1rem;
    color: #dddddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-app-card .privacy-link:hover {
    color: #ffffff;
}


.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.app-card img {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.app-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.app-card .privacy-link {
    font-size: 0.8rem;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.app-card .privacy-link:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .featured-app-card img {
        width: 150px;
        height: 150px;
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .app-card img {
        width: 100px;
        height: 100px;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy {
    text-align: left;
    padding: 1rem;
}

.privacy-policy h2 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
}

.privacy-policy h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
}

.privacy-policy ul {
    padding-left: 20px;
}