/* Oasis Ripples FAQ Styles */
.oasis-faq {
    padding: 120px 0;
    background: radial-gradient(circle at 50% 100%, #fefcf9 0%, #e9d8a6 100%);
    overflow: hidden;
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.faq-header h2 {
    font-family: var(--font-primary);
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.faq-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.ripple-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    position: relative;
    perspective: 1000px;
}

.ripple-card {
    position: absolute;
    width: 280px;
    height: 280px;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    z-index: 1;
}

/* Polar distribution for 6 cards */
.ripple-card[data-index="0"] { transform: translate(-320px, -150px) rotate(-10deg); }
.ripple-card[data-index="1"] { transform: translate(0px, -200px); }
.ripple-card[data-index="2"] { transform: translate(320px, -150px) rotate(10deg); }
.ripple-card[data-index="3"] { transform: translate(-320px, 150px) rotate(10deg); }
.ripple-card[data-index="4"] { transform: translate(0px, 200px); }
.ripple-card[data-index="5"] { transform: translate(320px, 150px) rotate(-10deg); }

.ripple-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(212, 163, 115, 0.15);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.ripple-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--light-gold) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ripple-card:hover .ripple-circle::before {
    opacity: 0.2;
}

.ripple-circle i {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
    transition: transform 0.5s var(--transition);
}

.ripple-card:hover .ripple-circle i {
    transform: scale(1.1) translateY(-5px);
}

.ripple-circle h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    color: var(--primary-green);
    font-weight: 600;
}

.ripple-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 500px;
    background: white;
    padding: 60px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 30px 60px rgba(12, 77, 54, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    z-index: 100;
}

.ripple-content h4 {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.ripple-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

/* Active State */
.ripple-card.active {
    z-index: 1000;
}

.ripple-card.active .ripple-circle {
    transform: scale(0);
    opacity: 0;
}

.ripple-card.active .ripple-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
}

.ripple-container.has-active .ripple-card:not(.active) {
    opacity: 0.2;
    filter: blur(4px);
    transform: translate(0, 0) scale(0.8);
}

/* Close Button for Content */
.ripple-content::after {
    content: '×';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
}

@media (max-width: 992px) {
    .ripple-container {
        flex-direction: column;
        min-height: auto;
        gap: 20px;
    }
    
    .ripple-card {
        position: relative;
        transform: none !important;
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .ripple-circle {
        border-radius: var(--border-radius-large);
        height: 120px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .ripple-circle i {
        margin-bottom: 0;
    }
    
    .ripple-content {
        width: 90vw;
        padding: 30px;
    }
}
