/* David's Story Page Specific Styles */

/* Story Hero */
.story-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #7E9F74 0%, #A6C1EE 100%);
    color: white;
    text-align: center;
}

.story-hero h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.story-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Story Introduction */
.story-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 25px;
}

/* Story Chapters */
.story-chapters {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.chapter {
    margin-bottom: 80px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.chapter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.chapter.reverse .chapter-content {
    grid-template-columns: 1fr 1fr;
}

.chapter-text {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.chapter-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: #A6C1EE;
    opacity: 0.3;
}

.chapter-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

.chapter-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

.chapter-text blockquote {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
    border-left: 4px solid #A6C1EE;
    border-radius: 8px;
    font-style: italic;
    color: #333333;
    font-size: 1.1rem;
}

.chapter-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.chapter-image .placeholder-image {
    width: 100%;
    height: 300px;
    max-width: 400px;
}

/* Image Styles for David's Story */
.story-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.intro-image .story-image {
    height: 400px;
    max-width: 500px;
}

.chapter-image .story-image {
    height: 300px;
    max-width: 400px;
}

.thank-you-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Quote and Video Layout */
.quote-video-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.thank-you-video-small {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.youtube-video {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.story-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #A6C1EE 0%, #8fb0e8 100%);
    color: white;
}

.impact-section .section-title {
    color: white;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.impact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.impact-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Lessons Section */
.lessons-section {
    padding: 80px 0;
    background-color: white;
}

.lessons-content {
    max-width: 800px;
    margin: 0 auto;
}

.lesson-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    padding: 30px;
    background: #FAFAFA;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lesson-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lesson-number {
    background: #A6C1EE;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 30px;
    flex-shrink: 0;
}

.lesson-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.lesson-text p {
    color: #666666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* David Quote Section */
.david-quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #7E9F74 0%, #6d8a63 100%);
    color: white;
}

.david-quote-section .quote-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.david-quote-section .quote-text {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.david-quote-section .quote-author {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Video Section */
.video-section {
    margin-top: 60px;
    text-align: center;
}

.video-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 50px;
    opacity: 0.95;
    text-align: center;
}

.video-container {
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Video Grid Layout */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

.video-grid .video-container {
    max-width: 100%;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-grid .video-description {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.placeholder-video {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.placeholder-video:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.video-placeholder-content {
    text-align: center;
    color: white;
}

.play-button {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.placeholder-video:hover .play-button {
    opacity: 1;
    transform: scale(1.1);
}

.video-placeholder-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.video-description {
    color: white;
    font-size: 1rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #FAFAFA;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-hero {
        padding: 120px 0 60px;
    }

    .story-hero h1 {
        font-size: 2.5rem;
    }

    .story-subtitle {
        font-size: 1.1rem;
    }

    .story-intro,
    .story-chapters,
    .impact-section,
    .lessons-section,
    .david-quote-section,
    .cta-section {
        padding: 60px 0;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .chapter {
        margin-bottom: 40px;
    }

    .chapter-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .chapter.reverse .chapter-content {
        grid-template-columns: 1fr;
    }

    .chapter-text {
        padding: 30px;
    }

    .chapter-number {
        font-size: 2.5rem;
        top: 15px;
        right: 15px;
    }

    .chapter-text h3 {
        font-size: 1.5rem;
    }

    .chapter-text p {
        font-size: 1rem;
    }

    .chapter-text blockquote {
        margin: 20px 0;
        padding: 15px;
        font-size: 1rem;
    }

    .chapter-image {
        padding: 30px;
    }

    .chapter-image .placeholder-image {
        height: 200px;
    }

    .story-image {
        height: 250px;
    }

    .intro-image .story-image {
        height: 300px;
    }

    .chapter-image .story-image {
        height: 200px;
    }

    .thank-you-video {
        max-width: 100%;
    }

    .story-video {
        height: 250px;
    }

    .quote-video-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        padding: 0 10px;
    }

    .thank-you-video-small {
        max-width: 100%;
        height: 250px;
        object-fit: contain;
        background-color: #000;
    }

    .youtube-video {
        max-width: 100%;
        height: 250px;
    }

    .video-grid .video-description {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .impact-card {
        padding: 30px 20px;
    }

    .lesson-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin-bottom: 30px;
    }

    .lesson-number {
        margin-right: 0;
        margin-bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lesson-text h3 {
        font-size: 1.2rem;
    }

    .lesson-text p {
        font-size: 1rem;
    }

    .david-quote-section .quote-text {
        font-size: 1.5rem;
    }

    .video-title {
        font-size: 1.5rem;
    }

    .placeholder-video {
        height: 300px;
    }

    .play-button {
        font-size: 3rem;
    }

    .video-placeholder-text {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .story-hero h1 {
        font-size: 2rem;
    }

    .story-subtitle {
        font-size: 1rem;
    }

    .chapter-text {
        padding: 20px;
    }

    .chapter-number {
        font-size: 2rem;
    }

    .chapter-text h3 {
        font-size: 1.3rem;
    }

    .impact-card {
        padding: 25px 15px;
    }

    .impact-icon {
        font-size: 2.5rem;
    }

    .lesson-item {
        padding: 15px;
    }

    .david-quote-section .quote-text {
        font-size: 1.3rem;
    }

    .video-title {
        font-size: 1.3rem;
    }

    .placeholder-video {
        height: 250px;
    }

    .play-button {
        font-size: 2.5rem;
    }

    .video-description {
        font-size: 0.9rem;
    }
}
