/* Golos Text Font */
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --colors-white: #ffffff;
    --colors-black: #1e1e1e;
    --colors-black-5: rgba(30, 30, 30, 0.05);
    --colors-red: #801818;
    --colors-red-5: rgba(128, 24, 24, 0.05);
    --colors-red-10: rgba(128, 24, 24, 0.1);
    --colors-violet: #6123ad;
    --colors-violet-5: rgba(97, 35, 173, 0.05);
    --colors-violet-10: rgba(97, 35, 173, 0.1);
    --colors-turquoise: #2394ad;
    --colors-turquoise-5: rgba(35, 148, 173, 0.05);
    --colors-turquoise-10: rgba(35, 148, 173, 0.1);
}

/* Body Styles */
body {
    font-family: 'Golos Text', sans-serif;
    font-variation-settings: 'wght' 400;
}

/* Text Styles */
.text-caption {
    font-size: 11px;
    line-height: 14px;
    font-weight: 400;
}

.text-small {
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
}

.text-body {
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.text-large {
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
}

.text-title {
    font-size: 28px;
    line-height: 40px;
    font-weight: 400;
}

/* Background Colors */
.bg-white { background-color: var(--colors-white); }
.bg-black { background-color: var(--colors-black); }
.bg-black-5 { background-color: var(--colors-black-5); }
.bg-red-5 { background-color: var(--colors-red-5); }
.bg-red-10 { background-color: var(--colors-red-10); }
.bg-violet-5 { background-color: var(--colors-violet-5); }
.bg-violet-10 { background-color: var(--colors-violet-10); }
.bg-turquoise-5 { background-color: var(--colors-turquoise-5); }
.bg-turquoise-10 { background-color: var(--colors-turquoise-10); }

/* Text Colors */
.text-black { color: var(--colors-black); }
.text-red { color: var(--colors-red); }
.text-violet { color: var(--colors-violet); }
.text-turquoise { color: var(--colors-turquoise); }

/* Border Colors */
.border-black { border-color: var(--colors-black); }

/* HR Lines */
.hr-line {
    height: 1px;
    background-color: var(--colors-black);
    opacity: 0.1;
}

.hr-line-red {
    height: 1px;
    background-color: var(--colors-red);
    opacity: 0.2;
}

/* Page-specific backgrounds */
.bg-consultations {
    background: linear-gradient(90deg, rgba(97, 35, 173, 0.05) 0%, rgba(97, 35, 173, 0.05) 100%),
                linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.bg-resume {
    background: linear-gradient(90deg, rgba(128, 24, 24, 0.05) 0%, rgba(128, 24, 24, 0.05) 100%),
                linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.bg-theory {
    background: linear-gradient(90deg, rgba(35, 148, 173, 0.05) 0%, rgba(35, 148, 173, 0.05) 100%),
                linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Link Styles with Opacity */
a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

a:hover,
a:active {
    opacity: 1;
}

/* Page Transition Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-24px);
    }
}

/* Default page animation */
body {
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Exit animation class */
body.page-exit {
    animation: slideDown 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}