/* Fencing Journey Specific Styles */

/* Hero Section */
.fencing-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #FAFAFA 0%, #f0f4ff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.hero-fencing-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Athlete Information Section */
.athlete-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.athlete-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #A6C1EE;
}

.info-card h3 {
    color: #333333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #666666;
}

.info-value {
    font-weight: 600;
    color: #333333;
}

.experience-text {
    color: #555555;
    line-height: 1.6;
    font-size: 1rem;
}

.club-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.club-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.club-name {
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
}

.coach-name {
    color: #666666;
    font-size: 0.9rem;
}

.tracker-link a {
    color: #A6C1EE;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(166, 193, 238, 0.1);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.tracker-link a:hover {
    background: #A6C1EE;
    color: white;
    transform: translateY(-2px);
}

.tracker-link-inline {
    color: #A6C1EE;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(166, 193, 238, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tracker-link-inline:hover {
    background: #A6C1EE;
    color: white;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #A6C1EE, #7E9F74);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex: 0 0 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.timeline-year {
    background: #A6C1EE;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(166, 193, 238, 0.3);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 20px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
    transform: translateY(-50%);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

/* Timeline Awards */
.timeline-awards {
    margin: 15px 0;
    padding: 15px;
    background: rgba(166, 193, 238, 0.1);
    border-radius: 8px;
    border-left: 4px solid #A6C1EE;
}

.award-item {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 5px;
    font-weight: 500;
}

.award-item:last-child {
    margin-bottom: 0;
}

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

.reflections-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

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

.reflection-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.reflection-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.reflection-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

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

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

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gallery-item .placeholder-image {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 0;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
    color: #666666;
    font-weight: 500;
}

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

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

.fencing-quote-section .quote-text {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.fencing-quote-section .quote-author {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Highlight Reel Section */
.highlight-reel-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #7E9F74 0%, #A6C1EE 100%);
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.highlight-video {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-caption {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* New Video Section Styles */
.video-section {
    margin-bottom: 60px;
}

.video-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.youtube-video {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Active Navigation Link */
.nav-link.active {
    color: #A6C1EE;
}

.nav-link.active::after {
    width: 100%;
}

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

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

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-fencing-image {
        height: 300px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 60px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        top: 0;
        flex: none;
    }

    .timeline-content {
        margin: 0;
        margin-top: 20px;
    }

    .timeline-content::before {
        display: none;
    }

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

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

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .highlight-video {
        height: 180px;
    }

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

    .info-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .training-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .competition-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-video {
        height: 160px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .fencing-quote-section .quote-text {
        font-size: 1.4rem;
    }
}

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

    .fencing-hero .hero-subtitle {
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: -10px;
    }

    .timeline-content {
        padding: 20px;
    }

    .reflection-card {
        padding: 20px;
    }

    .gallery-item .placeholder-image {
        height: 200px;
    }

    .story-image .placeholder-image {
        height: 250px;
    }

    .fencing-quote-section     .quote-text {
        font-size: 1.2rem;
    }
}

/* Image Styles */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.timeline-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Specific styling for first victory photo */
.timeline-item:nth-child(3) .timeline-img {
    object-position: center 30%;
}

/* Specific styling for national success photo */
.timeline-item:nth-child(4) .timeline-img {
    object-position: center 20%;
}

/* Specific styling for becoming a coach photo */
.timeline-item:nth-child(5) .timeline-img {
    object-position: center 45%;
}

/* Specific styling for intense competition moment photo */
.gallery-item:nth-child(1) .gallery-img {
    object-position: center 10%;
}

.hero-fencing-image {
    width: 100%;

    object-position: center 35%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.story-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.thank-you-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}
