@font-face {
    font-family: "Nunito";
    src: url("/fonts/Nunito-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("/fonts/Nunito-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("/fonts/Nunito-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("/fonts/Nunito-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("/fonts/Nunito-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root{
    --nunito: "Nunito", sans-serif;

    --black : #484848;
    --red : #FF6462;
    --gray: #7B7B7B;
    --softwhite: #F3F5F9;
    --softred: rgba(255, 100, 98, 0.1);
}

* {
    cursor: none !important;
}

body,html{
    font-family: var(--nunito) !important;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    scroll-behavior: smooth;
    cursor: none;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/background.svg');
    background-position: center center;
    background-repeat: repeat;
    background-size: 600px;
    opacity: 0.03; 
    z-index: -1; 
    pointer-events: none; 
}

a, button {
    cursor: none; 
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none; 
    z-index: 9999;
    transition: transform 0.2s ease, background 0.3s ease, opacity 0.3s ease; 
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    color: white !important;
    width: 36px;
    height: 36px;
    display: none; /* Varsayılan olarak gizli kalsın */
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 4px currentColor);
    opacity: 0; 
}



@media (pointer: fine) and (min-width: 1025px) {
    * {
        cursor: none !important;
    }

    a, button {
        cursor: none !important;
    }

    .custom-cursor {
        display: flex !important; 
    }
}

@media (pointer: coarse) or (max-width: 1024px) {
    * {
        cursor: auto !important; 
    }

    .custom-cursor {
        display: none !important;
    }
    
    body, html {
        cursor: auto !important;
    }
}



.custom-cursor .iconify {
    font-size: 24px;
}

#content{
    flex: 1;
}

.red-badge{
    background-color: rgba(255, 100, 98, 1);
    border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    gap: 6px;
    color: white;
    font-size: clamp(1rem, 0.5rem + 0.25vw, 1.25rem);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.red-bold-text{
    color: var(--red);
    font-weight: 700;
}

.white-badge{
    background-color: white;
     border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    gap: 6px;
    color: var(--red);
    font-size: clamp(1rem, 0.5rem + 0.25vw, 1.25rem);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.custom-agreements-navbar {
    background-color: var(--red);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
}

.custom-agreements-navbar .agreements-logo {
    height: auto;
    max-height: 40px; 
}

.custom-agreements-navbar .navbar-toggler {
    border: none;
    padding: 0;
}

.custom-agreements-navbar .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.agreements-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.agreements-nav-list .nav-item {
    margin: 0;
    padding: 0;
}

.agreements-nav-list .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.125rem);
    font-weight: 600;
    line-height: 1.2;
    border-radius: 1.5rem; 
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.agreements-nav-list .nav-link .iconify {
    font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.5rem);
    flex-shrink: 0;
}

.agreements-nav-list .nav-link:hover{
    background-color: #ffffff;
    color: var(--red);
}

@media (max-width: 991px) {
    .agreements-nav-list {
        width: 100%;
        text-align: center;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .agreements-nav-list .nav-item {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .agreements-nav-list .nav-link {
        justify-content: center;
        width: 100%;
    }
}

.error-page-section {
    background-color: var(--softwhite); 
    min-height: 70vh; 
    padding: 5% 0;
}

.error-image {
    width: 100%;
    max-width: 250px; 
    height: auto;
    animation: floatImage 4s ease-in-out infinite; 
}

.error-title {
    color: var(--black);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-desc {
    color: var(--gray);
    font-size: clamp(1rem, 1.5vw, 1.25rem); 
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-return-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--red);
    color: #FFFFFF;
    text-decoration: none;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--softred);
}

.btn-return-home .iconify {
    font-size: 1.5rem;
}

.btn-return-home:hover {
    background-color: #e55a58;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--softred);
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}