﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f172a;
    color: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #334155;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: scale ease 0.15s
}

    .logo:hover {
        scale: 1.05;
    }

.nav {
    display: flex;
    gap: 32px;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ffffff;
}

/* Footer */
.footer {
    border-top: 1px solid #334155;
    padding: 32px 24px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: auto;
    background-color: #0f172a;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #94a3b8;
}

/* Relative Footer */
footer.fs-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f2f2f;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 1rem 2rem;
    margin-top: auto;
}

.fs-footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 1rem 2rem;
    text-align: center;
}

.fs-footer-content {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.fs-footer-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

    .fs-footer-links a {
        color: grey;
        text-decoration: none;
        font-size: 1rem;
    }

        .fs-footer-links a:hover {
            color: white;
        }

    .fs-footer-links span {
        color: #ccc;
        font-size: 0.75rem;
    }

.copyright-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

@media(max-width: 768px) {
    .copyright-container {
        justify-content: center;
    }
}

.copyright {
    color: white;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: transform 0.2s ease;
}

    .copyright a {
        text-decoration: none;
        color: white;
    }

        .copyright a:hover {
            color: white;
        }


.footerReferences {
    position: relative;
    text-decoration: none;
    color: #000;
    display: inline-block;
}

    .footerReferences:hover {
        color: black;
    }

.footerReferencesHover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.footerReferencesHover:hover::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .nav {
        gap: 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav {
        display: none;
    }
    
    .logo {
        font-size: 1rem;
    }
}
