:root {
    /* Vivid Palette - Inspired by Luna Flamenca poster */
    --primary-color: #2c003e; /* Deep Purple */
    --secondary-color: #5d1a8b; /* Violet */
    --accent-red: #c60c30; /* Vivid Red */
    --accent-gold: #ffd700; /* Gold */
    --light-bg: #f3e5f5; /* Very light lavender */
    --text-color: #2c003e; /* Dark Purple Text */
    --bs-primary: #5d1a8b; /* Bootstrap Primary Override */
    --bs-secondary: #c60c30; /* Bootstrap Secondary Override */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

h1, h2 {
    color: var(--accent-gold);
    /* Strong outline/stroke effect */
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px 1px 0 #000,
         1px 1px 0 #000,
         3px 3px 5px rgba(0,0,0,0.5);
}

.bg-dark {
    background-color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a0026 100%) !important;
}

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

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

.bg-light {
    background-color: #e6e6fa !important; /* Lavender Mist */
    background-color: var(--light-bg) !important;
}

.text-secondary {
    color: #5d1a8b !important;
}

.text-success {
    color: var(--accent-gold) !important;
}

.text-muted {
    color: rgba(44, 0, 62, 0.7) !important;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    color: var(--accent-gold) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
}

.hero {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(44, 0, 62, 0.6), rgba(93, 26, 139, 0.4)); /* Purple overlay */
}

.hero h1 {
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(198, 12, 48, 0.4);
}

.btn-outline-light {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline-light:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-color);
    font-weight: bold;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-top: 4px solid var(--secondary-color);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(93, 26, 139, 0.2) !important;
    border-top-color: var(--accent-red);
}

.class-card {
    border-left: 5px solid var(--accent-gold) !important;
}

.classes-page, 
.services-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    color: #e6e6fa; /* Light Lavender Text */
}

.classes-page .class-card,
.   display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-red), var(--accent-gold), var(--accent-red));
}

footer {
    background: linear-gradient(135deg, #1a0026 0%, var(--primary-color) 100%);
    border-top: 5px solid var(--accent-gold);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold) !important;
}

/* Timeline specific */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 4px; /* Thicker line */
    background: var(--accent-gold); /* Gold line */
    margin-left: -2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}
