/* ── Loveland Line Dancer — Design System ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --color-cream-bg: #faf6f0;
    --color-cream-card: #f7efe4;
    --color-cream-light: #fdfbf7;
    --color-burgundy: #5c162e;
    --color-burgundy-dark: #3f0b1d;
    --color-rose: #d18a7a;
    --color-rose-card: #e5b3a7;
    --color-autumn-brown: #4a2810;
    --color-autumn-dark: #361b09;
    --color-text-dark: #3a2228;
    --color-text-muted: #6e585e;
    --color-white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-soft: 0 8px 25px rgba(92, 22, 46, 0.08);
    --shadow-hover: 0 14px 30px rgba(92, 22, 46, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.site-header {
    background-color: var(--color-cream-bg);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(209, 138, 122, 0.2);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-burgundy);
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-burgundy);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.4rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-burgundy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-burgundy);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-burgundy);
    cursor: pointer;
}

/* Image Borders & Edges (Item 6) */
.bordered-img {
    border: 3px solid #ffffff;
    box-shadow: 0 8px 22px rgba(92, 22, 46, 0.12);
    border-radius: var(--radius-md);
    display: block;
}

/* Hero Section (Item 2: Full Opacity Image & Structured Text Banner) */
.hero-section {
    max-width: 1240px;
    margin: 1.5rem auto 3rem auto;
    padding: 0 1.25rem;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    box-shadow: var(--shadow-soft);
    border: 3px solid #ffffff;
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    display: block;
    opacity: 1; /* 100% full opacity */
    filter: none;
}

.hero-text-banner {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    margin-top: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 138, 122, 0.3);
}

.hero-subtitle-top {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--color-rose);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-burgundy);
    margin-bottom: 0.75rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-burgundy {
    background-color: var(--color-burgundy);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(92, 22, 46, 0.25);
}

.btn-burgundy:hover {
    background-color: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(92, 22, 46, 0.4);
}

.btn-outline-burgundy {
    background-color: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

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

/* Section Common */
.section {
    max-width: 1240px;
    margin: 4rem auto;
    padding: 0 1.25rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-burgundy);
    margin-bottom: 0.4rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.25rem;
}

/* About Section */
.about-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 138, 122, 0.25);
}

.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(92, 22, 46, 0.9);
    color: var(--color-white);
    text-align: center;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.badge-pill {
    display: inline-block;
    background: var(--color-cream-card);
    color: var(--color-burgundy);
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(209, 138, 122, 0.3);
}

.about-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--color-burgundy);
    margin-bottom: 0.75rem;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.about-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.about-socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.fb-btn {
    background-color: #1877f2;
    color: #ffffff;
}

.fb-btn:hover {
    background-color: #145dbf;
}

.yt-btn {
    background-color: #ff0000;
    color: #ffffff;
}

.yt-btn:hover {
    background-color: #cc0000;
}

/* Chilson Center Weekly Classes (Item 4: Clean White Boxes with Pop) */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.schedule-white-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(209, 138, 122, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.schedule-white-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-burgundy);
}

.card-day-header {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    text-transform: uppercase;
}

.day-monday { background: linear-gradient(135deg, #d18a7a 0%, #b86e5e 100%); }
.day-tuesday { background: linear-gradient(135deg, #5c162e 0%, #3f0b1d 100%); }
.day-thursday { background: linear-gradient(135deg, #a66f44 0%, #804f28 100%); }
.day-friday { background: linear-gradient(135deg, #d18a7a 0%, #b86e5e 100%); }
.day-saturday { background: linear-gradient(135deg, #5c162e 0%, #3f0b1d 100%); }

.card-body {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.schedule-class-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-burgundy);
    margin-bottom: 0.3rem;
}

.schedule-time {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.schedule-location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
}

.schedule-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

.btn-card-action {
    background: var(--color-cream-card);
    color: var(--color-burgundy);
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(209, 138, 122, 0.4);
    transition: var(--transition);
    margin-top: auto;
}

.btn-card-action:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.webtrac-banner {
    margin-top: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    border: 2px dashed rgba(209, 138, 122, 0.5);
    box-shadow: var(--shadow-soft);
}

.webtrac-banner p {
    font-weight: 600;
    color: var(--color-burgundy);
    margin-bottom: 0.75rem;
}

/* Events Grid & Item 5 Spacing */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 138, 122, 0.25);
    transition: var(--transition);
}

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

.event-img-wrap {
    padding: 0.75rem 0.75rem 0 0.75rem;
}

.event-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-rose);
    text-transform: uppercase;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-burgundy);
    margin: 0.25rem 0 0.4rem 0;
}

.event-location {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.event-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem; /* Generous breathing room (Item 5) */
    line-height: 1.5;
}

/* Standalone Video Player (Item 7) */
.video-standalone-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 138, 122, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.video-embed-large {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
}

.video-embed-large iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-footer-bar {
    padding: 1.25rem 1.75rem;
    background: var(--color-cream-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 600;
    color: var(--color-burgundy);
}

/* Photo Gallery Grid (Item 7) */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    cursor: pointer;
    transition: var(--transition);
    height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Contact Section & Form Styling (Item 8) */
.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 138, 122, 0.3);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-burgundy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(209, 138, 122, 0.4);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--color-cream-light);
    color: var(--color-text-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-burgundy);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(92, 22, 46, 0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    background: var(--color-cream-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--color-burgundy);
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-burgundy);
    margin-bottom: 0.4rem;
}

.info-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.social-links-list a {
    color: var(--color-burgundy);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-links-list a:hover {
    text-decoration: underline;
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 3000;
    padding: 2rem;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 3px solid #ffffff;
}

.lightbox-caption {
    color: var(--color-white);
    margin-top: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
}

/* Autumn Brown Footer (Item 9) */
.site-footer {
    background-color: var(--color-autumn-brown); /* Autumn Brown */
    color: #f7ebe1;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    margin-top: 5rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e5b3a7;
}

.footer-subtext {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #f7ebe1;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: #e5b3a7;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(247, 235, 225, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    width: 100%;
}

/* Mobile First Responsive Styles (Item 1) */
@media (max-width: 900px) {
    .about-grid, .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .video-footer-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-cream-bg);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 2px solid var(--color-rose);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-card {
        height: 320px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle-top {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .about-card, .contact-card {
        padding: 1.5rem;
    }
}
