/* =================================== 
   GLOBAL STYLES 
   =================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #5b0e14;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a1219;
}

/* Base Typography assignment (as fallbacks) */
body {
    font-family: 'Nunito Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Serif', serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* =================================== 
   UTILITY CLASSES 
   =================================== */

.m3-surface {
    background-color: #FCF8F8;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================================== 
   COMPONENT OVERRIDES 
   =================================== */

/* Parallax */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Swiper Global Overrides */
.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #5b0e14 !important;
    opacity: 0.2 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Specific centering for dynamic bullets */
.swiper-pagination-lock {
    display: none !important;
}

.swiper-pagination-bullets-dynamic {
    width: 60px !important;
    /* Force a smaller width to keep it neat */
    overflow: hidden;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #5b0e14 !important;
    /* Explicitly set primary color */
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    transition: all 0.3s ease;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #ffffff !important;
    /* White on hover */
}

.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* Ensure navigation arrows are perfectly centered in their circular buttons */
.swiper-button-prev,
.swiper-button-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-prev:after {
    margin-right: 2px;
}

.swiper-button-next:after {
    margin-left: 2px;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #5b0e14 0%, #2d070a 100%);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.animate-shimmer {
    animation: shimmer 5s infinite linear;
}