/* ═══════════════════════════════════════════════════════════
   Academic Burgundy Theme — ZTech SchoolSuite (v1.3.2)
   Traditional scholarly design. Preston International-esque.
   ═══════════════════════════════════════════════════════════ */

.theme-academic-burgundy {
    font-family: var(--zs-theme-body-font, "Crimson Pro", serif);
    color: var(--zs-theme-text, #2C2420);
    background: var(--zs-theme-bg, #FFFDF7);
    font-size: 17px;
    line-height: 1.7;
}

.theme-academic-burgundy h1,
.theme-academic-burgundy h2,
.theme-academic-burgundy h3,
.theme-academic-burgundy h4 {
    font-family: var(--zs-theme-heading-font);
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.2;
    color: var(--zs-theme-dark, #2B1114);
}

.theme-academic-burgundy .display-4,
.theme-academic-burgundy .display-5 {
    font-family: var(--zs-theme-display-font);
    font-weight: 800;
    letter-spacing: -.01em;
    font-style: italic;
}

.theme-academic-burgundy .small,
.theme-academic-burgundy small {
    font-family: var(--zs-theme-small-font, "Lato", sans-serif);
}

/* Navigation — cream background with deep burgundy */
.theme-academic-burgundy .navbar {
    background: var(--zs-theme-bg);
    border-bottom: 1px solid var(--zs-theme-border);
    box-shadow: var(--zs-theme-shadow);
    padding: 1.5rem 0;
}
.theme-academic-burgundy .navbar-brand,
.theme-academic-burgundy .navbar-brand strong {
    font-family: var(--zs-theme-display-font);
    color: var(--zs-theme-primary) !important;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .02em;
    font-style: italic;
}
.theme-academic-burgundy .navbar .nav-link {
    font-family: var(--zs-theme-small-font);
    color: var(--zs-theme-dark) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: 2px;
    padding: .5rem 1rem !important;
    transition: color .2s;
}
.theme-academic-burgundy .navbar .nav-link:hover {
    color: var(--zs-theme-primary) !important;
}

/* Hero */
.theme-academic-burgundy .hero {
    min-height: 82vh;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--zs-theme-primary-dark) 0%, var(--zs-theme-primary) 50%, var(--zs-theme-dark) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.theme-academic-burgundy .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top, rgba(201,169,97,.15), transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(43,17,20,.3) 100%);
    pointer-events: none;
}
.theme-academic-burgundy .hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(201,169,97,.15);
    border-radius: 50%;
    pointer-events: none;
}
.theme-academic-burgundy .hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}
.theme-academic-burgundy .hero h1 {
    font-family: var(--zs-theme-display-font);
    font-size: clamp(2.5rem, 5.5vw, 4.75rem);
    color: white;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0,0,0,.4);
    margin-bottom: 1.5rem;
    position: relative;
}
.theme-academic-burgundy .hero h1::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--zs-theme-accent);
    margin: 0 auto 1.5rem;
}
.theme-academic-burgundy .hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--zs-theme-accent);
    margin: 1.5rem auto 0;
}
.theme-academic-burgundy .hero .lead {
    font-family: var(--zs-theme-body-font);
    font-size: 1.35rem;
    color: rgba(255,253,247,.95);
    font-style: italic;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Buttons */
.theme-academic-burgundy .btn-primary-zs {
    background: var(--zs-theme-accent, #C9A961);
    color: var(--zs-theme-dark) !important;
    border: none;
    font-family: var(--zs-theme-small-font);
    font-weight: 700;
    padding: .85rem 2.25rem;
    border-radius: var(--zs-theme-radius, 2px);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .8rem;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(201,169,97,.25);
}
.theme-academic-burgundy .btn-primary-zs:hover {
    background: var(--zs-theme-accent-dark);
    color: white !important;
    transform: translateY(-1px);
}
.theme-academic-burgundy .btn-outline-light {
    border: 1px solid rgba(255,255,255,.7);
    color: white;
    font-family: var(--zs-theme-small-font);
    font-weight: 600;
    padding: .75rem 2rem;
    border-radius: var(--zs-theme-radius, 2px);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .8rem;
}

/* Feature cards — parchment-inspired */
.theme-academic-burgundy .feature-card {
    padding: 40px 32px;
    background: var(--zs-theme-bg);
    border: 1px solid var(--zs-theme-border);
    border-radius: var(--zs-theme-radius-lg, 4px);
    transition: all .3s;
    height: 100%;
    text-align: center;
    position: relative;
}
.theme-academic-burgundy .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--zs-theme-primary);
    opacity: 0;
    transition: opacity .3s;
}
.theme-academic-burgundy .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zs-theme-shadow-lg);
    border-color: var(--zs-theme-accent);
}
.theme-academic-burgundy .feature-card:hover::before {
    opacity: 1;
}
.theme-academic-burgundy .feature-card h5 {
    font-family: var(--zs-theme-heading-font);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--zs-theme-primary);
    margin-bottom: .75rem;
}
.theme-academic-burgundy .feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50% !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 3px solid var(--zs-theme-accent);
    box-shadow: 0 0 0 4px var(--zs-theme-bg), 0 0 0 5px var(--zs-theme-border);
}

/* Stats */
.theme-academic-burgundy section .fw-bold[style*="font-size:2.5rem"] {
    font-family: var(--zs-theme-display-font) !important;
    color: var(--zs-theme-primary) !important;
    font-style: italic;
}

/* Testimonials */
.theme-academic-burgundy .card {
    border-radius: var(--zs-theme-radius-lg, 4px);
    border: 1px solid var(--zs-theme-border);
    background: var(--zs-theme-bg);
}
.theme-academic-burgundy .bg-light {
    background: var(--zs-theme-bg-alt, #F7F0E1) !important;
    position: relative;
}
.theme-academic-burgundy .bg-light::before,
.theme-academic-burgundy .bg-light::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--zs-theme-accent);
    opacity: .5;
}
.theme-academic-burgundy .bg-light::before {
    top: 20px;
}
.theme-academic-burgundy .bg-light::after {
    bottom: 20px;
}

/* Section headings — flanked with ornaments */
.theme-academic-burgundy section h2 {
    font-family: var(--zs-theme-display-font);
    font-size: 2.75rem;
    font-style: italic;
    font-weight: 800;
    color: var(--zs-theme-primary);
    position: relative;
}
.theme-academic-burgundy section .text-center h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--zs-theme-accent);
    margin: 1.25rem auto 0;
}

/* CTA */
.theme-academic-burgundy section[style*="gradient(135deg,#0F172A"] {
    background: var(--zs-theme-primary) !important;
    position: relative;
    overflow: hidden;
}
.theme-academic-burgundy section[style*="gradient(135deg,#0F172A"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(201,169,97,.2), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(123,31,44,.8), transparent 60%);
    pointer-events: none;
}
.theme-academic-burgundy section[style*="gradient(135deg,#0F172A"] > .container {
    position: relative;
    z-index: 1;
}
.theme-academic-burgundy section[style*="gradient(135deg,#0F172A"] h2 {
    color: white !important;
    font-style: italic;
}

/* Footer */
.theme-academic-burgundy footer {
    background: var(--zs-theme-dark);
    color: rgba(255,253,247,.75);
    padding: 4rem 0 2rem;
    border-top: 4px double var(--zs-theme-accent);
}

/* Swiper */
.theme-academic-burgundy .hero-swiper {
    position: relative;
    overflow: hidden;
    min-height: 82vh;
}
.theme-academic-burgundy .swiper-pagination-bullet {
    background: transparent;
    border: 2px solid rgba(255,255,255,.6);
    width: 12px;
    height: 12px;
    opacity: 1;
    transition: all .3s;
}
.theme-academic-burgundy .swiper-pagination-bullet-active {
    background: var(--zs-theme-accent);
    border-color: var(--zs-theme-accent);
}
.theme-academic-burgundy .swiper-button-prev,
.theme-academic-burgundy .swiper-button-next {
    color: var(--zs-theme-accent);
    background: transparent;
    border: 1px solid rgba(201,169,97,.4);
    width: 50px;
    height: 50px;
}
.theme-academic-burgundy .swiper-button-prev::after,
.theme-academic-burgundy .swiper-button-next::after {
    font-size: 1rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-academic-burgundy .hero {
        min-height: 70vh;
    }
    .theme-academic-burgundy .hero h1 {
        font-size: 2.5rem;
    }
}
