/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #111111, #333333, #000000);
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    color: #ffffff;
}

/* Gradient Background Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Particle Background */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Particle Styles */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #39CCCC;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        transform: translateY(-200vh) translateX(200vw) scale(0.3);
    }
    100% {
        opacity: 0;
        transform: translateY(-400vh) translateX(-200vw) scale(0.1);
    }
}

/* Parallax Banner */
.parallax-bg {
    background-color: #111111;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    filter: brightness(40%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5em;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.9);
    z-index: 1;
}

.parallax-bg h2 {
    margin: 0;
    animation: fadeInDown 1.2s ease;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Header and Footer */
header, footer {
    background-color: rgba(20, 20, 20, 0.9);
    color: #ffffff;
    padding: 20px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}
header:hover, footer:hover {
    background-color: rgba(20, 20, 20, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Navbar */
nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    z-index: 1;
}
nav a:hover {
    color: #39CCCC;
    transform: scale(1.1);
}
nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #39CCCC;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: bottom right;
}
nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Content Cards */
.content {
    padding: 20px 40px;
    background-color: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    margin: 20px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    z-index: 1;
}
.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Loader Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 8px solid #39CCCC;
    border-top: 8px solid #0074D9;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}
/* GDPR Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    font-size: 14px;
    display: none;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.cookie-notice.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}
.cookie-notice button {
    background-color: #39CCCC;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cookie-notice button:hover {
    background-color: #0074D9;
}

/* CSRF Input Field */
.csrf-token {
    display: none;
}

/* Loading Spinner */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 60px;
    height: 60px;
    border: 8px solid #39CCCC;
    border-top: 8px solid #0074D9;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
