/* css/global.css */
:root {
    --bg-color: #ffffff;
    --text-color: #252525;
    --text-muted: #666666;
    --accent-light: #2aa3c1;
    --accent-dark: #1d8aa6;
    --header-bg: #6c757d;
    --header-color: #fbfbfc;
    --contact-bg: #8c8c8c;
    --footer-bg: #151515;
    --footer-color: #ffffff;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Poppins', sans-serif;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-padding: 100px;
}

/* ========== Base ========== */
html {
    overflow-x: clip;
}

.body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 100vw;
    
    overflow-x: hidden;

    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 0;

}

.content {
    background-color: var(--bg-color);
    position: relative;
    z-index: 1;
}


.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

/*--------------------------------------------------*/

.position {
    z-index: 1;
}

.main {
    flex-grow: 1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 40px;
    width: 100%;
}

.section-padding{
    padding-top: var(--section-padding);
}


/*===========404================*/
.page-404__wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    height: 100vh;
    width: 100vw;
}

.page-404__inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;

    width: 50vw;
    height: 50vh;
    background: rgb(128, 128, 128, 0.5);
    z-index: 1;
}

.page-404__title,
.page-404__text{
    color: var(--white);
}
.page-404__title{
    font-size: 40px;
}
.page-404__text{
    text-align: center;
    font-size: 30px;
}
/* ========== Buttons ========== */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-align: center;

    max-width: 150px;
    padding: 10px 28px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    color: var(--white);
    transition: var(--transition);
    background: var(--accent-light);
}

.btn--primary:hover {
    background: var(--accent-dark);
}

.btn--outline {
    background-color: transparent;
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn--outline:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.btn--white {
    background-color: var(--white);
    color: var(--text-color);
    border-color: var(--white);
}

.btn--white:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
    background-color: #f0f0f0;
    padding: 50px 40px;
}

.page-hero__inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.page-hero__title {
    font-size: 36px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    letter-spacing: 0.5px;
}

/* ========== Back to top ========== */
.back-to-top {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 24px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--accent-dark);
    color: var(--white);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
    font-size: 24px;
}

.back-to-top.show {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--accent-dark);
}

/* ========== Cookie Modal ========== */
.cookie__modal {
    position: fixed;
    bottom: 90px;
    left: 40px;
    z-index: 1000;

    max-width: 400px;
    width: calc(100% - 80px);

    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);

    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.cookie__modal--visible {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie__modal-content {
    padding: 24px;
}

.cookie__modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cookie__modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-light);
    margin: 0;
}

.cookie__modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.5;
    transition: var(--transition);
    line-height: 1;
}

.cookie__modal-close:hover {
    opacity: 1;
    color: var(--accent-light);
}

.cookie__modal-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-color);
    max-height: 280px;
    padding-right: 4px;
    overflow-y: auto;
}

.cookie__modal-body p {
    margin-bottom: 12px;
}

.cookie__section {
    margin-bottom: 14px;
}

.cookie__section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 6px;
    text-decoration: underline;
}

.cookie__section ul {
    margin: 0;
    padding-left: 18px;
}

.cookie__section li {
    margin-bottom: 4px;
}

.cookie__section a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie__modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.cookie__accept {
    background: var(--accent-light);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.cookie__accept:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
}

/* ========== Slider ========== */