/* Page visibility control */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Home Page */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(to right, rgba(0, 60, 100, 0.85), rgba(0, 78, 137, 0.85), rgba(0, 150, 200, 0.8));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
    filter: brightness(1.1);
}

/* Schedule & Book Pages */
.schedule-section, .book-section, .gallery-section, .contacts-section, .about-section, .faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 80px);
}

.schedule-section h1, .book-section h1, .gallery-section h1, .contacts-section h1, .about-section h1, .faq-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* Booking Info Section */
.booking-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.booking-info-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    text-align: center;
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.booking-info-card h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.booking-steps {
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.05), rgba(0, 217, 255, 0.05));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: left;
}

.booking-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.booking-step p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.booking-step a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.booking-step a:hover {
    text-decoration: underline;
}

.booking-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-actions .cta-button {
    min-width: 200px;
}

.cta-button.secondary {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.schedule-section iframe,
.book-section iframe {
    min-height: 1750px !important;
    height: 1750px !important;
}

.placeholder-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 2rem;
}

/* Instructions Page */
.instructions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.instructions-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.instructions-container {
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.instruction-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    align-items: flex-start;
}

.instruction-step:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.2);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.9), rgba(0, 217, 255, 0.9));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.step-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.step-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.step-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.help-section {
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.05), rgba(0, 217, 255, 0.05));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 0 auto;
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.help-section h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.help-section p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.help-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.help-section a:hover {
    text-decoration: underline;
}

/* FAQ Page */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0 0;
}

.faq-answer ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.faq-answer ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Page Tabs */
.about-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-tab-btn {
    flex: 1;
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-tab-btn:hover {
    background: rgba(0, 78, 137, 0.1);
}

.about-tab-btn.active {
    background: linear-gradient(to right, rgba(0, 60, 100, 0.85), rgba(0, 78, 137, 0.85), rgba(0, 150, 200, 0.8));
    color: white;
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.4);
}

.about-tab-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.about-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-tab-pane h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.how-it-works-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mission-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mission-section p:last-child {
    margin-bottom: 0;
}

.address-text {
    text-align: center;
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.map-container {
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.address-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.address-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.address-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Payment Plans Page */
.plans-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.plans-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

/* Instructor Toggle */
.instructor-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.instructor-btn {
    padding: 0.8rem 1.8rem;
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.instructor-btn:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

.instructor-btn.active {
    background: linear-gradient(to right, rgba(0, 60, 100, 0.85), rgba(0, 78, 137, 0.85), rgba(0, 150, 200, 0.8));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.4);
}

/* Toggle Switch */
.plan-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-btn {
    padding: 1rem 2rem;
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.toggle-btn:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: linear-gradient(to right, rgba(0, 60, 100, 0.85), rgba(0, 78, 137, 0.85), rgba(0, 150, 200, 0.8));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.4);
}

.plans-category {
    display: none;
    margin-bottom: 4rem;
    animation: fadeInUp 0.4s ease;
}

.plans-category.active {
    display: block;
}

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

.plans-category h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 1rem;
}

.plans-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
}

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

.plan-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 3px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.plan-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, #fff 0%, #fff5f2 100%);
}

.plan-card.single-session {
    border: 2px solid #e0e0e0;
}

.plan-card.single-session h3 {
    font-size: 1.6rem;
}

.plan-card.single-session .price {
    font-size: 2.5rem;
}

.plan-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.plan-card .price {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.plan-card .price span {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.plan-card .price-old {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.plan-card .price-eur {
    font-size: 1.1rem;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.plan-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.plan-card ul li.bonus-highlight {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.15), rgba(255, 204, 0, 0.05));
    padding: 0.8rem 1rem 0.8rem 2rem;
    margin-left: -0.8rem;
    margin-right: -0.8rem;
    border-radius: 8px;
    font-weight: 700;
    color: var(--secondary-color);
    border: 2px solid #ffcc00;
}

.plan-card ul li.bonus-highlight::before {
    color: #ffcc00;
    font-size: 1.2rem;
}

.plan-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, rgba(0, 60, 100, 0.85), rgba(0, 78, 137, 0.85), rgba(0, 150, 200, 0.8));
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 217, 255, 0.3);
}

.plan-button:hover {
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .schedule-section iframe,
    .book-section iframe {
        min-height: 1600px !important;
        height: 1600px !important;
    }

    /* Home Page */
    .hero {
        padding: 3rem 1.5rem;
        min-height: calc(100vh - 60px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }

    /* Schedule & Book Pages */
    .schedule-section, .book-section {
        padding: 2rem 1rem;
    }

    .schedule-section h1, .book-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Plans Page */
    .plans-section {
        padding: 2rem 1rem;
    }

    .plans-section h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .plan-toggle {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .toggle-btn {
        min-width: auto;
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .plans-category h2 {
        font-size: 1.6rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-card {
        padding: 2rem;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-card h3 {
        font-size: 1.8rem;
    }

    .plan-card .price {
        font-size: 2.5rem;
    }

    /* About Page */
    .about-tabs {
        max-width: 95%;
        padding: 0.4rem;
        gap: 0.3rem;
    }

    .about-tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    .info-section, .mission-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Home Page */
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Schedule & Book Pages */
    .schedule-section h1, .book-section h1 {
        font-size: 1.8rem;
    }

    /* Plans Page */
    .plans-section h1 {
        font-size: 1.8rem;
    }

    .plan-card h3 {
        font-size: 1.6rem;
    }

    .plan-card .price {
        font-size: 2.2rem;
    }

    .plan-button {
        font-size: 1rem;
        padding: 0.9rem;
    }

    /* About Page */
    .about-tabs {
        max-width: 98%;
        padding: 0.3rem;
        gap: 0.2rem;
        flex-wrap: wrap;
    }

    .about-tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .info-section, .mission-section {
        padding: 1.2rem;
    }

    .info-section h3, .mission-section h3 {
        font-size: 1.2rem;
    }

    .info-section p, .mission-section p {
        font-size: 1rem;
    }

    /* Instructions Page Mobile */
    .instructions-section {
        padding: 2rem 1rem;
    }

    .instructions-section h1 {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .instruction-step {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .instruction-step:hover {
        transform: translateY(-5px);
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .help-section {
        padding: 1.5rem;
    }

    .help-section h3 {
        font-size: 1.3rem;
    }

    .help-section p {
        font-size: 1rem;
    }
}
