﻿/* --- Reset and Base Styles --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url('/images/Home.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

main {
    flex: 1;
}

/* --- Header --- */
header {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* --- Nav links --- */
.nav-links {
    display: flex;           /* desktop default */
    gap: 20px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* --- Hamburger toggle --- */
.menu-toggle {
    display: none;           /* hidden on desktop */
    font-size: 28px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* --- Mobile styles --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        border-radius: 8px;
        max-height: 0;         /* hidden by default */
        opacity: 0;
        overflow: hidden;
        margin-top: 10px;
    }

    .nav-links.show {
        max-height: 500px;     /* expanded */
        opacity: 1;
    }

    .nav-links a {
        padding: 10px 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    header .logo img {
        height: 50px;
    }
}

/* --- Main Content --- */
.main-content {
    text-align: center;
    padding: 120px 20px;
}

.main-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.main-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

/* --- Buttons --- */
.get-started-btn {
    background-color: #9c27b0;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.get-started-btn:hover {
    background-color: #7b1fa2;
    color: white;
}

/* --- Footer --- */
footer {
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 20px 0;
    width: 100%;
    color: #ccc;
    font-size: 14px;
}

/* --- Cookie Banner --- */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #333333;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 100%;
    width: 100%;
    font-family: 'Roboto', 'Open Sans', 'Lato', sans-serif;
    font-size: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-banner .cookie-text {
    flex: 1 1 auto;
    min-width: 200px;
}

.cookie-actions {
    align-self: flex-end;
    display: flex;
    gap: 0.75rem;
}

.cookie-banner button {
    background-color: #005a9e;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.25s ease;
}

.cookie-banner button:hover {
    background-color: #003f6b;
}
