﻿/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --background-color: #ecf0f1;
    --text-color: #34495e;
    --light-text-color: #ffffff;
}

body, html {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: var(--secondary-color);
    }

    header h1 {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

/* Navigation Styles */
nav {
    background-color: var(--primary-color);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

    nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
    }

        nav ul li {
            margin: 0 1rem;
        }

            nav ul li a {
                color: var(--light-text-color);
                text-decoration: none;
                font-weight: bold;
                transition: color 0.3s ease;
            }

                nav ul li a:hover {
                    color: var(--secondary-color);
                }

/* Main Content Styles */
main {
    flex-grow: 1;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

section {
    margin-bottom: 4rem;
}

.brief {
    background-color: var(--light-text-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.app-card {
    background-color: var(--light-text-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

    .app-card:hover {
        transform: translateY(-5px);
    }

.app-icon {
    width: 100px;
    height: 100px;
    margin-right: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.app-info {
    flex-grow: 1;
}

h2 {
    color: var(--primary-color);
    margin-top: 0;
}

h3 {
    color: var(--secondary-color);
}

.app-description {
    color: var(--text-color);
}

/* Footer Styles */
footer {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin-bottom: 2rem;
    min-width: 250px;
    padding: 0 1rem;
}

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--secondary-color);
    }

    .footer-section ul {
        list-style-type: none;
        padding: 0;
    }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

    .footer-section a {
        color: var(--light-text-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-section a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

        nav ul li {
            margin: 0.5rem 0;
        }

    .app-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
