/* ID Capital Website - Flexible Fund Page CSS */
/* This file contains styles specific to the flexible fund page */

/* Scroll Down Arrow - FLEXIBLE FUND SPECIFIC */
.scroll-down-arrow {
    position: relative;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInBounce 1s ease-in-out 3s forwards;
    cursor: pointer;
    z-index: 10;
    color: #c4a05a;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.scroll-down-arrow:hover {
    color: #e6c07b;
    transform: translateY(5px);
}

.scroll-down-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Services Hero Section - SERVICES SPECIFIC */
.services-hero {
    position: relative;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-hero .hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images-services/services-hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.services-hero .hero-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    padding: 80px 40px;
    background: none;
}

.hero-text-overlay {
    position: relative;
    z-index: 2;
    background: none;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 300;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 200;
    color: white;
    line-height: 1.1;
    margin-bottom: 0;
}

.services-text-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-text-left p,
.services-text-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 0;
    text-align: justify;
}

.services-text-left p strong,
.services-text-right p strong {
    color: #000000;
    font-weight: 500;
}

/* Fund Introduction Section */
.fund-intro {
    background: #ffffff;
    min-height: 35vh;
    display: flex;
    align-items: flex-end;
    padding: 40px 40px 80px 40px;
}

.fund-intro .container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.fund-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.fund-subtitle {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
    max-width: 900px;
    margin: 0;
    font-weight: 400;
}

/* Fund Details Section */
.fund-details {
    background: #d3d3d3;
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.fund-details .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.fund-risk-title {
    font-size: 3rem;
    font-weight: 300;
    color: #333333;
    margin-bottom: 50px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.fund-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.fund-video-box {
    background: #000000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.fund-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fund-video-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.fund-video-fallback p {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.fund-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fund-description {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.fund-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fund-spec-item {
    display: block;
    line-height: 1.6;
}

.spec-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
}

.spec-value {
    font-size: 0.95rem;
    color: #333333;
    font-weight: 400;
}

.fund-note {
    font-size: 0.8rem;
    color: #666666;
    margin: 0;
    font-style: normal;
}

.factsheet-button {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 50px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.factsheet-button:hover {
    background: #333333;
}

/* Horizontal Scroll Section */
.gold-scroll-section {
    background: #000000;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #c9a961 #000000;
}

.gold-scroll-section::-webkit-scrollbar {
    height: 8px;
}

.gold-scroll-section::-webkit-scrollbar-track {
    background: #000000;
}

.gold-scroll-section::-webkit-scrollbar-thumb {
    background: #c9a961;
    border-radius: 4px;
}

.scroll-container {
    display: flex;
    gap: 0;
    width: max-content;
}

.scroll-card {
    width: 100vw;
    height: 40vh;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a961 0%, #8b7340 100%);
}

.scroll-card-1 {
    background: linear-gradient(135deg, #d4af37 0%, #a67c00 100%);
}

.scroll-card-2 {
    background: linear-gradient(135deg, #c9a961 0%, #8b7340 100%);
}

.scroll-card-3 {
    background: linear-gradient(135deg, #b8942f 0%, #856b1f 100%);
}

.scroll-card-4 {
    background: linear-gradient(135deg, #c5a05a 0%, #9b7a3a 100%);
}

.scroll-card-5 {
    background: linear-gradient(135deg, #d4af37 0%, #a67c00 100%);
}

.scroll-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.scroll-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    width: 90%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

/* Mobile Responsive - SERVICES SPECIFIC */
@media (max-width: 768px) {
    .services-hero-content {
        padding: 40px 25px;
        max-width: 100%;
    }
    
    .services-title {
        font-size: 2.2rem;
        font-weight: 200;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 45px;
    }
    
    .services-hero {
        min-height: 100vh;
    }
    
    .services-text-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fund-intro {
        padding: 60px 25px 30px;
    }
    
    .fund-main-title {
        font-size: 2rem;
    }
    
    .fund-subtitle {
        font-size: 1rem;
    }
    
    .fund-details {
        padding: 60px 25px;
    }
    
    .fund-risk-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .fund-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    
    .fund-intro {
        padding: 40px 15px 25px;
    }
    
    .fund-main-title {
        font-size: 1.5rem;
    }
    
    .fund-subtitle {
        font-size: 0.95rem;
    }
    
    .fund-details {
        padding: 40px 15px;
    }
    
    .fund-risk-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .fund-details-grid {
        gap: 30px;
    }
    
    .fund-video-fallback p {
        font-size: 1.3rem;
        padding: 20px;
    }
    
    .factsheet-button {
        width: 100%;
        padding: 12px 30px;
    }
    .fund-video-fallback p {
        font-size: 1.8rem;
    }
    
    .scroll-card {
        height: 30vh;
    }
    
    .scroll-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero-content {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .services-title {
        font-size: 1.6rem;
        font-weight: 200;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .services-hero {
        min-height: 100vh;
    }
    
    .services-text-content {
        gap: 20px;
    }
    
    .scroll-card {
        height: 25vh;
    }
    
    .scroll-text {
        font-size: 1.5rem;
    }
}