/* Main CSS - Applies to all pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00AEEF;
    --dark-bg: #2a2a2a;
    --darker-bg: #1f1f1f;
    --card-bg: #353535;
    --text-light: #f5f5f5;
    --text-gray: #c5c5c5;
    --text-dark: #8f8f8f;
    --border-gray: #505050;
    --header-bg: #2f2f2f;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    overflow-x: hidden;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 174, 239, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
    filter: brightness(1.2);
}

    .logo img:hover {
        transform: scale(1.05);
    }

.nav-menu {
    display: flex;
    gap: 10px;
}

.menu-button {
    text-decoration: none;
    color: var(--text-light);
    padding: 12px 25px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

    .menu-button:hover {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        transform: translateY(-2px);
    }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-light);
        margin: 5px 0;
        transition: 0.3s;
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a2a3a 0%, #2d4a5e 100%);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: -50%;
        width: 200%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='a' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(0,174,239,0.2)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23a)'/%3E%3C/svg%3E");
        animation: drift 20s infinite linear;
    }

@keyframes drift {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

.hero-title {
    font-family: 'Poiret One', cursive;
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 0 20px rgba(0, 174, 239, 0.5);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 300;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-gray);
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-gray);
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), #764ba2);
    }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.footer-block {
    text-align: center;
}

.footer-block-title {
    font-family: 'Poiret One', cursive;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.footer-block img {
    max-width: 150px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1.2);
}

    .footer-block img:hover {
        opacity: 1;
    }

.footer-bottom {
    background: var(--darker-bg);
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--border-gray);
    color: var(--primary-color);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
        border-top: 1px solid var(--border-gray);
    }

        .nav-menu.active {
            display: flex;
        }

    .menu-button {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-gray);
        border-left: 3px solid transparent;
    }

        .menu-button:hover {
            border-left-color: var(--primary-color);
            border-bottom-color: var(--border-gray);
        }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
