/* village-story.css */

/* General Overrides */
.village-page {
    scroll-behavior: smooth;
}

/* Sticky Booking Bar */
.sticky-booking-bar {
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background: rgba(163, 28, 33, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-booking-bar.visible {
    transform: translateY(0);
}

.sticky-booking-text {
    color: #FDF8E8;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sticky-booking-btn {
    background: #FBC817;
    color: #1a0a0a;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sticky-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 200, 23, 0.4);
}

/* Common Act Structuring */
.village-act {
    padding: 40px 0;
    position: relative;
}

.act-header {
    text-align: center;
    margin-bottom: 30px;
}

.act-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.act-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Act 1: The Hook */
.village-hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(20, 5, 5, 0.95) 100%) !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 10;
    opacity: 0.8;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

.hero-title.story-hook {
    font-size: 3.2rem;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 10px auto;
    color: #fff;
    text-shadow: 0px 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Act 2: Welcome */
.act-welcome {
    text-align: center;
    padding: 40px 0 20px 0;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

.welcome-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.w-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.w-highlight i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Act 3: Showcases (Unlimited Food, Entertainment, Apno Ka Saath) */
.showcase-act {
    padding: 30px 0;
    position: relative;
}

.showcase-act:nth-child(even) {
    /* Optional: We can leave this transparent or keep it empty */
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    padding: 20px 0;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-row.reverse .gallery-wrapper {
    margin-left: 0;
}

/* Gallery wrapper - positions arrows over the video */
.gallery-wrapper {
    flex: 1;
    position: relative;
    border-radius: 24px;
    min-width: 0;
    z-index: 1;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.2s;
}
.gallery-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.gallery-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.showcase-video-gallery {
    position: relative;
    width: 100%;
    height: 550px;
    perspective: 1200px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.showcase-video-gallery video {
    position: absolute;
    height: 100%;
    width: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    background: #111;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all 0.8s cubic-bezier(.4, 2, .3, 1);
}


.showcase-text {
    flex: 1;
    padding: 0 20px;
    z-index: 2;
}

.showcase-row.reverse .showcase-text {
    margin: 0;
}

.showcase-text h2 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.showcase-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Act 7: Logistics */
.act-logistics {
    padding: 40px 0;
}

.logistics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.pricing-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.p-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(163, 28, 33, 0.1);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.p-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(163, 28, 33, 0.12);
}

.p-card.featured {
    border: none;
    box-shadow: 0 12px 30px rgba(60, 25, 10, 0.12);
    z-index: 1;
}

.p-card.featured::before {
    content: '';
    position: absolute;
    top: -1.5px; left: -1.5px; right: -1.5px; bottom: -1.5px;
    background: linear-gradient(120deg, #C9A24C, #E8D38A, #B8862F, #E8D38A, #C9A24C);
    z-index: -1;
    border-radius: 21px;
    background-size: 220%;
    animation: pGlow 8s ease-in-out infinite;
    opacity: 0.85;
}

@keyframes pGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #B8862F 0%, #D4A94A 50%, #B8862F 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(60, 25, 10, 0.18);
}

.p-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.p-header h4 {
    margin: 0 0 5px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.p-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.p-prices {
    display: flex;
    justify-content: space-around;
}

.p-price-item {
    text-align: center;
}

.p-price-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.p-price-item strong {
    font-size: 1.5rem;
    color: var(--text-color);
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
}

.info-group {
    margin-bottom: 30px;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-group h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-group p {
    margin: 0;
    line-height: 1.6;
}

.info-group i {
    width: 20px;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .showcase-act, .act-welcome, .act-logistics { padding: 20px 0; }
    .showcase-row { padding: 10px 0; }
    .showcase-row, .showcase-row.reverse, .logistics-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-cards {
        flex-direction: column;
    }
    .showcase-row .showcase-text, .showcase-row.reverse .showcase-text {
        margin: 0;
        width: 100%;
        padding: 10px 20px 0 20px;
        order: 0;
    }
    .gallery-wrapper { flex: 1 1 100%; width: 100%; }
    .showcase-video-gallery {
        width: 100%;
        padding: 0;
    }
    .showcase-text h2 {
        font-size: 2.2rem;
    }
}
@media (max-width: 600px) {
    .act-title { font-size: 2.2rem; }
    .hero-title.story-hook { font-size: 2.2rem; line-height: 1.25; }
    .welcome-highlights { flex-direction: column; gap: 15px; }
    .w-highlight { width: 100%; justify-content: center; }
    .sticky-booking-text { display: none; }
    .sticky-booking-bar { padding: 10px; }
    
    .showcase-video-gallery {
        height: 60vh;
        max-height: 500px;
        padding: 0;
    }
    
    .showcase-video-gallery video {
        height: 100%;
        width: auto;
        aspect-ratio: 9 / 16;
    }
}
