:root {
    --color-brand-dark: #8f002b;
    --color-brand-primary: #cd0039;
    --color-brand-accent: #f53d65;
    --color-bg-light: #f8fafc;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-brand-primary);
    border-radius: 5px;
    border: 2px solid var(--color-bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-dark);
}

/* Text Selection */
::selection {
    background: var(--color-brand-primary);
    color: #ffffff;
}

/* Animation Utilities */
.animate-bounce-slow {
    animation: bounce 3s infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Swiper Customization */
.swiper-pagination-bullet-active {
    background-color: var(--color-brand-primary) !important;
}
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 60px;
    height: auto;
    animation: breathe 2s infinite ease-in-out;
    z-index: 2;
}

.preloader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--color-brand-primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    z-index: 1;
}

.preloader-circle::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid transparent;
    border-top-color: var(--color-brand-accent);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.preloader-circle::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid transparent;
    border-top-color: var(--color-brand-dark);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.9); opacity: 0.8; }
}

.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

