:root {
    --primary-color: #800000;
    --secondary-color: #D4AF37;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .f-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar */
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-item.active .nav-link {
    color: var(--white) !important;
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--secondary-color);
}

/* Section Styling */
section {
    padding: 80px 0;
}
/* Hero must NOT inherit the global section padding */
#hero.hero-section {
    padding: 0;
}
.sec-title {
    text-align: center;
    margin-bottom: 50px;
}
.sec-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
}
.sec-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ============================================================
   HERO SLIDER - Professional Full-Viewport
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    max-height: 900px;
    overflow: hidden;
    background: #0a0a0a;
}

/* Slide track holds all background slides */
.hero-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Each slide as a background-image div — ensures consistent height */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    /* Single combined transition — two separate declarations cancel each other */
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Gradient overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.45) 55%,
        rgba(0, 0, 0, 0.20) 100%
    );
}

/* Caption */
.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 0 60px;
}
.hero-caption .container { max-width: 820px; }

.hero-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--secondary-color, #D4AF37);
    margin-bottom: 18px;
    opacity: 0.92;
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 36px;
}

/* CTA Buttons */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-color, #800000);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid var(--primary-color, #800000);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(128,0,0,0.45);
}
.btn-hero-primary:hover {
    background: #600000;
    border-color: #600000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(128,0,0,0.55);
    text-decoration: none;
}

.btn-hero-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.65);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    backdrop-filter: blur(2px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Prev / Next Nav Buttons */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(4px);
}
.hero-nav:hover { background: rgba(128,0,0,0.7); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Dot indicators */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
    align-items: center;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, border-color 0.3s;
    padding: 0;
}
.hero-dot.active {
    background: var(--secondary-color, #D4AF37);
    border-color: var(--secondary-color, #D4AF37);
    transform: scale(1.3);
}
.hero-dot:hover { border-color: #fff; }

/* Progress bar at top of hero */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--secondary-color, #D4AF37);
    z-index: 5;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-section { height: 70vh; min-height: 420px; }
    .hero-caption { padding: 0 0 80px; }
    .hero-nav { width: 40px; height: 40px; font-size: 0.9rem; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .hero-eyebrow { font-size: 0.75rem; letter-spacing: 2px; }
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
    background-color: #600000;
    border-color: #600000;
    color: var(--white);
}

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

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}
