/* Blossomy Waldorf - Skin Pink & White Theme */
:root {
    --skin-pink: #F5C4D4;
    --lighter-pink: #FDD7E4;
    --darker-pink: #E8A8B8;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--skin-pink);
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInScale 1.5s ease-out;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 30px;
}

.decorative-line {
    height: auto;
    width: 240px;
    opacity: 0;
    animation: growIn 1.2s ease-out forwards;
}

.decorative-line.left {
    animation-delay: 0.2s;
}

.logo {
    height: 200px;
    opacity: 0;
    animation: growIn 1.2s ease-out forwards;
    animation-delay: 0.4s;
}

.decorative-line.right {
    animation-delay: 0.6s;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    animation: growIn 1.2s ease-out forwards;
    animation-delay: 0.8s;
}

.flag {
    width: 40px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--darker-pink);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(244, 194, 194, 0.3);
}

.flag:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(244, 194, 194, 0.5);
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    opacity: 0;
    animation: growIn 1.2s ease-out forwards;
    animation-delay: 1s;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nav-icon {
    width: 75px;
    height: 75px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 5px;
}

.nav-icon[data-page="home"] {
    width: 81px;
    height: 81px;
}

.nav-icon:hover {
    transform: scale(1.15);
}

.nav-icon.active {
    background-color: var(--skin-pink);
    box-shadow: 0 6px 12px rgba(244, 194, 194, 0.4);
}

.nav-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75em;
    color: var(--white);
    text-align: center;
    font-weight: 300;
    max-width: 80px;
    line-height: 1.2;
}

/* Main Content */
.main-content {
    text-align: center;
}

.hero-frame {
    position: relative;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 50px;
    max-width: 80%;
    margin: 0 auto;
    opacity: 0;
    animation: growIn 1.2s ease-out forwards;
    animation-delay: 1.2s;
    border-radius: 60px 80px 70px 90px / 80px 60px 90px 70px;
    border: 4px solid var(--white);
    box-shadow:
        0 8px 32px rgba(244, 194, 194, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    filter: url('#squiggle');
}

.hero-text h1 {
    font-size: 2.5em;
    color: var(--skin-pink);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.1em;
    color: var(--text-light);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes growIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo-section {
        gap: 15px;
        flex-direction: column;
    }
    
    .decorative-line {
        width: 180px;
    }
    
    .logo {
        height: 150px;
    }
    
    .navigation {
        gap: 10px;
    }
    
    .nav-icon {
        width: 56px;
        height: 56px;
    }

    .nav-icon[data-page="home"] {
        width: 61px;
        height: 61px;
    }
    
    .hero-frame {
        padding: 25px;
    }
    
    .hero-text h1 {
        font-size: 1.8em;
    }
    
    .hero-text p {
        font-size: 1em;
    }
}

/* Teachers Page Styles - Old Layout (kept for other pages) */
.teachers-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Teachers Page Styles - New Centered Layout */
.teachers-layout-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.teacher-thumbnails-horizontal {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.teacher-thumbnail-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.teacher-thumbnail-item:hover {
    transform: scale(1.1);
}

.teacher-thumbnail-item.selected {
    transform: scale(1.15);
}

.teacher-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 8px 16px rgba(244, 194, 194, 0.4);
    transition: all 0.3s ease;
}

.teacher-thumbnail-item:hover .teacher-photo {
    box-shadow: 0 12px 24px rgba(244, 194, 194, 0.6);
    border-color: var(--darker-pink);
}

.teacher-thumbnail-item.selected .teacher-photo {
    border-color: var(--darker-pink);
    box-shadow: 0 12px 24px rgba(244, 194, 194, 0.8);
}

.teacher-info-container {
    width: 100%;
    max-width: 900px;
}

/* Activities Page Styles */
.activities-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Our Lives Page Styles */
.our-lives-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.thumbnails-container {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thumbnail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--lighter-pink);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--darker-pink);
    box-shadow: 0 6px 12px rgba(244, 194, 194, 0.4);
}

.thumbnail.selected {
    background-color: var(--skin-pink);
    border-color: var(--darker-pink);
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(244, 194, 194, 0.5);
}

.teacher-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

.activity-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--white);
}

.life-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--white);
}

.thumbnail span {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-dark);
}

.info-frame {
    flex: 1;
    min-width: 300px;
}

.info-box {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 60px 80px 70px 90px / 80px 60px 90px 70px;
    padding: 50px;
    border: 4px solid var(--white);
    box-shadow:
        0 8px 32px rgba(244, 194, 194, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    filter: url('#squiggle');
    animation: fadeInScale 0.5s ease-out;
}

.info-box h2 {
    color: var(--skin-pink);
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: var(--skin-pink);
    font-size: 1.3em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.info-box p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.info-box strong {
    color: var(--text-dark);
    font-weight: bold;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInScale 1.2s ease-out;
}

.page-title h1 {
    font-size: 2.5em;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-title p {
    font-size: 1.2em;
    color: var(--white);
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */
.contact-form {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 60px 80px 70px 90px / 80px 60px 90px 70px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    border: 4px solid var(--white);
    box-shadow:
        0 8px 32px rgba(244, 194, 194, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    filter: url('#squiggle');
}

.contact-form h2 {
    color: var(--skin-pink);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--white);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--darker-pink);
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(244, 194, 194, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--white);
    color: var(--skin-pink);
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: scale(1.05);
    background-color: var(--darker-pink);
    color: var(--white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.thank-you-message {
    background-color: var(--lighter-pink);
    border: 2px solid var(--darker-pink);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    animation: fadeInScale 0.5s ease-out;
}

.thank-you-message h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.thank-you-message p {
    color: var(--text-light);
}

/* General Content Pages */
.content-frame {
    position: relative;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 50px;
    max-width: 80%;
    margin: 30px auto 0;
    border-radius: 60px 80px 70px 90px / 80px 60px 90px 70px;
    border: 4px solid var(--white);
    box-shadow:
        0 8px 32px rgba(244, 194, 194, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    filter: url('#squiggle');
}

.content-frame h2 {
    color: var(--skin-pink);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.content-frame p {
    color: var(--text-light);
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.content-frame ul {
    color: var(--white);
    margin: 20px 0;
    padding-left: 30px;
}

.content-frame li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo-section {
        gap: 15px;
        flex-direction: column;
    }
    
    .decorative-line {
        width: 180px;
    }
    
    .logo {
        height: 150px;
    }
    
    .navigation {
        gap: 10px;
    }
    
    .nav-icon {
        width: 56px;
        height: 56px;
    }

    .nav-icon[data-page="home"] {
        width: 61px;
        height: 61px;
    }

    .hero-frame {
        padding: 25px;
        max-width: 95%;
    }

    .content-frame {
        padding: 25px;
        max-width: 95%;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .teachers-layout {
        flex-direction: column;
        gap: 30px;
    }

    .teacher-thumbnails-horizontal {
        gap: 15px;
        padding: 10px;
    }

    .teacher-photo {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .teacher-info-container {
        padding: 0 10px;
    }

    .thumbnails-container {
        flex: 1;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .thumbnail {
        min-width: 200px;
    }

    .info-frame {
        min-width: auto;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .content-frame {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .navigation {
        gap: 5px;
    }

    .nav-icon {
        width: 50px;
        height: 50px;
    }

    .nav-icon[data-page="home"] {
        width: 54px;
        height: 54px;
    }

    .teacher-photo {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .teacher-thumbnails-horizontal {
        gap: 10px;
    }

    .thumbnail {
        min-width: 180px;
        padding: 10px;
    }

    .teacher-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .page-title h1 {
        font-size: 2em;
    }
    
    .page-title p {
        font-size: 1em;
    }
}
