/* ==========================================================================
   THE ART OF THE ROAST - PREMIUM FESTIVE STYLING SYSTEM
   GEO: United States (English)
   Domain: rqmxvzntlpka.life
   ========================================================================== */

/* --- Modern Custom Properties & Colors --- */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Festive Culinary Palette */
    --color-bg-base: #fdfcfa;          /* Warm elegant eggshell white */
    --color-bg-alt: #f5f3ef;           /* Creamy parchment kitchen tone */
    --color-bg-card: #ffffff;          /* Clean white containers */
    --color-border: #e7e5e4;            /* Soft warm-gray border */
    
    --color-text-main: #0f172a;        /* Deep slate navy */
    --color-text-muted: #475569;       /* Muted slate */
    --color-text-light: #78716c;       /* Muted warm stone */
    
    /* Branding Colors */
    --color-burgundy: #881337;         /* Deep rich burgundy red */
    --color-burgundy-dark: #4c0519;    /* Royal dark burgundy */
    --color-burgundy-glow: rgba(136, 19, 55, 0.08);
    
    --color-navy: #1e1b4b;             /* Festive midnight navy */
    --color-navy-light: #312e81;       
    --color-navy-glow: rgba(30, 27, 75, 0.06);

    --color-gold: #ca8a04;             /* Premium warm gold accent */
    --color-gold-light: #eab308;       /* Bright festive gold */
    --color-gold-glow: rgba(202, 138, 4, 0.15);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(30, 27, 75, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(30, 27, 75, 0.06), 0 2px 4px -2px rgba(30, 27, 75, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(30, 27, 75, 0.08), 0 8px 10px -6px rgba(30, 27, 75, 0.04);
    --shadow-premium: 0 20px 40px -15px rgba(30, 27, 75, 0.12);
    
    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Document Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- Common Components & Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: var(--color-burgundy-glow);
    color: var(--color-burgundy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(136, 19, 55, 0.2);
    margin-bottom: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b45309 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(202, 138, 4, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(202, 138, 4, 0.25);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(202, 138, 4, 0.35);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

.cta-button:hover::after {
    transform: translateX(100%);
    transition: 0.8s ease-in-out;
}

.cta-button:active {
    transform: translateY(0);
}

/* --- Header Styling --- */
.main-header {
    background-color: rgba(253, 252, 250, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-burgundy);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.logo-icon {
    color: var(--color-gold);
}

.logo-text {
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.nav-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* --- Hero Section Styling --- */
.hero-section {
    position: relative;
    padding: 80px 0 100px 0;
    background: linear-gradient(180deg, var(--color-bg-base) 0%, var(--color-bg-alt) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(136,19,55,0.04) 0%, rgba(253,252,250,0) 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.65;
}

/* Hero highlights list */
.hero-highlights {
    display: flex;
    gap: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-icon-box {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-burgundy);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.highlight-icon-box svg {
    width: 24px;
    height: 24px;
}

.highlight-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
}

.highlight-item p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Hero Form Container */
.hero-form-container {
    perspective: 1000px;
}

.form-card {
    background-color: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-burgundy), var(--color-gold));
}

.form-title {
    font-size: 1.35rem;
    color: var(--color-navy);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.form-description {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 28px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: #faf9f6;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-burgundy);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--color-burgundy-glow);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--color-burgundy);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

.checkbox-group label a {
    color: var(--color-burgundy);
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.submit-button {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b45309 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(202, 138, 4, 0.25);
    transition: var(--transition-normal);
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(202, 138, 4, 0.35);
}

/* Success State */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* --- About & Visual Presentation Section --- */
.about-section {
    padding: 100px 0;
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
}

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

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 420px;
    background-color: var(--color-navy);
}

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

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 27, 75, 0.85) 80%);
    padding: 30px;
    color: #ffffff;
    z-index: 2;
}

.overlay-badge {
    display: inline-block;
    background-color: var(--color-gold);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.overlay-text {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

.about-details {
    display: flex;
    flex-direction: column;
}

.section-tag {
    color: var(--color-burgundy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.perks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--color-navy);
}

.perk-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* --- Curriculum Accordion Section --- */
.curriculum-section {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.curriculum-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.curr-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-bg-card);
    transition: var(--transition-normal);
}

.curr-item:hover {
    border-color: rgba(136, 19, 55, 0.2);
    box-shadow: var(--shadow-md);
}

.curr-question {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    text-align: left;
}

.curr-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-gold);
    width: 48px;
    line-height: 1;
    display: block;
}

.curr-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-navy);
    flex-grow: 1;
}

.curr-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: transform var(--transition-normal);
}

.curr-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #fafbfc;
}

.curr-inner {
    padding: 0 24px 24px 72px;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.bullet-list {
    margin-top: 16px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background-color: var(--color-burgundy);
}

/* Active curriculum accordion state */
.curr-item.active {
    border-color: rgba(136, 19, 55, 0.3);
    box-shadow: var(--shadow-lg);
}

.curr-item.active .curr-question {
    background-color: var(--color-burgundy-glow);
}

.curr-item.active .curr-title {
    color: var(--color-burgundy);
}

.curr-item.active .curr-icon {
    transform: rotate(180deg);
    color: var(--color-burgundy);
}

.curr-item.active .curr-answer {
    max-height: 300px;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-card);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-border);
    background-color: #faf9f6;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-navy);
    cursor: pointer;
    outline: none;
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    transition: transform var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1), padding var(--transition-normal);
    padding: 0 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
    background-color: #ffffff;
}

.faq-item.active .faq-question {
    color: var(--color-burgundy);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-burgundy);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px 24px;
    border-top-color: var(--color-border);
}

/* --- Footer Styling --- */
.main-footer {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 80px 0 0 0;
    border-top: 4px solid var(--color-gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 320px;
}

.footer-nav h4,
.footer-contact-info h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul a {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-nav ul a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-info {
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-info a {
    color: var(--color-gold-light);
}

.footer-contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* --- Compliant Modals Styling --- */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-normal);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.modal-card {
    background-color: var(--color-bg-card);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-text-main);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.modal-content h2 {
    font-size: 1.75rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.modal-content h3 {
    font-size: 1.15rem;
    color: var(--color-navy);
    margin: 24px 0 10px 0;
}

.modal-content p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .about-image-card {
        height: 300px;
    }
    
    .curr-inner {
        padding: 0 20px 20px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-content {
        padding: 24px;
    }
}

/* Animations */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
