/* Unique Experiences Section */
.unique-experiences {
    background: linear-gradient(135deg, #f8f6f3 0%, #e8e4dc 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.unique-experiences::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23c9a96e" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23c9a96e" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23c9a96e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.experiences-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.experiences-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #2d2926;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.experiences-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #5a5550;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Carousel Container */
.experiences-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.carousel-container {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Experience Cards */
.experience-card {
    position: absolute;
    width: 400px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Default positioning - all cards start hidden */
.experience-card {
    transform: translateX(0) translateY(0) translateZ(-300px) scale(0.7) !important;
    opacity: 0.3 !important;
    z-index: 1 !important;
}

/* Active card - center front */
.experience-card.active {
    transform: translateX(0) translateY(0) translateZ(0) scale(1) !important;
    opacity: 1 !important;
    z-index: 5 !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2) !important;
}

.experience-card.active .experience-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

/* First layer behind - left and right */
.experience-card[data-position="left-1"] {
    transform: translateX(-220px) translateY(0) translateZ(-150px) scale(0.85) !important;
    opacity: 0.7 !important;
    z-index: 4 !important;
}

.experience-card[data-position="right-1"] {
    transform: translateX(220px) translateY(0) translateZ(-150px) scale(0.85) !important;
    opacity: 0.7 !important;
    z-index: 4 !important;
}

/* Second layer behind - further left and right */
.experience-card[data-position="left-2"] {
    transform: translateX(-380px) translateY(20px) translateZ(-300px) scale(0.75) !important;
    opacity: 0.5 !important;
    z-index: 3 !important;
}

.experience-card[data-position="right-2"] {
    transform: translateX(380px) translateY(20px) translateZ(-300px) scale(0.75) !important;
    opacity: 0.5 !important;
    z-index: 3 !important;
}

.experience-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.experience-card:hover .experience-image img {
    transform: scale(1.1);
}

/* Experience Overlay */
.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: white;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.experience-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    width: 100%;
}

.experience-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c9a96e !important;
    margin-top: 10px;
    margin-bottom: 0;
    background: rgba(201, 169, 110, 0.3) !important;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    width: fit-content;
    backdrop-filter: blur(10px);
    z-index: 15;
    position: relative;
    border: 1px solid rgba(201, 169, 110, 0.5);
    align-self: flex-end;
}

.experience-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    z-index: 15;
    position: relative;
}

.experience-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    z-index: 15;
    position: relative;
    align-self: flex-start;
    width: 100%;
    text-align: left;
}

.experience-btn {
    background: #c9a96e;
    color: white;
    border: 2px solid #c9a96e;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.experience-btn:hover {
    background: transparent;
    color: #c9a96e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 80px;
    z-index: 4;
    pointer-events: none;
}

.carousel-btn {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    padding: 20px;
}

.carousel-btn:hover {
    transform: scale(1.2);
}

.carousel-btn i {
    font-size: 3.2rem;
    color: #c9a96e;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover i,
.carousel-btn:active i {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .experience-card {
        width: 350px;
        height: 400px;
    }
    
    .experiences-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .unique-experiences {
        padding: 80px 0;
    }
    
    .experiences-header {
        margin-bottom: 60px;
    }
    
    .experiences-header h2 {
        font-size: 2rem;
    }
    
    .experiences-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .experience-card {
        width: 300px;
        height: 350px;
        position: relative;
        transform: none !important;
        opacity: 1 !important;
        margin: 0 auto;
    }
    
    .experience-card:not(.active) {
        display: none;
    }
    
    .experience-title {
        font-size: 1.5rem;
    }
    
    .experience-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .carousel-navigation {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .experience-card {
        width: 280px;
        height: 320px;
    }
    
    .experience-overlay {
        padding: 30px 20px;
    }
    
    .experience-title {
        font-size: 1.3rem;
    }
    
    .experience-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .experience-btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}
