/* ========================================
   Purple Giraffe FlutterFlow Page Styles
   Page-specific styles only - common styles are in common.css
   REQUIRES: common.css to be loaded first
   ======================================== */

/* ========================================
   Base Styles and Typography
   ======================================== */
.pg-flutterflow-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--pg-dark-gray);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.pg-ff-container {
    max-width: var(--pg-container-width);
    margin: 0 auto;
    padding: 0 var(--pg-spacing-md);
}

.pg-ff-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pg-black);
    text-align: center;
    margin-bottom: var(--pg-spacing-lg);
    line-height: 1.2;
}

.pg-ff-section-description {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--pg-spacing-md);
    color: var(--pg-dark-gray);
}

/* ========================================
   Hero Section
   ======================================== */
.pg-ff-hero {
    background: linear-gradient(135deg, var(--pg-purple) 0%, var(--pg-black) 100%);
    color: var(--pg-white);
    padding: var(--pg-spacing-xl) 0;
    text-align: center;
}

.pg-ff-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.pg-ff-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--pg-spacing-md);
    line-height: 1.1;
}

.pg-ff-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--pg-spacing-md);
    opacity: 0.9;
}

.pg-ff-hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.6;
}

/* ========================================
   No-code Section
   ======================================== */
.pg-ff-nocode {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-light-gray);
}

/* ========================================
   Course Section
   ======================================== */
.pg-ff-course {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-white);
}

/* ========================================
   Instructor Profile Section
   ======================================== */
.pg-ff-instructor {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-light-gray);
}

.pg-ff-instructor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--pg-spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.pg-ff-instructor-photo-wrapper {
    flex-shrink: 0;
}

.pg-ff-instructor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pg-ff-instructor-info {
    flex: 1;
}

.pg-ff-instructor-bio-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--pg-spacing-md);
    color: var(--pg-dark-gray);
}

.pg-ff-instructor-bio-text a {
    color: var(--pg-purple);
    text-decoration: none;
    border-bottom: 1px solid var(--pg-purple);
    transition: var(--pg-transition);
}

.pg-ff-instructor-bio-text a:hover {
    color: var(--pg-black);
    border-bottom-color: var(--pg-black);
}

.pg-ff-instructor-quote {
    background-color: var(--pg-white);
    padding: var(--pg-spacing-md);
    border-left: 4px solid var(--pg-purple);
    font-style: italic;
    font-size: 1.125rem;
    margin: var(--pg-spacing-lg) 0;
    border-radius: var(--pg-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ========================================
   Features Section
   ======================================== */
.pg-ff-features {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-white);
}

.pg-ff-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--pg-spacing-lg);
    margin-top: var(--pg-spacing-lg);
}

.pg-ff-feature-card {
    background-color: var(--pg-white);
    padding: var(--pg-spacing-lg);
    border-radius: var(--pg-border-radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--pg-transition);
}

.pg-ff-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(156, 56, 108, 0.15);
}

.pg-ff-feature-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: var(--pg-spacing-md);
}

.pg-ff-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pg-black);
    margin-bottom: var(--pg-spacing-sm);
}

.pg-ff-feature-description {
    font-size: 1rem;
    color: var(--pg-dark-gray);
    line-height: 1.6;
}

/* ========================================
   FAQ Section
   ======================================== */
.pg-ff-faq {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-light-gray);
}

.pg-ff-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.pg-ff-faq-item {
    background-color: var(--pg-white);
    border-radius: var(--pg-border-radius);
    margin-bottom: var(--pg-spacing-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--pg-transition);
}

.pg-ff-faq-item-active {
    box-shadow: 0 4px 20px rgba(156, 56, 108, 0.15);
}

.pg-ff-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--pg-spacing-md);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--pg-black);
    transition: var(--pg-transition);
}

.pg-ff-faq-question:hover {
    background-color: var(--pg-light-gray);
}

.pg-ff-faq-question:focus {
    outline: 2px solid var(--pg-purple);
    outline-offset: -2px;
}

.pg-ff-faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--pg-purple);
}

.pg-ff-faq-question[aria-expanded="true"] .pg-ff-faq-icon {
    transform: rotate(180deg);
}

.pg-ff-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pg-ff-faq-answer p {
    padding: 0 var(--pg-spacing-md) var(--pg-spacing-md);
    margin: 0;
    color: var(--pg-dark-gray);
    line-height: 1.7;
}

.pg-ff-faq-answer p + p {
    padding-top: var(--pg-spacing-sm);
}

/* ========================================
   Made in France Section
   ======================================== */
.pg-ff-made-in-france {
    padding: var(--pg-spacing-xl) 0;
    background-color: var(--pg-white);
    text-align: center;
}

.pg-ff-made-in-france-content {
    max-width: 700px;
    margin: 0 auto;
}

.pg-ff-made-in-france-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pg-black);
    margin-bottom: var(--pg-spacing-sm);
}

.pg-ff-made-in-france-subtext {
    font-size: 1rem;
    color: var(--pg-dark-gray);
}

/* ========================================
   Footer
   ======================================== */
.pg-ff-footer {
    padding: var(--pg-spacing-lg) 0;
    background-color: var(--pg-black);
    color: var(--pg-white);
    text-align: center;
}

.pg-ff-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (min-width: 768px) {
    .pg-ff-instructor-content {
        flex-direction: row;
        text-align: left;
    }

    .pg-ff-instructor-photo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .pg-ff-hero-title {
        font-size: 2.5rem;
    }

    .pg-ff-hero-subtitle {
        font-size: 1.25rem;
    }

    .pg-ff-hero-description {
        font-size: 1.125rem;
    }

    .pg-ff-section-title {
        font-size: 2rem;
    }

    .pg-ff-section-description {
        font-size: 1.125rem;
    }

    .pg-ff-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pg-ff-hero-title {
        font-size: 2rem;
    }

    .pg-ff-hero-subtitle {
        font-size: 1.125rem;
    }

    .pg-ff-hero-description {
        font-size: 1rem;
    }

    .pg-ff-section-title {
        font-size: 1.75rem;
    }

    .pg-ff-instructor-photo {
        width: 150px;
        height: 150px;
    }

    .pg-ff-container {
        padding: 0 var(--pg-spacing-sm);
    }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--pg-purple);
    outline-offset: 2px;
}
