/* Proposal Section with Image Gallery Background */
.proposal-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    padding: 80px 0;
    background: linear-gradient(135deg, #5A3D6B 0%, #8B5FBF 100%);
}

/* Animated Background Gallery */
.proposal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 15%; /* Offset for portrait photos to show faces */
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    display: none; /* Temporarily hidden */
}

/* Overlay for readability - deeper purple */
.proposal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(1px);
    z-index: 2;
    display: none; /* Temporarily hidden */
}

/* Content */
.proposal-content {
    position: relative;
    z-index: 3;
}

.proposal-section * {
    color: white !important;
}

.proposal-section .section-title {
    color: white !important;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.proposal-story p {
    color: white !important;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0,0,0,0.15);
}

.proposal-story .lead {
    color: white !important;
    font-size: 1.25rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.15);
}

.proposal-story .story-text {
    color: white !important;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid white;
    padding: 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 2;
}

.highlight-box p {
    color: white !important;
}

.highlight-box em {
    color: white !important;
    font-weight: 600;
}

/* Story Carousel */
.story-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate3d(0, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Carousel Controls - Flexbox layout */
.carousel-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
}

.carousel-indicators {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.carousel-nav {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

.carousel-nav:focus {
    outline: none;
}

.carousel-nav:active {
    transform: scale(1.05);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dot {
    display: none;
}

/* .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: white;
    width: 12px;
    height: 12px;
    z-index: 5;
} */

.carousel-counter {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 3;
}

/* Responsive */
@media (max-width: 768px) {
    .proposal-section {
        padding: 60px 0;
    }
    
    .proposal-story .story-text {
        font-size: 0.95rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .carousel-controls {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Suspense intro text styling */
.suspense-text {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.6;
    padding: 3rem 0;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Slide hint animation for first slide - text slides smoothly */
@keyframes slideHint {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 1; }
    50% { transform: translate3d(-15px, 0, 0); opacity: 1; }
}

.story-carousel.first-view .carousel-next {
    animation: slideHint 2s ease-in-out 1s;
    will-change: transform;
    backface-visibility: hidden;
}

/* Touch-friendly carousel */
.story-carousel {
    touch-action: pan-y;
    user-select: none;
}


