/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background-color: #0d0d0d;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    background-color: #0d0d0d;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 3rem 0;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Quote Section */
.quote-section {
    margin-bottom: 3rem;
}

.hero-quote {
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #ffffff;
}

.quote-attribution {
    font-size: 1.1rem;
    color: #b0b0b0;
    font-weight: 400;
}

/* Philippe Petit Photo */
.petit-photo-wrapper {
    position: relative;
    margin: 3rem 0;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.petit-photo-container {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.petit-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
    transition: transform 0.3s ease;
}

.petit-photo:hover {
    transform: scale(1.02);
}

.photo-caption {
    background-color: #2a2a2a;
    border: 2px dashed #444;
    padding: 1.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    margin-top: -4px;
}

.photo-caption p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

.photo-placeholder {
    background-color: #2a2a2a;
    border: 2px dashed #444;
    padding: 2rem 2rem;
    border-radius: 4px;
    text-align: center;
}

.photo-placeholder p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.photo-modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1400px;
}

.photo-modal-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.photo-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.photo-modal-close:hover {
    color: #bbb;
}

/* Three GIF Progression */
.three-gif-progression {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 4rem 0 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gif-progression-box {
    text-align: center;
}

.gif-progression-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #ffffff;
}

.progression-gif-container {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.progression-gif {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.gif-progression-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
}

.hero-tagline {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-top: 3rem;
    font-weight: 300;
    color: #e0e0e0;
}

/* Video Gallery Section */
.video-gallery-section {
    background-color: #0d0d0d;
    padding: 5rem 0;
}

.video-gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #ffffff;
}

/* Video Gallery */
.main-video-container {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.main-video-container iframe {
    width: 100%;
    height: 500px;
    display: block;
}

.video-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.thumbnail {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #444;
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.thumbnail:hover {
    border-color: #f5f5f5;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Sections - Dark Theme */
.content-section {
    padding: 3rem 0;
    background-color: #1a1a1a;
    color: #f5f5f5;
}

.content-section.alt-bg {
    background-color: #0d0d0d;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #ffffff;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.column h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.column p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #d0d0d0;
}

.column h4 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    color: #f5f5f5;
}

/* Benefits List */
.benefits-list ul {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #d0d0d0;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f5f5f5;
    font-weight: bold;
}

/* Progression */
.progression-item {
    background-color: #2a2a2a;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border-left: 4px solid #f5f5f5;
}

.progression-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

/* Video Gallery */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.placeholder-box {
    background-color: #2a2a2a;
    border: 2px dashed #444;
    padding: 4rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.placeholder-box p {
    font-size: 1.2rem;
    color: #888;
    line-height: 1.8;
}

.placeholder-box.small {
    padding: 2rem 1rem;
}

.placeholder-box.small p {
    font-size: 0.9rem;
}

/* Research Links */
.research-links {
    background-color: #2a2a2a;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
    border: 1px solid #3a3a3a;
}

.research-links h4 {
    color: #ffffff;
}

.research-links em {
    color: #b0b0b0;
}

/* Getting Started */
.getting-started {
    background-color: #2a2a2a;
    color: #f5f5f5;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid #3a3a3a;
}

.getting-started h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.getting-started p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
}

/* Coming Soon Cards */
.coming-soon-card {
    background-color: #2a2a2a;
    border: 2px dashed #444;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.coming-soon-card:hover {
    border-color: #666;
}

.coming-soon-badge {
    display: inline-block;
    background-color: #f5f5f5;
    color: #1a1a1a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coming-soon-card h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.coming-soon-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.coming-soon-card.small {
    padding: 1.5rem 1rem;
}

.coming-soon-card.small .coming-soon-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
}

.coming-soon-card.small h4 {
    font-size: 1rem;
}

.coming-soon-card.small p {
    font-size: 0.85rem;
}

/* Coaching Section */
.coaching-intro,
.credentials,
.coaching-format {
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.coaching-intro p,
.credentials p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

/* Expand Link */
.expand-link {
    text-align: center;
    margin: 2rem 0;
    cursor: pointer;
}

.expand-link span {
    color: #f5f5f5;
    font-size: 1.1rem;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.expand-link span:hover {
    opacity: 0.7;
}

/* Coaching Details (Collapsible) */
.coaching-details {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.credentials h3,
.coaching-format h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.coaching-format ul {
    list-style: none;
    padding-left: 0;
}

.coaching-format li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #d0d0d0;
    font-size: 1.1rem;
}

.coaching-format li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #f5f5f5;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid #3a3a3a;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-section p {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #f5f5f5;
    color: #1a1a1a;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #2a2a2a;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: #1a1a1a;
    color: #f5f5f5;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f5f5f5;
}

.submit-button {
    background-color: #f5f5f5;
    color: #1a1a1a;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
}

/* Footer */
.footer {
    background-color: #0d0d0d;
    color: #b0b0b0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-quote {
        font-size: 1.5rem;
    }

    .quote-attribution {
        font-size: 1rem;
    }

    .three-gif-progression {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .progression-gif-container {
        max-width: 250px;
        margin: 0 auto 1rem auto;
    }

    .progression-gif {
        max-width: 160px;
    }

    .main-video-container iframe {
        height: 250px;
    }

    .video-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .coming-soon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .modal-content {
        width: 95%;
        padding: 2rem;
        margin: 10% auto;
    }

    .photo-modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}