/* ============================================================
   AKSCG - Auto Karting Savez Crne Gore
   Main Stylesheet
   Theme: Bordo/Burgundy Racing
   ============================================================ */

/* ----------------------------------------
   CSS Custom Properties
   ---------------------------------------- */
:root {
    --bordo: #800020;
    --bordo-dark: #5c0017;
    --bordo-light: #a6003a;
    --bordo-bg: #f9f2f4;
    --dark: #1a1a1a;
    --dark-lighter: #2a2a2a;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --border-color: #dee2e6;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 25px rgba(128, 0, 32, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --font-heading: 'Russo One', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --navbar-height: 80px;
    --navbar-height-scrolled: 64px;
}

/* ----------------------------------------
   Base & Reset
   ---------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--bordo);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--bordo-dark);
}

::selection {
    background-color: var(--bordo);
    color: var(--white);
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.75em;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.6rem; }
h4, .h4 { font-size: 1.3rem; }
h5, .h5 { font-size: 1.1rem; }
h6, .h6 { font-size: 0.95rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--bordo), var(--bordo-light));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

.text-bordo {
    color: var(--bordo) !important;
}

/* ----------------------------------------
   Top Bar
   ---------------------------------------- */
.top-bar {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    padding: 6px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1050;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
}

.top-bar-item i {
    font-size: 0.75rem;
}

.top-bar-social {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-social:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------
   Navbar
   ---------------------------------------- */
#mainNav {
    background-color: var(--dark) !important;
    padding: 0.5rem 0;
    transition: var(--transition);
    z-index: 1040;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-height: var(--navbar-height);
}

#mainNav.scrolled {
    padding: 0.25rem 0;
    min-height: var(--navbar-height-scrolled);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar-logo {
    height: 55px;
    transition: var(--transition);
}

#mainNav.scrolled .navbar-logo {
    height: 42px;
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 0.7rem;
    position: relative;
    transition: var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    color: var(--white);
}

#mainNav .nav-link.active {
    color: var(--white);
}

#mainNav .nav-link.active::after,
#mainNav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 3px;
    background: linear-gradient(90deg, var(--bordo), var(--bordo-light));
    border-radius: 2px 2px 0 0;
}

#mainNav .nav-link.dropdown-toggle.active::after,
#mainNav .nav-link.dropdown-toggle:hover::after {
    /* Override for dropdown toggles */
}

/* Dropdown hover na desktopu */
@media (min-width: 992px) {
    #mainNav .dropdown:hover > .dropdown-menu {
        display: block;
    }
    #mainNav .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

/* Dropdown */
#mainNav .dropdown-menu {
    background-color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--bordo);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0.5rem 0;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 0;
    animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mainNav .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    padding: 0.5rem 1.25rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

#mainNav .dropdown-item:hover,
#mainNav .dropdown-item:focus,
#mainNav .dropdown-item.active {
    background-color: rgba(128, 0, 32, 0.2);
    color: var(--white);
    border-left-color: var(--bordo);
}

/* Navbar toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.65rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 32, 0.4);
}

/* ----------------------------------------
   Offcanvas Mobile Menu
   ---------------------------------------- */
.offcanvas {
    background-color: var(--dark);
    color: var(--white);
    max-width: 320px;
}

.offcanvas .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-transform: uppercase;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    color: var(--white);
    padding-left: 0.5rem;
}

.offcanvas .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-left: 3px solid var(--bordo);
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 0.5rem;
}

.offcanvas .dropdown-item {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    padding: 0.4rem 0.75rem;
}

.offcanvas .dropdown-item:hover {
    background-color: rgba(128, 0, 32, 0.2);
    color: var(--white);
}

.mobile-contact-info a {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-contact-info a:hover {
    color: var(--white);
}

/* ----------------------------------------
   Checkered Flag Line
   ---------------------------------------- */
.checkered-line {
    height: 3px;
    background-image: repeating-linear-gradient(
        90deg,
        #000 0px, #000 8px,
        #fff 8px, #fff 16px
    );
    position: relative;
    z-index: 1039;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.footer-checkered {
    height: 3px;
    background-image: repeating-linear-gradient(
        90deg,
        var(--bordo) 0px, var(--bordo) 8px,
        var(--dark-lighter) 8px, var(--dark-lighter) 16px
    );
}

/* ----------------------------------------
   Hero Slider
   ---------------------------------------- */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.hero-slider * {
    font-size: 1rem;
    line-height: normal;
}

.hero-slider .carousel-item {
    position: relative;
}

/* Desktop: slika 1920x600 */
.hero-slider-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* Overlay gradijent preko slike */
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(128, 0, 32, 0.3) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Speed lines overlay */
.hero-slider .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.02) 40px,
        rgba(255, 255, 255, 0.02) 42px
    );
    z-index: 2;
    pointer-events: none;
}

.hero-slider .carousel-caption {
    z-index: 3;
    bottom: 15%;
    left: 0;
    right: 0;
    text-align: center;
}

.hero-slider .carousel-caption h1 {
    font-size: 2.8rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-slider .carousel-caption .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero carousel indicators */
.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 4px;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--bordo);
    border-color: var(--white);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 4;
    width: 5%;
}

/* Hero default (bez slajdera) */
.hero-default {
    margin: 0;
    padding: 4rem 0;
}

/* Mobilna prilagodljivost hero slidera */
@media (max-width: 767px) {
    .hero-slider-img {
        height: auto;
        min-height: 400px;
    }
    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    .hero-slider .carousel-caption .lead {
        font-size: 0.95rem;
    }
    .hero-slider .carousel-caption {
        bottom: 10%;
    }
}

/* ----------------------------------------
   Section Styling
   ---------------------------------------- */
section,
.section {
    padding: 4rem 0;
}

.section-light {
    background-color: var(--light-grey);
}

.section-bordo-bg {
    background-color: var(--bordo-bg);
}

/* ----------------------------------------
   Homepage Sections
   ---------------------------------------- */

/* O nama sekcija */
.home-about {
    background: var(--light-grey);
    border-bottom: 3px solid var(--bordo);
}

/* Ikonice za sekcije */
.home-section-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    color: var(--bordo);
    background: var(--bordo-bg);
    border: 2px solid var(--bordo);
}

.home-section-icon--bordo {
    background: var(--bordo);
    color: var(--white);
    border: none;
}

.home-section-icon--dark {
    background: var(--dark);
    color: var(--white);
    border: none;
}

/* Dekorativni checkered pattern na sekcijama */
.home-section-deco {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
}
.home-section-deco--left {
    left: 0;
    background:
        repeating-linear-gradient(
            0deg,
            var(--dark) 0px, var(--dark) 20px,
            transparent 20px, transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            var(--dark) 0px, var(--dark) 20px,
            transparent 20px, transparent 40px
        );
    background-size: 40px 40px;
}
.home-section-deco--right {
    right: 0;
    background:
        repeating-linear-gradient(
            0deg,
            var(--bordo) 0px, var(--bordo) 20px,
            transparent 20px, transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            var(--bordo) 0px, var(--bordo) 20px,
            transparent 20px, transparent 40px
        );
    background-size: 40px 40px;
}

/* Vijesti sekcija */
.home-vijesti {
    background: var(--white);
    overflow: hidden;
}

/* Kartice vijesti na pocetnoj */
.home-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.home-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

.home-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.home-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-card:hover .home-card-img-wrap img {
    transform: scale(1.05);
}
.home-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--light-grey);
    color: var(--medium-grey);
    font-size: 3rem;
    text-decoration: none;
}
.home-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bordo);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dogadjaji sekcija */
.home-dogadjaji {
    background: var(--light-grey);
    overflow: hidden;
}

/* Kartice dogadjaja */
.home-event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.home-event-date {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    text-align: center;
    padding: 16px 10px 12px;
    position: relative;
}
.home-event-date::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 6px solid var(--bordo-dark);
}
.home-event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}
.home-event-month {
    display: block;
    font-size: 0.78rem;
    opacity: 0.8;
    margin-top: 2px;
}
.home-event-body {
    padding: 20px 16px 16px;
    flex-grow: 1;
}
.home-event-body h5 {
    font-size: 1rem;
    font-weight: 600;
}

/* Dekorativna zastavica na event kartici */
.home-event-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--bordo);
    font-size: 0.9rem;
    opacity: 0.15;
    transform: rotate(15deg);
}

/* Trkacke speed linije na hover kartice */
.home-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 5px,
        rgba(128, 0, 32, 0.03) 5px,
        rgba(128, 0, 32, 0.03) 7px
    );
    pointer-events: none;
    z-index: 0;
}

/* Btn outline bordo */
.btn-outline-bordo {
    color: var(--bordo);
    border-color: var(--bordo);
}
.btn-outline-bordo:hover {
    background: var(--bordo);
    border-color: var(--bordo);
    color: var(--white);
}

/* ----------------------------------------
   Page Header / Banner (Inner Pages)
   ---------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--bordo-dark), var(--bordo), var(--bordo-light));
    color: var(--white);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 30px,
        rgba(255, 255, 255, 0.03) 30px,
        rgba(255, 255, 255, 0.03) 32px
    );
    pointer-events: none;
}

/* Tire track texture */
.page-header::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgba(255, 255, 255, 0.04) 3px,
        rgba(255, 255, 255, 0.04) 6px
    );
    transform: translateY(-50%) rotate(15deg);
    pointer-events: none;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    opacity: 0.85;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* ----------------------------------------
   Breadcrumbs
   ---------------------------------------- */
.breadcrumb-wrapper {
    background: var(--light-grey);
    border-bottom: 1px solid var(--medium-grey);
    padding: 0.75rem 0;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.breadcrumb-item a {
    color: var(--bordo);
}

.breadcrumb-item a:hover {
    color: var(--bordo-dark);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.7rem;
    color: var(--text-light);
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn-bordo {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-bordo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-bordo:hover::before {
    left: 100%;
}

.btn-bordo:hover {
    background: linear-gradient(135deg, var(--bordo-dark), #3d000f);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(128, 0, 32, 0.35);
}

.btn-bordo:active {
    transform: translateY(0);
}

.btn-outline-bordo {
    color: var(--bordo);
    border: 2px solid var(--bordo);
    background: transparent;
    font-weight: 600;
    padding: 0.55rem 1.5rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-outline-bordo:hover {
    background: var(--bordo);
    color: var(--white);
    border-color: var(--bordo);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(128, 0, 32, 0.25);
}

/* ----------------------------------------
   Cards - News / Events
   ---------------------------------------- */
.card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.news-card {
    border-left: 4px solid transparent;
}

.news-card:hover {
    border-left-color: var(--bordo);
}

.news-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .card-img-top {
    transform: scale(1.03);
}

.news-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.news-card .card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.news-card .card-body {
    padding: 1.25rem;
}

.news-card .card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.news-card .card-meta i {
    color: var(--bordo);
}

.news-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card .card-title a {
    color: var(--dark);
}

.news-card .card-title a:hover {
    color: var(--bordo);
}

.news-card .card-text {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-footer {
    background: transparent;
    border-top: 1px solid var(--medium-grey);
    padding: 0.75rem 1.25rem;
}

/* ----------------------------------------
   Category Badges
   ---------------------------------------- */
.badge-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3em 0.75em;
    border-radius: 50px;
}

.badge-domace {
    background-color: var(--bordo);
    color: var(--white);
}

.badge-medjunarodne {
    background-color: #0d6efd;
    color: var(--white);
}

.badge-aktivnosti {
    background-color: #198754;
    color: var(--white);
}

.badge-obavjestenja {
    background-color: #fd7e14;
    color: var(--white);
}

/* ----------------------------------------
   Calendar Page
   ---------------------------------------- */
.calendar-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.fc {
    font-family: var(--font-body);
}

.fc .fc-toolbar-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
}

.fc .fc-button-primary {
    background-color: var(--bordo);
    border-color: var(--bordo);
}

.fc .fc-button-primary:hover {
    background-color: var(--bordo-dark);
    border-color: var(--bordo-dark);
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background-color: var(--bordo-dark);
    border-color: var(--bordo-dark);
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: var(--bordo-bg);
}

.fc .fc-event {
    background-color: var(--bordo);
    border-color: var(--bordo);
    border-radius: var(--radius-sm);
    padding: 2px 4px;
    font-size: 0.82rem;
}

.fc .fc-event:hover {
    background-color: var(--bordo-dark);
}

/* ----------------------------------------
   Results Tables
   ---------------------------------------- */
.results-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.results-table .table {
    margin-bottom: 0;
}

.results-table .table thead th {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    border: none;
    white-space: nowrap;
}

.results-table .table tbody tr:nth-child(even) {
    background-color: var(--bordo-bg);
}

.results-table .table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-color: var(--medium-grey);
    font-size: 0.92rem;
}

.results-table .table tbody tr:hover {
    background-color: rgba(128, 0, 32, 0.06);
}

/* Position badges */
.position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.position-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.position-2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: #333;
}

.position-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: var(--white);
}

/* Table responsive wrapper */
.table-responsive {
    border-radius: var(--radius);
}

/* ----------------------------------------
   Gallery
   ---------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(128, 0, 32, 0.85) 0%,
        rgba(128, 0, 32, 0.2) 40%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.gallery-overlay .gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay .gallery-icon {
    opacity: 1;
}

/* Album cards */
.album-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.album-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.album-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.album-card:hover img {
    transform: scale(1.05);
}

.album-card .album-info {
    padding: 1rem;
    background: var(--white);
}

.album-card .album-count {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ----------------------------------------
   Documents
   ---------------------------------------- */
.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.document-item:hover {
    border-left-color: var(--bordo);
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.document-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin-right: 1rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.document-icon.pdf {
    background: #fde8e8;
    color: #dc3545;
}

.document-icon.doc {
    background: #e8f0fe;
    color: #0d6efd;
}

.document-icon.default {
    background: var(--bordo-bg);
    color: var(--bordo);
}

.document-info {
    flex: 1;
}

.document-info h6 {
    margin-bottom: 0.15rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
}

.document-info span {
    font-size: 0.82rem;
    color: var(--text-light);
}

.document-download {
    color: var(--bordo);
    font-size: 1.25rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.document-download:hover {
    color: var(--bordo-dark);
    transform: scale(1.15);
}

/* ----------------------------------------
   Organization Members
   ---------------------------------------- */
.member-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.member-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.member-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bordo-bg);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.member-card:hover .member-photo {
    border-color: var(--bordo);
}

.member-card h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.member-card .member-title {
    color: var(--bordo);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ----------------------------------------
   Club Cards
   ---------------------------------------- */
.club-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-bottom: 3px solid transparent;
}

.club-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-bottom-color: var(--bordo);
}

.club-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 1.25rem;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--light-grey);
    padding: 0.5rem;
}

.club-info h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.club-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ----------------------------------------
   Contact Form
   ---------------------------------------- */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--medium-grey);
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--light-grey);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--bordo);
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 32, 0.15);
    background-color: var(--white);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 25px,
        rgba(255, 255, 255, 0.03) 25px,
        rgba(255, 255, 255, 0.03) 27px
    );
    pointer-events: none;
}

.contact-info-card > * {
    position: relative;
    z-index: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.25rem;
    margin-right: 1rem;
    margin-top: 0.15rem;
    opacity: 0.9;
}

.contact-info-item a {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-item a:hover {
    color: var(--white);
}

/* ----------------------------------------
   Sponsors Bar
   ---------------------------------------- */
.sponsors-bar {
    background: var(--light-grey);
    padding: 2.5rem 0;
    border-top: 1px solid var(--medium-grey);
}

.sponsors-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.sponsors-title span {
    background: var(--light-grey);
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.sponsors-ticker {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.sponsors-ticker::before,
.sponsors-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sponsors-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--light-grey), transparent);
}

.sponsors-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--light-grey), transparent);
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: sponsorScroll 30s linear infinite;
    width: max-content;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

@keyframes sponsorScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-item img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: var(--transition);
}

.sponsor-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 0;
}

.site-footer .container {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--bordo), var(--bordo-light));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.7rem;
    margin-right: 0.4rem;
    color: var(--bordo);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a:hover i {
    color: var(--bordo-light);
}

/* Footer vijesti */
.footer-news-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: baseline;
}

.footer-news-link i {
    font-size: 0.7rem;
    margin-right: 0.4rem;
    color: var(--bordo);
}

.footer-news-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-news small {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.78rem;
    padding-left: 1rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}

.footer-contact li i {
    color: var(--bordo);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--bordo);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-credit {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------
   Back to Top Button
   ---------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.35);
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, var(--bordo-dark), #3d000f);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(128, 0, 32, 0.5);
}

/* ----------------------------------------
   Pagination
   ---------------------------------------- */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--bordo);
    border-color: var(--medium-grey);
    padding: 0.55rem 0.85rem;
    font-weight: 500;
    margin: 0 2px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--bordo-bg);
    border-color: var(--bordo);
    color: var(--bordo-dark);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    border-color: var(--bordo);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(128, 0, 32, 0.25);
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    background: var(--light-grey);
}

/* ----------------------------------------
   Flash Messages
   ---------------------------------------- */
.flash-message {
    border: none;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: flashSlideIn 0.4s ease;
    position: relative;
}

@keyframes flashSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-message.flash-fade-out {
    animation: flashFadeOut 0.4s ease forwards;
}

@keyframes flashFadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.flash-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* ----------------------------------------
   Forms (General Improvements)
   ---------------------------------------- */
.form-control,
.form-select {
    border-radius: var(--radius);
    border: 2px solid var(--medium-grey);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bordo);
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 32, 0.12);
}

.form-check-input:checked {
    background-color: var(--bordo);
    border-color: var(--bordo);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 32, 0.15);
    border-color: var(--bordo);
}

.invalid-feedback {
    font-size: 0.82rem;
}

/* ----------------------------------------
   Loading Spinner
   ---------------------------------------- */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid var(--medium-grey);
    border-top-color: var(--bordo);
    border-radius: 50%;
    animation: spinnerRotate 0.7s linear infinite;
}

.loading-spinner-lg::after {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

@keyframes spinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

.page-loading {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ----------------------------------------
   Speed Lines Decorative Element
   ---------------------------------------- */
.speed-lines {
    position: relative;
    overflow: hidden;
}

.speed-lines::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 50%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 15px,
        rgba(128, 0, 32, 0.04) 15px,
        rgba(128, 0, 32, 0.04) 17px
    );
    pointer-events: none;
}

/* Accent speed lines (bordo) for sections */
.speed-accent {
    position: relative;
}

.speed-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--bordo) 0px,
        var(--bordo) 20px,
        transparent 20px,
        transparent 25px
    );
}

/* ----------------------------------------
   Tire Track Texture (Subtle Background)
   ---------------------------------------- */
.tire-track-bg {
    position: relative;
}

.tire-track-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(
            0deg,
            #000 0px, #000 2px,
            transparent 2px, transparent 8px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px, transparent 4px,
            #000 4px, #000 6px,
            transparent 6px, transparent 10px
        );
    background-size: 10px 10px;
    pointer-events: none;
}

/* ----------------------------------------
   Scroll Animations
   ---------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animate-delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.animate-delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.animate-delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.animate-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.bg-bordo {
    background-color: var(--bordo) !important;
}

.bg-bordo-gradient {
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark)) !important;
}

.bg-dark-custom {
    background-color: var(--dark) !important;
}

.border-bordo {
    border-color: var(--bordo) !important;
}

.text-bordo {
    color: var(--bordo) !important;
}

.fw-heading {
    font-family: var(--font-heading);
}

.gap-custom {
    gap: 1.5rem;
}

/* Divider */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--bordo), var(--bordo-light));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Overlay container */
.overlay-container {
    position: relative;
    overflow: hidden;
}

.overlay-container .overlay {
    position: absolute;
    inset: 0;
    background: rgba(128, 0, 32, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.overlay-container:hover .overlay {
    opacity: 1;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.no-results i {
    font-size: 3rem;
    color: var(--medium-grey);
    display: block;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   Additional Component Styles
   ---------------------------------------- */

/* Sidebar */
.sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-widget h5 {
    font-size: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bordo);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Counter */
.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--bordo);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events preview on homepage */
.event-preview {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border-left: 4px solid transparent;
    margin-bottom: 0.5rem;
}

.event-preview:hover {
    background: var(--bordo-bg);
    border-left-color: var(--bordo);
}

.event-date-box {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--bordo), var(--bordo-dark));
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.event-date-box .day {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1;
}

.event-date-box .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Embed/Map */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
