/* Amy Jackson ambassador page styles */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Poppins:wght@400&family=Inter:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Hero Section - Mobile First */
.hero-section {
    min-height: 650px;
    background-color: #060606;
    background-image: url('../../assets/images/ambassadors/amy-jackson/amy-header-mobile-img.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.text-container {
    text-align: center;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: 50px;
    line-height: 23px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    color: #DBBE95;
    margin-bottom: 20px;
}

.hero-quote {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 30px;
    border: 1px solid #D9B166;
    border-radius: 9999px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 179px;
    width: 100%;
}

.cta-button span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.16px;
    text-align: center;
    color: #F5F5F5;
}

.cta-button:hover {
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    opacity: 0.9;
}

/* Awards and Achievements Section - Mobile First */
.awards-section {
    background-color: #060606;
    background-image: url("../../assets/images/bg-ellipse.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-image-source: linear-gradient(90deg, rgba(72, 48, 0, 0.2) 1.44%, #AE7400 51.92%, rgba(72, 48, 0, 0.2) 100%);
    border-image-slice: 1;
    padding: 25px 0 15px 0;
}

.awards-container {
    max-width: 100%;
    margin: 0 auto;
}

.awards-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.year-buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 10px;
}

.year-button {
    border: 1px solid #D9B166;
    padding: 2px 13px;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 22px;
    letter-spacing: -0.16px;
    text-align: center;
    color: #C99441;
    outline: none;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.button-arrow {
    display: inline-block;
    width: auto;
    height: 10px;
}

.year-button:focus {
    outline: none;
}

.year-button.active {
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%), linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 50%, rgba(255, 255, 255, 0.8) 100%);
    color: #141313;
    transform: scale(1.2);
    margin: 0 10px;
    padding: 2px 13.5px;
}

.year-button.active .button-arrow {
    content: url('../../assets/images/arrow-black.svg');
}

.timeline-wrapper {
    position: relative;
    padding: 0;
    min-height: 250px;
    overflow: hidden;
    margin: 0;
}

.timeline-line {
    position: relative;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 32, 8, 0.05) 1.92%, rgba(80, 55, 14, 0.356452) 2.87%, #95661A 31.36%, rgba(78, 53, 13, 0.333173) 55.34%, rgba(47, 32, 8, 0.05) 100%);
    margin: 40px auto 30px auto;
}

.star-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 12px;
    height: 14px;
}

.star-1 {
    left: 20%;
}

.star-2 {
    left: 65%;
    display: none;
}

.content-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
}

.content-item {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    width: max-content;
    max-width: 355px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.content-item.visible {
    opacity: 1;
    visibility: visible;
}

.content-year {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 35px;
    text-align: right;
    color: #FFD49B;
    flex-shrink: 0;
    min-width: 80px;
    width: 80px;
}

.content-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
    text-align: left;
    color: #DBBE95;
    flex: 1;
    min-width: 0;
}

.content-text span {
    font-style: italic;
}

.content-list {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
    color: #DBBE95;
    list-style-position: outside;
    padding-left: 20px;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.content-list li {
    margin-bottom: 0;
}

.content-list li > span {
    font-style: italic;
}

.content-list li:last-child {
    margin-bottom: 0;
}

/* Carousel and Career Highlights Section - Mobile First */
.carousel-career-section {
    background-color: #000000;
    background-image: url("../../assets/images/ambassadors/amy-jackson/career-bg-ellipses.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    padding: 0;
    background: transparent;
    max-width: 922px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 38px 0 17px 0;
    overflow: hidden;
}

.carousel-track-container {
    overflow: visible;
    width: 100%;
    max-width: 760px;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.carousel-track-container-2 {
    overflow: visible;
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 100%);
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.carousel-track-1 {
    /* Animation handled by GSAP */
}

.carousel-track-2 {
    /* Animation handled by GSAP */
}

.carousel-image {
    width: 120px;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Carousel animations handled by GSAP */

/* Career Highlights - Mobile First */
.career-container {
    background: transparent;
    padding-bottom: 40px;
}

.career-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    text-align: center;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.career-timeline-wrapper {
    position: relative;
    padding: 0;
    min-height: 250px;
    overflow: hidden;
    margin: 0;
}

.career-timeline-line {
    position: relative;
    width: calc(100% - 15px);
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 32, 8, 0.05) 1.92%, rgba(80, 55, 14, 0.356452) 2.87%, #95661A 31.36%, rgba(78, 53, 13, 0.333173) 55.34%, rgba(47, 32, 8, 0.05) 100%);
    margin: 40px auto 30px 15px;
}

.career-star-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 12px;
    height: 14px;
}

.career-star-1 {
    left: 50%;
    transform: translate(-50%, -50%);
}

.career-star-2 {
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.career-star-3 {
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.career-content-slider {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.career-content-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.career-content-item.visible {
    opacity: 1;
    visibility: visible;
}

.career-content-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0.1em;
    text-align: center;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.career-content-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: normal;
    text-align: center;
    color: #DBBE95;
}

.chevron-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.chevron-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.chevron-left {
    left: 0;
}

.chevron-right {
    right: 0;
    opacity: 0.8;
}

.chevron-button img {
    width: 50px;
    height: 50px;
    display: block;
}

@media (max-width: 360px) {
    .hero-title {
        line-height: 40px;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .hero-section {
        background-image: url('../../assets/images/ambassadors/amy-jackson/amy-header-img.webp');
        min-height: 540px;
    }
    
    .text-container {
        max-width: 413px;
    }

    .awards-section {
        padding: 25px 63px 79px 62px;
    }

    .star-1 {
        left: 35%;
    }

    .star-2 {
        display: block;
    }

    .content-slider {
        max-width: 100%;
    }

    .timeline-wrapper {
        margin: 0 20px;
        min-height: 180px;
    }

    .year-button {
        font-size: 14px;
        padding: 2px 23.5px;
    }

    .year-button.active {
        padding: 2px 23.5px;
    }

    .year-buttons-container {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .carousel-wrapper {
        gap: 32px;
        padding: 65px 0;
    }
    .carousel-image {
        width: 170px;
        max-width: 170px;
    }

    .carousel-career-section::before,
    .carousel-career-section::after {
        width: 200px;
    }

    .career-timeline-line {
        width: calc(100% - 75px);
        margin-left: 75px;
    }

    .career-star-1 {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .career-star-2 {
        left: 89%;
        transform: translateY(-50%);
        display: block;
    }

    .career-star-3 {
        left: 0;
        transform: translateY(-50%);
        display: none;
    }

    .career-content-item {
        max-width: 421px;
        left: auto;
        transform: translateX(-50%);
        padding: 0;
    }

    .chevron-button img {
        width: 83px;
        height: 83px;
    }
}

/* Large Desktop styles */
@media (min-width: 1200px) {
    .star-1 {
        left: 34%;
    }

    .star-2 {
        left: 72%;
    }
}

/* Best of Baji Section - Mobile First */
.best-of-baji-section {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 87.95%, #000000 98.58%), linear-gradient(270deg, rgba(23, 0, 0, 0.05) -0.52%, #15060F 75.7%, rgba(23, 0, 0, 0.05) 97.54%);
    background-color: #060606;
    padding: 72px 14px 86px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-width: 1px 0px 0px 0px;
    border-style: solid;
    border-image-source: linear-gradient(90deg, rgba(72, 48, 0, 0.2) 1.44%, #AE7400 51.92%, rgba(72, 48, 0, 0.2) 100%);
    border-image-slice: 1;
}

.best-of-baji-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.13em;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.best-of-baji-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 22px 0;
}

.video-container {
    width: 100%;
    max-width: 839px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.best-of-baji-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid #E4BE7C;
    border-radius: 8px;
}

/* Desktop styles for Best of Baji Section */
@media (min-width: 768px) {
    .best-of-baji-section {
        padding: 107px 40px 68px 40px;
    }

    .best-of-baji-subtitle {
        font-size: 16px;
    }

    .best-of-baji-title {
        font-size: 24px;
        margin: 0 0 40px 0;
    }
}

/* Our Ambassadors Section - Mobile First */
.ambassadors-section {
    background: linear-gradient(0deg, rgba(11, 5, 5, 0) 20.57%, #0B0505 90.6%);
    background-color: #0D0A06;
    padding: 67px 20px;
    border-width: 1px 0px 0px 0px;
    border-style: solid;
    border-image-source: linear-gradient(90deg, rgba(72, 48, 0, 0.2) 1.44%, #AE7400 51.92%, rgba(72, 48, 0, 0.2) 100%);
    border-image-slice: 1;
}

.ambassadors-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
}

.ambassadors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 912px;
    margin: 0 auto;
    justify-items: center;
}

.ambassador-card {
    position: relative;
    background: none;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(199, 145, 62, 0.16);
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.05), 0px 10px 15px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 164px; */
    display: block;
}

.ambassador-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.ambassador-image {
    border: none;
    box-shadow: none;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.ambassador-link {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 1px solid #D9B166;
    border-radius: 9999px;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 102px;
    width: 100%;
    z-index: 2;
    cursor: pointer;
}

.ambassador-link span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 8px;
    line-height: 22px;
    letter-spacing: -0.16px;
    text-align: center;
    color: #F5F5F5;
}

.ambassador-link:hover {
    background: linear-gradient(90deg, #C38934 -10.52%, #EED997 127.92%);
    opacity: 0.9;
}


@media (max-width: 400px) {
    .ambassador-link {
        max-width: 80px;
    }
}


/* Desktop styles for Our Ambassadors Section */
@media (min-width: 768px) {
    .ambassadors-section {
        padding: 67px 20px 160px 20px;
    }

    .ambassadors-title {
        font-size: 24px;
        margin-bottom: 65px;
    }

    .ambassadors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .ambassador-link {
        padding: 7px 0;
        max-width: 126px;
        bottom: 12px;
    }

    .ambassador-link span {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .ambassador-link {
        max-width: 171px;
    }
}