
/* =========================================
   ALORA DESERT RESORT - TEAM PAGE
========================================= */

:root {
    --team-primary: #b18a54;
    --team-secondary: #c6a16b;
    --team-dark: #29251f;
    --team-text: #77716a;
    --team-light: #f8f5ef;
    --team-white: #ffffff;
}


/* =========================================
   COMMON STYLES
========================================= */

.team-section-tag {
    display: inline-block;
    color: var(--team-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.team-primary-btn,
.team-join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px 27px;
    background: var(--team-primary);
    color: var(--team-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.35s ease;
}

.team-primary-btn:hover,
.team-join-btn:hover {
    background: var(--team-dark);
    color: var(--team-white);
    transform: translateY(-3px);
}

.team-primary-btn i,
.team-join-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.team-primary-btn:hover i,
.team-join-btn:hover i {
    transform: translate(3px, -3px);
}


/* =========================================
   TEAM HERO
========================================= */

.team-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url("../images/gallery-1.jpg") center/cover no-repeat;
    overflow: hidden;
}

.team-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(28, 24, 19, 0.82),
        rgba(28, 24, 19, 0.38)
    );
}

.team-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 100px 30px;
    text-align: center;
    color: var(--team-white);
}

.team-hero-subtitle {
    display: inline-block;
    color: #e3c394;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.team-hero-content h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 20px;
}

.team-hero-content h1 span {
    color: #d6b27b;
}

.team-hero-content > p {
    max-width: 590px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 15px;
    line-height: 1.9;
}

.team-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #e0d6c7;
}

.team-breadcrumb a {
    color: #d6b27b;
    text-decoration: none;
    transition: 0.3s;
}

.team-breadcrumb a:hover {
    color: white;
}

.team-breadcrumb i {
    font-size: 10px;
}

.team-breadcrumb span {
    color: white;
}


/* =========================================
   TEAM INTRO SECTION
========================================= */

.team-intro-section {
    padding: 110px 25px;
    background: var(--team-white);
}

.team-intro-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 90px;
}

.team-intro-content h2 {
    font-family: "Playfair Display", serif;
    color: var(--team-dark);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 25px;
}

.team-intro-content h2 span {
    color: var(--team-primary);
}

.team-intro-content p {
    color: var(--team-text);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 17px;
}

.team-intro-content .team-primary-btn {
    margin-top: 15px;
}

.team-intro-image {
    position: relative;
    min-height: 470px;
    padding: 0 35px 35px 0;
}

.team-intro-main-image {
    width: 88%;
    height: 420px;
    overflow: hidden;
    margin-left: auto;
}

.team-intro-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.team-intro-image:hover .team-intro-main-image img {
    transform: scale(1.05);
}

.team-intro-small-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 43%;
    height: 220px;
    border: 8px solid white;
    overflow: hidden;
}

.team-intro-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-intro-image-label {
    position: absolute;
    right: 0;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--team-white);
    padding: 15px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09);
    color: var(--team-dark);
    font-size: 12px;
    font-weight: 700;
}

.team-intro-image-label i {
    color: var(--team-primary);
    font-size: 19px;
}


/* =========================================
   TEAM MEMBERS SECTION
========================================= */

.team-members-section {
    padding: 105px 25px;
    background: var(--team-light);
}

.team-members-container {
    max-width: 1200px;
    margin: auto;
}

.team-section-heading {
    max-width: 650px;
    margin: 0 auto 55px;
    text-align: center;
}

.team-section-heading h2 {
    font-family: "Playfair Display", serif;
    color: var(--team-dark);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 17px;
}

.team-section-heading h2 span {
    color: var(--team-primary);
}

.team-section-heading p {
    color: var(--team-text);
    font-size: 14px;
    line-height: 1.9;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 28px;
}

.team-member-card {
    background: var(--team-white);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(49, 39, 25, 0.12);
}

.team-member-image {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #e8e0d4;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.07);
}

.team-member-socials {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    opacity: 0;
    transform: translateX(12px);
    transition: 0.4s ease;
}

.team-member-card:hover .team-member-socials {
    opacity: 1;
    transform: translateX(0);
}

.team-member-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--team-white);
    color: var(--team-dark);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.team-member-socials a:hover {
    background: var(--team-primary);
    color: white;
}

.team-member-info {
    padding: 25px 24px 28px;
    text-align: center;
}

.team-member-role {
    display: block;
    color: var(--team-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 11px;
}

.team-member-info h3 {
    font-family: "Playfair Display", serif;
    color: var(--team-dark);
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 11px;
}

.team-member-info p {
    color: var(--team-text);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================
   TEAM VALUES SECTION
========================================= */

.team-values-section {
    padding: 110px 25px;
    background: var(--team-white);
}

.team-values-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: 85px;
    align-items: center;
}

.team-values-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.team-values-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-values-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 45px;
    background: linear-gradient(
        to top,
        rgba(25, 21, 16, 0.85),
        transparent 75%
    );
}

.team-values-image-overlay span {
    color: #e4c18f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.team-values-image-overlay h3 {
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.3;
}

.team-values-content h2 {
    font-family: "Playfair Display", serif;
    color: var(--team-dark);
    font-size: clamp(33px, 4vw, 45px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
}

.team-values-content h2 span {
    color: var(--team-primary);
}

.team-values-content > p {
    color: var(--team-text);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.team-value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 19px 0;
    border-bottom: 1px solid #eee9e0;
}

.team-value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5eee3;
    color: var(--team-primary);
    font-size: 21px;
    transition: 0.3s;
}

.team-value-item:hover .team-value-icon {
    background: var(--team-primary);
    color: white;
}

.team-value-item h3 {
    color: var(--team-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 7px;
}

.team-value-item p {
    color: var(--team-text);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================
   JOIN OUR TEAM SECTION
========================================= */

.team-join-section {
    position: relative;
    padding: 110px 25px;
    background:
        url("../images/about-experience.jpg") center/cover no-repeat;
    text-align: center;
}

.team-join-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 25, 19, 0.78);
}

.team-join-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: auto;
}

.team-join-content .team-section-tag {
    color: #e2bf8c;
}

.team-join-content h2 {
    font-family: "Playfair Display", serif;
    color: white;
    font-size: clamp(34px, 5vw, 49px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
}

.team-join-content h2 span {
    color: #d6b27b;
}

.team-join-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.team-join-btn {
    background: var(--team-primary);
}

.team-join-btn:hover {
    background: white;
    color: var(--team-dark);
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 992px) {

    .team-intro-container {
        gap: 45px;
    }

    .team-intro-image {
        min-height: 400px;
    }

    .team-intro-main-image {
        height: 360px;
    }

    .team-intro-small-image {
        height: 180px;
    }

    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .team-member-image {
        height: 320px;
    }

    .team-values-container {
        gap: 45px;
    }

    .team-values-image {
        height: 520px;
    }

    .team-values-image-overlay {
        padding: 30px;
    }

    .team-values-image-overlay h3 {
        font-size: 29px;
    }

}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 768px) {

    .team-hero {
        min-height: 390px;
    }

    .team-hero-content {
        padding: 80px 20px;
    }

    .team-hero-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .team-hero-content > p {
        font-size: 13px;
    }

    .team-intro-section,
    .team-members-section,
    .team-values-section {
        padding: 75px 20px;
    }

    .team-intro-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .team-intro-content h2 {
        font-size: 35px;
    }

    .team-intro-image {
        min-height: 390px;
        padding-right: 20px;
    }

    .team-intro-main-image {
        width: 90%;
        height: 350px;
    }

    .team-intro-small-image {
        width: 42%;
        height: 165px;
    }

    .team-intro-image-label {
        right: 0;
        bottom: 18px;
        padding: 12px 14px;
        font-size: 10px;
    }

    .team-section-heading {
        margin-bottom: 38px;
    }

    .team-section-heading h2 {
        font-size: 34px;
    }

    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-member-image {
        height: 260px;
    }

    .team-member-info {
        padding: 20px 12px;
    }

    .team-member-info h3 {
        font-size: 20px;
    }

    .team-member-info p {
        font-size: 12px;
    }

    .team-member-socials {
        opacity: 1;
        transform: none;
        right: 10px;
        bottom: 10px;
        gap: 6px;
    }

    .team-member-socials a {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .team-values-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-values-image {
        height: 430px;
    }

    .team-values-content h2 {
        font-size: 35px;
    }

    .team-join-section {
        padding: 80px 20px;
    }

}


/* =========================================
   RESPONSIVE - SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .team-hero {
        min-height: 350px;
    }

    .team-hero-content h1 {
        font-size: 40px;
    }

    .team-intro-content h2 {
        font-size: 31px;
    }

    .team-intro-image {
        min-height: 320px;
        padding-right: 12px;
    }

    .team-intro-main-image {
        height: 290px;
    }

    .team-intro-small-image {
        height: 135px;
        border-width: 5px;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-member-image {
        height: 330px;
    }

    .team-member-info h3 {
        font-size: 23px;
    }

    .team-member-info p {
        font-size: 13px;
    }

    .team-values-image {
        height: 350px;
    }

    .team-values-image-overlay {
        padding: 25px;
    }

    .team-values-image-overlay h3 {
        font-size: 27px;
    }

    .team-values-content h2 {
        font-size: 31px;
    }

    .team-value-item {
        gap: 14px;
    }

    .team-value-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .team-join-content h2 {
        font-size: 34px;
    }

}
