/* New Simple Featured Section Styles */

/* Container Styles */
.featured-banners-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

/* Featured Cards */
.featured-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Card Image Section */
.card-image {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}

/* Mobile clickable image styling */
.card-image.mobile-clickable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-image.mobile-clickable:active {
    transform: scale(0.98);
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

/* Card Content Section */
.card-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    min-height: 500px;
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.card-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.3;
    min-height: 75px;
    display: flex;
    align-items: center;
}

.card-description {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 35px;
    flex-grow: 1;
    min-height: 120px;
    display: flex;
    align-items: flex-start;
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 127, 0.3);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: all 0.3s ease;
    align-self: flex-end;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1;
    margin-top: auto;
    flex-shrink: 0;
}

.card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 150, 255, 0.5), /* Top: Deep, slightly transparent blue */
        rgba(33, 142, 172, 0.965), /* Bottom: Lighter, more transparent blue-green */
          rgb(47, 156, 183));
    transition: left 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    border-radius: 50px;
}

.card-button:hover::before {
    left: 0;
}

.card-button:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.card-button i {
    transition: transform 0.3s ease;
}

.card-button:hover i {
    transform: translateX(5px);
}

/* Disabled Button State (when no link) */
.card-button.disabled {
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    pointer-events: none;
}

.card-button.disabled::before {
    display: none;
}

.card-button.disabled:hover {
    transform: none;
    color: rgba(255, 255, 255, 0.6);
}

/* Navigation Styles */
.banner-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 15;
    pointer-events: none;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 16;
}

.nav-btn:hover {
    background: rgba(104, 226, 171, 0.98);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 16;
}

.nav-dot.active {
    background: #31906f;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(71, 178, 125, 0.969);
}

/* Error State */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
}

.error-state h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00d4ff;
}

.error-state p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-banners-container {
        height: 1200px; /* Significantly increased from 1000px */
    }
    
    .featured-card {
        flex-direction: column;
        height: auto;
        min-height: 1100px; /* Significantly increased from 850px */
    }
    
    .card-image {
        min-height: 400px; /* Significantly increased from 250px */
        flex: none;
        cursor: pointer; /* Make clickable */
        position: relative;
    }
    
    /* Add click indicator for mobile */
    .card-image.mobile-clickable::after {
        content: 'Tap to explore';
        position: absolute;
        bottom: 20px;
        right: 20px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.8;
    }
    
    .card-content {
        padding: 40px; /* Increased from 35px */
        flex: 1;
        min-height: 650px; /* Significantly increased from 550px */
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Changed from space-between */
    }
    
    .card-title {
        font-size: 2rem; /* Increased from 1.8rem */
        min-height: 120px; /* Increased from 100px */
        margin-bottom: 25px; /* Increased from 18px */
    }
    
    .card-subtitle {
        font-size: 1.4rem; /* Increased from 1.2rem */
        min-height: 100px; /* Increased from 80px */
        margin-bottom: 30px; /* Increased from 25px */
    }
    
    .card-description {
        font-size: 1.1rem; /* Increased from 1rem */
        min-height: 200px; /* Significantly increased from 140px */
        margin-bottom: 40px; /* Increased from 35px */
        flex-grow: 1;
    }
    
    /* Hide button on mobile */
    .card-button {
        display: none;
    }
    
    .banner-navigation {
        bottom: 25px; /* Increased from 20px */
        gap: 20px; /* Increased from 18px */
    }
    
    .nav-btn {
        width: 40px; /* Increased from 38px */
        height: 40px; /* Increased from 38px */
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .featured-banners-container {
        height: 1100px; /* Significantly increased from 950px */
    }
    
    .featured-card {
        min-height: 1000px; /* Significantly increased from 850px */
    }
    
    .card-image {
        min-height: 350px; /* Significantly increased from 260px */
        cursor: pointer;
    }
    
    .card-image.mobile-clickable::after {
        content: 'Tap here';
        bottom: 15px;
        right: 15px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .card-content {
        padding: 35px; /* Increased from 30px */
        min-height: 600px; /* Increased from 580px */
        justify-content: flex-start; /* Changed from space-between */
    }
    
    .card-title {
        font-size: 1.8rem; /* Increased from 1.6rem */
        min-height: 120px; /* Increased from 110px */
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .card-subtitle {
        font-size: 1.3rem; /* Increased from 1.1rem */
        min-height: 100px; /* Increased from 90px */
        line-height: 1.4;
        margin-bottom: 30px;
    }
    
    .card-description {
        font-size: 1rem; /* Increased from 0.95rem */
        min-height: 180px; /* Increased from 160px */
        line-height: 1.6;
        margin-bottom: 35px; /* Increased from 30px */
        flex-grow: 1;
    }
    
    /* Hide button on extra small mobile */
    .card-button {
        display: none;
    }
    
    .banner-navigation {
        bottom: 20px; /* Increased from 15px */
        gap: 18px; /* Increased from 15px */
    }
    
    .nav-btn {
        width: 38px; /* Increased from 36px */
        height: 38px; /* Increased from 36px */
    }
}
