/*-----------------------------------------------------------------------*/
/* Top Photo Gallery */
/*-----------------------------------------------------------------------*/
.photo-gallery {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    overflow: hidden;
}

.photo-gallery img {
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 768px) {
    .photo-gallery {
        justify-content: center;
    }

    .photo-gallery img {
        width: 70%;
        order: 2;
    }

    .photo-gallery img:first-child,
    .photo-gallery img:last-child {
        display: none;
    }
}

/*-----------------------------------------------------------------------*/
/* About Me Sections */
/*-----------------------------------------------------------------------*/
.about-me-container {
    max-width: 90%;
    margin: 0 auto;
}

/* Each major topic (bio, journey, clients) gets its own card, with the page's
   background showing through the gaps -- this is what gives the page rhythm
   instead of one continuous dark block. */
.about-card {
    background: linear-gradient(to right, #001F3F, #004080);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 28px;
    color: #FFFFFF;
}

.about-card p {
    line-height: 1.6;
}

.about-me-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.about-card .about-me-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.about-me-description a {
    color: #FFFFFF;
    text-decoration: underline;
}

/*-----------------------------------------------------------------------*/
/* Performance Options */
/*-----------------------------------------------------------------------*/
.performance-options {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 28px;
}

.performance-option {
    flex: 1 1 220px;
}

.performance-option h3 {
    color: #FFD700;
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.performance-option p {
    margin: 0;
}

/*-----------------------------------------------------------------------*/
/* Closing CTA */
/*-----------------------------------------------------------------------*/
.about-closing-cta {
    max-width: 90%;
    margin: 20px auto 0;
    padding: 40px 20px;
    background: linear-gradient(to right, #001F3F, #004080);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #FFFFFF;
}

.about-closing-cta h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.about-closing-cta p {
    margin: 0 0 24px;
    line-height: 1.6;
}

.about-closing-cta .cta-button {
    display: inline-block;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    background: #FFD700;
    color: #001F3F;
    transition: opacity 0.2s ease;
}

.about-closing-cta .cta-button:hover {
    opacity: 0.9;
}

/*-----------------------------------------------------------------------*/
/* My Freestyle Journey Carousel */
/*-----------------------------------------------------------------------*/
.my-freestyle-journey-carousel {
    margin: 20px auto 0 auto;
    width: 95%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
}

.my-freestyle-journey-carousel.slick-initialized {
    visibility: visible;
    opacity: 1;
}

.about-me-image-container {
    position: relative;
    overflow: hidden;
    margin: 10px;
    width: 50%;
}

.about-me-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-me-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
}

@media only screen and (min-width: 769px) {
    .my-freestyle-journey-carousel {
        margin: 0 auto 10px auto;
    }

    .about-me-image-container img {
        transition: opacity 0.3s ease-in-out;
    }

    .about-me-description {
        transition: opacity 0.3s ease-in-out;
    }

    .about-me-image-container:hover img {
        opacity: 0.3;
    }

    .about-me-image-container:hover .about-me-description {
        opacity: 1;
    }
}

@media only screen and (max-width: 768px) {
    .about-me-image-container {
        width: 100%;
    }

    .about-me-description {
        position: relative;
        text-align: center;
        color: #fff;
        opacity: 1;
        transition: none;
        margin-top: 60px;
        margin-bottom: -40px;
    }

    .about-me-image-container img {
        transition: none;
    }
}

/*-----------------------------------------------------------------------*/
/* Selected Clients */
/*-----------------------------------------------------------------------*/
.logo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.logo-gallery img {
    width: 130px;
    height: 80px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease-in-out, transform 0.2s ease;
}

.logo-gallery img:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

@media only screen and (max-width: 768px) {
    .logo-gallery img {
        width: 100px;
        height: 64px;
        padding: 8px;
    }
}
