/* public/css/style.css */

:root {
    /* Hauptpalette (Violett-Töne) */
    --primary-color-dark: #4A148C; /* Tiefviolett */
    --primary-color: #8E24AA;      /* Hauptviolett */
    --primary-color-light: #E1BEE7; /* Hellviolett */

    /* Komplementär-/Akzentfarben (Gelb-Orange-Töne) */
    --accent-color-orange: #FFAB40; /* Orange */
    --accent-color-yellow: #FFD600; /* Gelb */
    --accent-color-brown: #8D6E63;  /* Braun */

    /* Sekundärfarbe (Grün) */
    --secondary-color-green: #4CAF50;
    --error-color: #D32F2F;

    /* Text- und Hintergrundfarben */
    --text-color: #333333;
    --background-color: #FDFEFE;
    --header-background: #FFFFFF;
    --footer-background: #333333;
    --footer-text: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

main {
    flex-grow: 1;
}

/* Header und Navigation */
header {
    background-color: var(--header-background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.15);
}

.nav-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 999px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Abstand zwischen переключателем языка и кнопками аутентификации */
}

.auth-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.auth-nav li {
    margin-left: 20px;
}

.auth-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-nav a:hover {
    color: var(--primary-color);
}

.logo {
    /* font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none; */
}

.header-logo {
    height: 56px; /* etwas größer für bessere Sichtbarkeit */
    vertical-align: middle;
}

.main-nav, .lang-switcher {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.main-nav li, .lang-switcher li {
    margin-left: 20px;
}

.main-nav a, .lang-switcher a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-pill-courses {
    background: var(--primary-color-light);
    color: var(--primary-color-dark) !important;
    border-radius: 20px;
    padding: 8px 14px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(142, 36, 170, 0.18);
}

.nav-pill-courses:hover {
    background: var(--primary-color);
    color: #fff !important;
}

/* Sprachumschalter */
.lang-switcher a {
    padding: 5px 8px;
    border-radius: 4px;
}

.lang-switcher a.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.lang-switcher a:not(.active):hover {
    background-color: var(--primary-color-light);
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }

    header nav {
        position: relative;
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-background);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        padding: 16px 5%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-menu.nav-menu--open {
        display: flex;
    }

    .main-nav,
    .lang-switcher,
    .auth-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 6px;
    }

    .main-nav li,
    .lang-switcher li,
    .auth-nav li {
        margin: 0;
        width: 100%;
    }

    .main-nav a,
    .lang-switcher a,
    .auth-nav a {
        display: inline-block;
        width: 100%;
        padding: 8px 0;
    }

    .nav-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-icon-container {
        margin-top: 4px;
    }
}

/* Landing Page Sections */
.page-section {
    padding: 4rem 0;
}

.hero-section {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(255,255,255,0.15), transparent 40%),
                linear-gradient(120deg, #5e35b1, #7e57c2 50%, #5e35b1 100%);
    color: white;
    padding: 4.5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 2rem;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual-img {
    width: min(520px, 100%);
}

.hero-visual-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.cta-button {
    background-color: var(--accent-color-orange);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #fb8c00; /* Darker orange */
}

.featured-courses-section {
    background-color: #f9f9f9;
    text-align: center;
}
.featured-courses-section h2 {
    font-weight: 700;
}

.course-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.course-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 300px;
    text-align: left;
}

.course-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.cta-section {
    background-color: var(--primary-color-light);
    text-align: center;
    padding: 3rem 0 5.5rem;
}
.cta-section h2 {
    margin-bottom: 1rem;
}
.cta-section .cta-button {
    margin-top: 1.5rem;
    display: inline-block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.testimonial-card .quote {
    font-size: 1rem;
    color: #333;
    margin: 0;
}
.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color-dark);
    margin: 0;
}
/* Kontaktformular und Flash-Nachrichten */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.flash-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    color: white;
    text-align: center;
}

.flash-message.success {
    background-color: var(--secondary-color-green);
}

.flash-message.error {
    background-color: var(--error-color);
}

/* Footer */
footer {
    background-color: var(--footer-background);
    color: var(--footer-text);
    padding: 2rem 0;
    text-align: center;
}

.footer-contact {
    margin-top: 12px;
    line-height: 1.5;
}

.footer-contact a {
    color: var(--footer-text);
    text-decoration: underline;
}

/* Authentifizierungsformulare */
.auth-form-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: var(--header-background);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}

.auth-form-container h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.auth-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Wichtig für korrekte Breite */
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: 1px solid transparent;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px;
    line-height: 0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
}

.password-toggle:focus {
    outline: none;
    border-color: rgba(0,0,0,0.2);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

.password-toggle .icon-hide {
    display: none;
}

.password-toggle.is-visible .icon-show {
    display: none;
}

.password-toggle.is-visible .icon-hide {
    display: block;
}

.auth-form button:not(.password-toggle) {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.auth-form button:not(.password-toggle):hover {
    background-color: var(--primary-color-dark);
}

.auth-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Contact form spam honeypot */
.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =================================
   Generische Komponenten (z.B. Buttons)
   ================================= */
.btn-violet {
    background-color: var(--primary-color);
    color: white;
}

.btn-violet:hover {
    background-color: var(--primary-color-dark);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: var(--accent-color-orange); /* Default color for Add to Cart */
    color: white; /* Ensure text is readable on default background */
}

.btn:hover {
    background-color: var(--primary-color-dark); /* Purple hover as requested/observed */
    color: white; /* Ensure text is readable on purple hover */
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-color-orange);
}

.btn-primary:hover {
    background-color: #fb8c00; /* Darker orange */
}

.btn-delete {
    background-color: var(--error-color);
}

.btn-delete:hover {
    background-color: #c62828; /* Darker red */
}

.btn-success {
    background-color: var(--secondary-color-green);
}

.btn-success:hover {
    background-color: #388E3C; /* Darker green */
}

.btn-secondary {
    background-color: #aaa;
}

.btn-secondary:hover {
    background-color: #888;
}


/* Course List Page - Clickable Cards */
.course-item-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Ensures the link takes up the full space of the container */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* =================================
   Warenkorb Icon & Seite
   ================================= */

.cart-icon-container {
    position: relative;
}

.cart-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
}

.cart-item-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--error-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1;
}

.cart-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: white;
}

.cart-table th, .cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark);
    font-weight: bold;
}

.cart-table tfoot td {
    font-weight: bold;
    font-size: 1.2rem;
}

.cart-table tfoot strong {
    color: var(--primary-color-dark);
}

.checkout-container {
    margin-top: 2rem;
    text-align: right;
}

/* =================================
   Account Page
   ================================= */
.children-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.children-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.child-actions {
    display: flex;
    gap: 10px;
}

.account-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#add-child-section {
    background-color: #f8f9fa; /* Sehr helles Grau */
}

#my-bookings-section {
    background-color: #f1f3f5; /* Etwas dunkleres Grau */
}

#my-vouchers-section {
    background-color: #fff9e6; /* Sehr helles Gelb */
}

.vouchers-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.vouchers-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-left: 5px solid var(--accent-color-orange);
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.voucher-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.voucher-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-size: 0.9rem;
    color: #555;
}

.voucher-details strong {
    color: var(--primary-color-dark);
    font-size: 1.2rem;
}

/* Stil für die Buchungstabelle */
.bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.bookings-table th, .bookings-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.bookings-table th {
    font-weight: 600;
    color: var(--primary-color-dark);
    background-color: rgba(225, 190, 231, 0.3); /* Sehr leichter violetter Hauch */
}

.bookings-table tr:last-child td {
    border-bottom: none;
}

.bookings-table tr:hover {
    background-color: #f8f9fa;
}

/* Stil für Status-Badges */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-transform: capitalize;
}

.status-badge.status-confirmed {
    background-color: #28a745; /* Grün */
}

.status-badge.status-pending-payment {
    background-color: #fd7e14; /* Orange */
}

.status-badge.status-cancelled {
    background-color: #dc3545; /* Rot */
}

.course-meta-cards {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.course-meta-cards .card {
    flex: 1;
}

.course-meta-cards .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.voucher-info-box {
    background-color: #e7f3ff;
    border-left: 5px solid #007bff;
    padding: 15px;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.voucher-info-box p {
    margin: 0;
    font-weight: 500;
}

.course-booking-options {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.course-booking-options .form-group {
    max-width: 400px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.schedule-table th, .schedule-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.schedule-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.schedule-table tbody tr:nth-child(odd) {
    background-color: #fdfdfe;
}

.back-link-container {
    margin-top: 2rem;
}

/* =================================
   New Account Page Layout (Refactored)
   ================================= */

.account-sidebar .nav-pills .nav-link {
    color: var(--text-color);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Icon und Text */
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.account-sidebar .nav-pills .nav-link i {
    font-size: 1.2rem; /* Größe der Icons */
    width: 20px; /* Feste Breite für die Icons zur Ausrichtung */
    text-align: center;
}

.account-sidebar .nav-pills .nav-link:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark);
}

.account-sidebar .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.account-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-height: 100%;
}

.voucher-card .card-title {
    color: var(--primary-color-dark);
}

.voucher-card .badge {
    font-size: 1.2rem;
}

/* =================================
   Public Course Card Standardization
   ================================= */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ddd; /* Slightly thicker light gray border */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow in normal state */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1); /* More pronounced shadow on hover */
}

.course-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-link:hover {
    color: inherit;
}

.course-card-img-container {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f2f2f2;
}

.course-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container without distortion */
    display: block;
}

.course-detail-hero {
    margin-bottom: 1.5rem;
    position: relative;
}

.course-detail-hero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    background-color: #f2f2f2;
}

.course-detail-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%);
    color: #fff;
    border-radius: 8px;
}

.course-detail-hero-overlay h1 {
    margin: 0;
    padding: 10px 18px;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    letter-spacing: 0.02em;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.framed-image {
    background: rgba(208, 153, 249, 0.92);
    border: 1px solid rgba(208, 153, 249, 0.65);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.framed-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.course-card .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflow */
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
    /* flex-grow: 1; Removed as min-height is now used for consistency */
    min-height: 120px; /* Adjust as needed to fit title + 4 lines of text comfortably */
}

/* =================================
   New Homepage Content Sections
   ================================= */

.home-section {
    padding: 3rem 0;
}

.home-section.alt-bg {
    background-color: #f9f4ff; /* Very light violet */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Intro Section */
.home-intro-main {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 1rem auto;
}

.home-intro-sub {
    font-size: 1.2rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* Mission Section */
.mission-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}
.mission-credo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color-dark);
    max-width: 800px;
    margin: 0 auto;
}
.mission-split .mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}
.mission-visual {
    order: 1;
}
.mission-text {
    order: 2;
}
.mission-visual {
    display: flex;
    justify-content: center;
}
.mission-visual-img {
    width: min(480px, 100%);
}
.mission-visual-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Directions Section */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.direction-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-bottom: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.direction-card .card-header h3 {
    color: var(--primary-color-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.direction-card .card-header p {
    color: #555;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.direction-image {
    text-align: center;
    margin-bottom: 0.75rem;
}
.direction-image img {
    max-width: 40%;
    height: auto;
    display: inline-block;
    border-radius: 8px;
    object-fit: contain;
}

.direction-card .card-items {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.direction-card .card-items li {
    padding: 8px 0 8px 30px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.direction-card .card-items li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--secondary-color-green);
    font-weight: bold;
}

.direction-card .card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.direction-card .card-footer p {
    color: #777;
    font-style: italic;
    margin: 0;
}

/* Split Section (Children/Parents) */
.split-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.split-column {
    flex: 1;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color-dark);
    margin-top: 2rem;
}

/* Bubble Lists */
.bubble-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0;
}

.bubble {
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.bubble-list.large .bubble {
    padding: 12px 22px;
    font-size: 1.1rem;
}

/* Atmosphere Section */
.atmosphere-footer {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
}

/* Motto Section */
.motto-text {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--primary-color-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* =================================
   About Us Page Styles
   ================================= */

.about-page .page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.about-page .about-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid #eee;
}

.about-page .about-section:last-child {
    border-bottom: none;
}

.about-page .alt-bg {
    background-color: #f9f4ff; /* Very light violet */
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    border-radius: 8px;
}

.about-page .text-center {
    text-align: center;
}

.about-page .about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.about-page .map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-page .address-intro {
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.about-page .address-line {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color-dark);
}

.about-page .section-title {
    font-size: 2rem;
    color: var(--primary-color-dark);
    margin-bottom: 1.5rem;
}

.about-page .directions-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-page .directions-list li {
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color-orange);
    line-height: 1.6;
}

.about-page .directions-list li strong {
    color: var(--primary-color-dark);
}

.about-page .split-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-page .split-column {
    flex: 1;
}

.about-page .split-column p {
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-page .motto-section .motto-text {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
    max-width: 800px;
    margin: 1rem auto;
}

/* Footer Privacy Link */
.footer-separator {
    margin: 0 10px;
    opacity: 0.7;
}

footer a {
    color: var(--footer-text);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: none;
}
.tile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.tile-image {
    text-align: center;
}
.tile-image .framed-image {
    display: inline-block;
    max-width: 80%;
}
.tile-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.tile-card .bubble-list {
    margin-top: auto;
}
.tile-card .quote-text {
    margin-top: 0.5rem;
}
.row.g-4 .col-md-6 {
    display: flex;
}
.row.g-4 .col-md-6 > .tile-card {
    width: 100%;
}
