/* About Us Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('https://quimbaya-tours.com/wp-content/uploads/2023/11/1654001190157.jpg');
    background-size: cover;
    background-position: center;
    min-height: 546px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Section Titles */
.section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 35px;
    font-weight: 700;
    font-style: normal;
    color: #000;
}

/* History Section */
.history-content-wrapper {
    border: solid #D0D0D0 1px;
    padding: 30px;
    border-radius: 20px;
    gap: 20px;
}

.history-content {
    margin: 0 auto;
}

.history-content p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 35px;
    text-shadow: 4px 4px 21px rgba(0, 0, 0, .19);
    color: #000;
}

.history-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
}

.history-content-img-wrapper {
    border-radius: 20px;
    height: 748px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.history-content-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Mission, Vision, Values Cards */


.mvv-card {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 243px;
    border-radius: 22px;
    padding: 42px 59px 43px 43px;
}

.mvv-card-container {
    gap: 20px;
}

.mvv-card h3 {
    font-family: "Inter", sans-serif;
    font-size: 25px;
    font-weight: 700;
    font-style: normal;
    line-height: 48px;
    color: #000;
}

.mvv-card p {
    text-align: left;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
}

/* Custom Gallery Carousel - 4 Slides View */
.gallery-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #42a1ce;
}

.gallery-section .section-title {
    color: #484848;
}

.gallery-carousel-wrapper {
    margin: 0 auto;
    position: relative;
}

.custom-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    margin: 0 60px; /* Space for navigation buttons */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 25%; /* Each slide takes 25% width to show 4 at a time */
    padding: 0 10px;
}

.carousel-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

/* Navigation Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-slide {
        flex: 0 0 50%; /* Show 2 slides on tablet */
    }

    .carousel-slide img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section{
        min-height: 0;
        padding-top: 60px;
        padding-bottom: 115px;
    }

    .carousel-container {
        margin: 0 40px;
    }

    .carousel-slide {
        flex: 0 0 100%; /* Show 1 slide on mobile */
    }

    .carousel-slide img {
        height: 300px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
    }
}

.wave-bottom svg{
    fill: none;
}

/* Team Section */
.team-section-grey {
    background-color: #f5f5f5;;
}

.team-section .section-title {
    color: #484848;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, transparent 30%, #f5f5f5 30%) no-repeat center bottom / 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-member-grey {
    background: linear-gradient(to bottom, transparent 30%, #fff 30%) no-repeat center bottom / 100%;
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.team-member h4,
.team-member h5,
.team-member p {
    margin-bottom: 0;
}

.member-name {
    font-family: "Inter", sans-serif;
    font-size: 25px;
    font-weight: 700;
    font-style: normal;
    color: #000;
}

.member-title {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.member-office {
    color: #6ec1e4;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Management Team Specific */
.management-team .team-member .member-photo {
    width: 200px;
    height: 200px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .wave-divider svg {
        height: 60px;
    }

    .history-content p {
        text-align: left;
    }

    .member-photo {
        width: 150px;
        height: 150px;
    }

    .management-team .team-member .member-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 40px 20px;
    }
}