/* ================ */
/* ROOT VARIABLES */
/* ================ */
:root {
    --blood-red: #c41230;
    --blood-dark: #a01028;
    --dark-charcoal: #222;
    --pure-white: #fff;
    --light-smoke: #f5f5f5;
    --cool-gray: #696a6c;
    --grey-pantone : #3a383a;

            --bs-sidebar-item: #2f384f !important;
            --bs-sidebar-item-hover: #c41230 !important;
            --bs-sidebar-item-active: #ffffff !important;
            --bs-sidebar-item-active-bg: #c41230 !important;
            --bs-main-nav-item-color: #2f384f !important;
}

/* ================ */
/* BASE STYLES */
/* ================ */


body {
    font-family: 'Barlow', sans-serif;
    background: var(--pure-white);
    color: var(--dark-charcoal);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================ */
/* HEADER STYLES */
/* ================ */
.blood-header {
    height: 50vh;
    min-height: 400px;
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3)),
        url('../../assets/images/index/cover.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 3rem;
}

.header-content {
    position: relative;
    z-index: 10;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--pure-white);
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.sub-title {
    font-size: 1.2rem;
    color: var(--blood-red);
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* ================ */
/* NAVIGATION */
/* ================ */
.razor-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--pure-white);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: box-shadow 0.3s ease;
}

.razor-nav.scrolled {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0 0.8rem;
}

.nav-links a {
    color: var(--dark-charcoal);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--blood-red);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--blood-red);
}

/* ================ */
/* SECTION STYLES */
/* ================ */
.killer-section {
    padding: 4rem 0;
    position: relative;
}

.bg-light-custom {
    background: var(--light-smoke);
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: var(--grey-pantone);
    color: var(--pure-white);
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    color: var(--dark-charcoal);
}

/* ================ */
/* CARD STYLES */
/* ================ */
.card-rebel {
    background: var(--pure-white);
    border: none;
    border-radius: 0;
    box-shadow: 15px 15px 0 rgba(196,18,48,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-rebel:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--blood-red);
    transition: height 0.6s ease;
    z-index: 2;
}

.card-rebel:hover {
    transform: translateY(-10px);
    box-shadow: 20px 20px 0 rgba(196,18,48,0.2);
}

.card-rebel:hover:before {
    height: 100%;
}

.card-body-rebel {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.card-icon {
    font-size: 2rem;
    color: var(--blood-red);
    margin-bottom: 1.2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
    text-transform: uppercase;
}

/* Standard Card Styles */
.card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e3e6f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ================ */
/* BUTTON STYLES */
/* ================ */
.btn-blood {
    background: var(--blood-red);
    color: var(--pure-white);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 5px 5px 0 rgba(196,18,48,0.2);
}

.btn-blood:hover {
    background: var(--blood-dark);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 rgba(196,18,48,0.3);
}

.btn-outline-blood {
    background: transparent;
    color: var(--blood-red);
    border: 2px solid var(--blood-red);
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-blood:hover {
    background: var(--blood-red);
    color: var(--pure-white);
}

.btn-group {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* ================ */
/* BLOOD BATH SECTION */
/* ================ */
.blood-bath {
    background: var(--grey-pantone);
    color: var(--pure-white);
    padding: 4rem 0;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
}

.host-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.host-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li:before {
    content: '→';
    color: var(--pure-white);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ================ */
/* ALERT BOX */
/* ================ */
.alert-blood {
    background: rgba(196,18,48,0.1);
    border-left: 3px solid var(--blood-red);
    padding: 1rem;
    margin-top: auto;
}

/* ================ */
/* CAROUSEL STYLES */
/* ================ */
.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 0;
}

.carousel {
    height: 100%;
    width: 100%;
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-item {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 15%;
}

.carousel-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 15px 25px;
    background-color: rgba(255,255,255,0.85);
    border-radius: 4px;
    max-width: 80%;
}

.carousel-caption h3 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.carousel-caption p {
    margin-bottom: 0;
    color: #555;
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    background-color: #c41230;
}

/* Controls */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #c41230;
    border-radius: 50%;
    padding: 15px;
    background-size: 60%;
}

/* Indicators */
.carousel-indicators-container {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 2;
}

.carousel-indicators-container button {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    border: none;
    background-color: #c41230;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicators-container button.active {
    background-color: #ffc107;
}

/* Progress Bar */
.carousel-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(0,0,0,0.1);
    overflow: hidden;
}

.carousel-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c41230;
    transform-origin: left;
    transform: scaleX(0);
}

.carousel-item.active .carousel-progress {
    animation: progress 5s linear forwards;
}

.carousel:hover .carousel-progress {
    animation-play-state: paused;
}

@keyframes progress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ================ */
/* BADGE STYLES */
/* ================ */
.badge-status {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-active {
    background-color: #28a745;
    color: white;
}

.badge-suspended {
    background-color: #ffc107;
    color: black;
}

.badge {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* ================ */
/* HOST CONTACT INFO */
/* ================ */
.host-contact-info {
    font-size: 0.9rem;
    line-height: 1.4;
}

.host-contact-info p {
    margin-bottom: 5px;
}

.host-logo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* ================ */
/* SPONSORS SECTION */
/* ================ */
.sponsors-section {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sponsors-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.sponsors-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.sponsors-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.sponsors-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.sponsor-item {
    flex: 0 0 auto;
    width: 250px;
    height: 150px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsors-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.sponsors-carousel-controls button {
    background-color: #ffc107;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sponsors-carousel-controls button:hover {
    background-color: #e0a800;
}

.sponsors-carousel-controls button.hidden {
    display: none;
}

/* ================ */
/* CENTERED TEXT */
/* ================ */
.centered-text {
    text-align: center;
    margin: 20px 0;
}

.centered-text small {
    display: inline-block;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.centered-text a {
    color: #007bff;
    text-decoration: none;
}

.centered-text a:hover {
    text-decoration: underline;
}

/* ================ */
/* FOOTER */
/* ================ */
.footer-section {
    background: var(--dark-charcoal);
    color: var(--pure-white);
    padding: 2rem 0;
    margin-top: 0;
}

/* ================ */
/* RESPONSIVE STYLES */
/* ================ */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .section-title, .host-title {
        font-size: 1.8rem;
    }
    
    .blood-header {
        height: 45vh;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .blood-header {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        height: 40vh;
        min-height: 300px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .sub-title {
        font-size: 1.1rem;
    }
    
    .nav-links {
        justify-content: space-around;
    }
    
    .nav-links li {
        margin: 0 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .killer-section, .blood-bath {
        padding: 3rem 0;
    }
    
    .card-body-rebel {
        padding: 1.5rem;
    }

    .blood-bath {
        clip-path: polygon(0 2%, 100% 0, 100% 100%, 0% 100%);
        padding: 3rem 0;
    }

    /* Carousel adjustments */
    .carousel-container {
        height: 350px;
    }
    
    .carousel-caption-container {
        padding: 0 10%;
    }
    
    .carousel-caption {
        max-width: 90%;
        padding: 10px 15px;
    }
    
    /* Sponsors adjustments */
    .sponsors-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sponsors-section h2, .sponsors-section p {
        text-align: center;
        width: 100%;
    }
    
    .sponsors-carousel-container {
        width: 100%;
    }
    
    .sponsor-item {
        width: 200px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        display: none;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.3rem 0;
        width: 100%;
        text-align: center;
    }
    
    .section-title, .host-title {
        font-size: 1.5rem;
    }
    
    .section-tag {
        padding: 0.4rem 1.2rem;
        font-size: 0.7rem;
    }
    
    .blood-header {
        height: 35vh;
        min-height: 250px;
    }

    .blood-bath {
        clip-path: none;
        padding: 2rem 0;
    }

    .host-title {
        font-size: 1.5rem;
    }

    .host-subtitle {
        font-size: 1rem;
    }
    
    /* Carousel adjustments */
    .carousel-container {
        height: 250px;
    }
    
    .carousel-caption {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .carousel-button {
        margin-left: 0;
        margin-top: 10px;
    }
    
    /* Card adjustments */
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}