/* CSS Variables */
:root {
    --background: #FFFBF5;
    --foreground: #2C1810;
    --orange-primary: #E87C3E;
    --orange-light: #F5A962;
    --orange-dark: #C85C2E;
    --yellow-light: #F4D19B;
    --brown-dark: #6B4423;
    --cream: #FFF4E0;
    --teal: #5DADA8;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Titan One', cursive;
    font-weight: 400;
}

a {
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-medium {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--background);
    border-bottom: 4px solid transparent;
    transition: all 0.1s;
}

#navbar.scrolled {
    background: var(--background);
    border-bottom: 4px solid var(--foreground);
    box-shadow: 0.15em 0.15em 0 var(--foreground);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--orange-primary);
    transition: transform 0.1s;
}

.logo:hover h1 {
    transform: translate(-0.05em, -0.05em);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--orange-primary);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn:hover {
    color: var(--orange-primary);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile .nav-link {
    padding: 0.5rem 0;
}

/* Buttons */
.btn-primary {
    background: var(--orange-primary);
    color: var(--foreground);
    padding: 0.6em 1.3em;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid var(--foreground);
    border-radius: 0.4em;
    box-shadow: 0.1em 0.1em;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translate(-0.05em, -0.05em);
    box-shadow: 0.15em 0.15em;
}

.btn-primary:active {
    transform: translate(0.05em, 0.05em);
    box-shadow: 0.05em 0.05em;
}

.btn-secondary {
    background: transparent;
    color: var(--foreground);
    padding: 0.6em 1.3em;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid var(--foreground);
    border-radius: 0.4em;
    box-shadow: 0.1em 0.1em;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    transform: translate(-0.05em, -0.05em);
    box-shadow: 0.15em 0.15em;
}

.btn-secondary:active {
    transform: translate(0.05em, 0.05em);
    box-shadow: 0.05em 0.05em;
}

.btn-tertiary {
    background: var(--teal);
    color: var(--foreground);
    padding: 0.6em 1.3em;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid var(--foreground);
    border-radius: 0.4em;
    box-shadow: 0.1em 0.1em;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-tertiary:hover {
    transform: translate(-0.05em, -0.05em);
    box-shadow: 0.15em 0.15em;
}

.btn-tertiary:active {
    transform: translate(0.05em, 0.05em);
    box-shadow: 0.05em 0.05em;
}

/* Cards */
.card {
    background: white;
    border: 4px solid var(--foreground);
    border-radius: 0.6em;
    box-shadow: 0.15em 0.15em 0 var(--foreground);
    transition: transform 0.1s, box-shadow 0.1s;
}

.card-hover:hover {
    transform: translate(-0.05em, -0.05em);
    box-shadow: 0.2em 0.2em 0 var(--foreground);
}

.card-primary {
    background: var(--orange-primary);
    border: 4px solid var(--foreground);
    border-radius: 0.6em;
    box-shadow: 0.15em 0.15em 0 var(--foreground);
    padding: 1.5rem;
}

.card-secondary {
    background: var(--yellow-light);
    border: 4px solid var(--foreground);
    border-radius: 0.6em;
    box-shadow: 0.15em 0.15em 0 var(--foreground);
    padding: 1.5rem;
}

.card-accent {
    background: var(--teal);
    border: 4px solid var(--foreground);
    border-radius: 0.6em;
    box-shadow: 0.15em 0.15em 0 var(--foreground);
    padding: 1.5rem;
}

.card-cream {
    background: var(--cream);
    border: 4px solid var(--foreground);
    border-radius: 0.6em;
    box-shadow: 0.15em 0.15em 0 var(--foreground);
    padding: 1.5rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-bg {
    background: var(--background);
}

.section-cream {
    background: var(--cream);
}

.section-white {
    background: white;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--orange-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 3rem;
}

.section-note {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 3rem;
}

/* Hero Section */
#hero {
    padding: 5rem 0 0 0;
}

#hero .container {
    max-width: 100%;
    padding: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* About Section */
.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-cards .card {
    padding: 1.5rem;
}

.icon-wrapper {
    margin-bottom: 1rem;
}

.icon {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: var(--orange-primary);
}

.info-cards h3 {
    font-size: 1.25rem;
    color: var(--orange-primary);
    margin-bottom: 0.5rem;
}

.info-cards p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

.about-highlight {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

/* Teachers Section */
.teacher-pairs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pair-title {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.teacher-pairs p {
    font-weight: 600;
    color: var(--foreground);
}

.teachers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.teacher-card {
    overflow: hidden;
}

.teacher-photo {
    position: relative;
    height: 320px;
    background: var(--orange-primary);
    border-bottom: 4px solid var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-placeholder {
    text-align: center;
}

.emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.teacher-name-overlay {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--foreground);
}

.teacher-info {
    padding: 1.5rem;
}

.teacher-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.teacher-name.orange {
    color: var(--orange-primary);
}

.teacher-name.teal {
    color: var(--teal);
}

.teacher-info p {
    font-weight: 600;
    color: var(--brown-dark);
    line-height: 1.6;
}

/* Levels Section */
.levels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.level-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--orange-primary);
}

.level-icon {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: var(--orange-primary);
}

.level-header h3 {
    font-size: 1.5rem;
    color: var(--orange-primary);
}

.level-card {
    padding: 1.5rem;
}

.level-description {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.level-description p {
    font-weight: 600;
    color: var(--brown-dark);
    line-height: 1.6;
}

.requirements {
    margin-bottom: 1.5rem;
}

.requirements h4 {
    font-size: 1.125rem;
    color: var(--brown-dark);
    margin-bottom: 0.75rem;
}

.requirements ul {
    list-style: none;
}

.requirements li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--brown-dark);
}

.check {
    font-size: 1.25rem;
    font-weight: 900;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.check.orange {
    color: var(--orange-primary);
}

.check.yellow {
    color: var(--yellow-light);
}

.pricing {
    padding-top: 1.5rem;
    border-top: 4px solid var(--foreground);
}

.pricing h4 {
    font-size: 1.125rem;
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
}

.price-text {
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

/* Schedule Section */
.tabs-container {
    margin-bottom: 3rem;
}

.tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: -4px;
    padding-left: 10%;
}

.tab {
    padding: 1rem 2rem;
    font-weight: 900;
    font-size: 1rem;
    background: var(--background);
    color: rgba(107, 68, 35, 0.6);
    border: 4px solid var(--foreground);
    border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.tab:hover {
    color: var(--brown-dark);
    background: rgba(255, 244, 224, 0.5);
}

.tab.active {
    background: var(--cream);
    color: var(--orange-primary);
    border-bottom: 4px solid var(--cream);
    z-index: 20;
}

.tab-content {
    position: relative;
    z-index: 1;
}

.schedule {
    display: none;
}

.schedule.active {
    display: block;
}

.schedule-header {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.schedule-header > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 400;
    color: var(--orange-primary);
    font-size: 1.5rem;
    font-family: 'Titan One', cursive;
}

.schedule-icon {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: var(--orange-primary);
}

.session-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.session {
    padding: 1rem;
}

.time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    color: var(--brown-dark);
    margin-bottom: 0.25rem;
}

.time-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.time-icon.orange {
    color: var(--orange-primary);
}

.time-icon.yellow {
    color: var(--yellow-light);
}

.teachers {
    font-weight: 900;
    color: var(--brown-dark);
}

.room {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(107, 68, 35, 0.7);
}

.room-icon {
    width: 1rem;
    height: 1rem;
}

.room-icon.orange {
    color: var(--orange-primary);
}

.room-icon.yellow {
    color: var(--yellow-light);
}

.break {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-weight: 900;
    color: var(--foreground);
    text-align: center;
    background: var(--teal);
    border: 4px solid var(--foreground);
    border-radius: 0.6em;
    box-shadow: 0.15em 0.15em 0 var(--foreground);
    margin-bottom: 1rem;
}

.break-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
}

.location-info {
    margin-top: 3rem;
    text-align: center;
}

.location-info p {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.bold {
    font-weight: 900;
}

/* Parties Section */
.parties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.party-card {
    padding: 1.5rem;
    text-align: center;
}

.party-card.featured {
    transform: scale(1);
}

.party-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.party-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.party-date {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.party-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.party-venue {
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.party-address {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.party-note {
    text-align: center;
}

.party-note p {
    font-weight: 600;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-form-wrapper {
    max-width: 672px;
    margin: 0 auto 3rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 4px solid var(--foreground);
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    background: white;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--orange-primary);
}

textarea {
    resize: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 4px solid var(--foreground);
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0;
}

.form-status {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.6em;
    display: none;
}

.form-status.success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--teal);
    border: 4px solid var(--foreground);
    font-weight: 700;
    color: var(--foreground);
}

.form-status.error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffcccc;
    border: 4px solid #cc0000;
    font-weight: 700;
    color: #cc0000;
}

button[type="submit"] {
    width: 100%;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
}

button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: #1E1E1E;
    padding: 3rem 0;
}

.footer-cta {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-cta h3 {
    font-size: 2rem;
    color: var(--orange-primary);
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-cta .btn-primary {
    border-color: white;
    box-shadow: 0.1em 0.1em white;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--orange-primary);
}

.footer-organizer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-organizer span {
    color: white;
    font-weight: 600;
}

.footer-organizer img {
    height: 2rem;
}

.footer-organizer a:hover {
    opacity: 0.8;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-content {
        height: 80px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 6rem 0;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .teacher-pairs {
        grid-template-columns: 1fr 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr 1fr;
    }

    .levels-grid {
        grid-template-columns: 1fr 1fr;
    }

    .schedule-header {
        display: grid;
    }

    .session-row {
        grid-template-columns: 1fr 1fr;
    }

    .parties-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .party-card.featured {
        transform: scale(1.05);
        z-index: 10;
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}
