:root{
    --body-font: 'SF PRO Text', sans-serif;
    --title-font: 'Gothic N60', sans-serif;

    /* core colors (you can tweak RGB values) */
    --primary-white: rgb(254,252,243);
    --primary-red: rgb(138,36,14);
    --primary-blue: rgb(50,82,153);
    --primary-green: rgb(19,77,37);
    --secondary-orange: rgb(208,99,35);
    --secondary-green: rgb(25,112,45);
    --secondary-LightGreen: rgb(212,211,118);

    /* design tokens used across files */
    --primary-text-color: var(--primary-white);
    --bg-color: rgb(28,28,28);
    --bg-image: url('/backend/foto/carpetBack.png'); /* adjust path if you store image elsewhere */
    --border-color: rgba(255,255,255,0.08);
    --accent-contrast: #000;
    --shadow-color: rgba(0,0,0,0.6);
    --disabled-opacity: 0.5;
    --border-radius: 12px;
}

@font-face {
    font-family: 'Gothic N60';
    src: url('/frontend/styles/Gothic60-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SF PRO Text';
    src: url('/frontend/styles/sf-pro-text-regular.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


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

body {
     
    background-size: cover;
    background-position: center;
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--body-font);
    color: var(--primary-text-color);
    margin-bottom: 1rem;
}

p, span, div, a, button, input, textarea {
    font-family: var(--body-font);
}

html {
    scroll-behavior: smooth;
}


h1 {
    font-size: 2.5rem;
    color: var(--primaey-blue);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    color: var(--primaey-blue);
    margin-bottom: 1.5rem;
}

section {
    margin-bottom: 3rem;
}



/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hidden {
    display: none; 
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--title-font);
    color: var(--primaey-blue);
    letter-spacing: 1px;
    text-decoration: none;
}
/* --- Desktop Navigation --- */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--primary-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--secondary-orange);
}

/* --- Mobile Navigation --- */
.nav-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--primary-text-color);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-close {
    display: none; /* Hidden by default */
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-text-color);
    font-size: 2rem;
    cursor: pointer;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Special styling for index page login */
.index-login {
    position: fixed;
    top: 5rem;
    right: 5rem;
    z-index: 1000;
}

.index-login a {
    color: var(--primary-text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-white);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 500;
}

.index-login a:hover {
    background-color: var(--secondary-orange);
    color: var(--primary-text-color);
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 4rem 2rem;
        transition: 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-close {
        display: block;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .index-login {
        top: 1rem;
        right: 1rem;
    }
}