:root {
    --theme-1: #b80f17;
    --theme-2: #111111;
    --theme-3: #1a1a1a;
    --theme-4: #ffffff;
    --theme-5: #eef1f6;
    --brand-red: var(--theme-1);
    --brand-black: var(--theme-2);
    --brand-dark: var(--theme-3);
    --brand-white: var(--theme-4);
}

body {
    font-family: "Inter", sans-serif;
    background:
        linear-gradient(180deg, rgba(244, 233, 234, 0.92), rgba(238, 241, 246, 0.96)),
        url("../images/sections/bg-pattern-road.png") center top / cover no-repeat fixed;
    color: #1f2937;
}

.site-main {
    min-height: calc(100vh - 140px);
}

.hero-section {
    background: linear-gradient(145deg, #0c0c0c, #2b0f12 45%, #5b0b10);
    color: var(--brand-white);
    border-radius: 1rem;
    padding: 3.5rem 2rem;
}

.hero-section--photo {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(105deg, rgba(8, 8, 8, 0.88) 12%, rgba(88, 10, 16, 0.55) 55%, rgba(8, 8, 8, 0.35)),
        var(--hero-photo) center / cover no-repeat;
    padding: 3rem 2.2rem;
}

.hero-section-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f4f4f4;
}

.panel-card {
    border: 1px solid #eceff3;
    border-radius: 0.9rem;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
}

.cms-content img { max-width: 100%; height: auto; border-radius: 8px; }
.cms-content table { width: 100%; margin: 1rem 0; }

.section-title {
    font-weight: 800;
    letter-spacing: -0.01em;
}

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

.bg-brand-black {
    background-color: var(--brand-black) !important;
}

.auth-card {
    max-width: 540px;
    margin: 0 auto;
    border-radius: 1rem;
}

.table thead th {
    white-space: nowrap;
}

.hero-carousel .carousel-inner {
    border-radius: 1rem;
}

.hero-slide-image {
    height: 460px;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4));
}

.hero-carousel .carousel-caption {
    left: 8%;
    right: 8%;
    bottom: 4rem;
    z-index: 2;
    max-width: 680px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.list-group-item {
    border-color: #edf0f4;
}

.home-feature-card {
    position: relative;
    overflow: hidden;
}

.home-feature-link:hover .home-feature-card {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
}

.home-feature-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -50% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(184, 15, 23, 0.12), rgba(184, 15, 23, 0));
    pointer-events: none;
}

.home-feature-visual {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
}

.mission-strip-image {
    object-fit: cover;
    min-height: 280px;
}

.mission-strip-copy {
    background: linear-gradient(160deg, #fff, #f8f1f2);
}

.mission-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 999px;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
}

.mission-pill img {
    border-radius: 50%;
    object-fit: cover;
}

.shot-tile {
    border-radius: 0.9rem;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.shot-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.shot-tile:hover img {
    transform: scale(1.05);
}

.home-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(145deg, #1d1f24, #b80f17);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

@media (max-width: 767.98px) {
    .hero-slide-image {
        height: 340px;
    }

    .hero-carousel .carousel-caption {
        bottom: 2rem;
    }
}
