/* =========================================
   HERO SECTION (IMAGE BACKGROUND)
   ========================================= */
.promo-hero {
    position: relative;
    width: 100%;
    /* Make it tall enough to look premium */
    height: 60vh; 
    min-height: 450px;
    
    /* THE IMAGE */
    background-image: url('images/testing.png'); /* <--- YOUR IMAGE HERE */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect: Image stays still when scrolling */
    
    /* Centering the text */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    margin-top: 0 !important; /* Removes gap from navbar */
    margin-bottom: 50px;
}

/* Dark Overlay (So white text is readable) */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40% Darkness */
    z-index: 1;
}

/* The Text Container */
.hero-content {
    position: relative;
    z-index: 2; /* Sits on top of the overlay */
    padding: 0 20px;
}

/* Force Text Colors to White */
.promo-hero .page-title {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    
}

.promo-hero .script-font {
    color: #D34836; /* Gold looks great on dark photos (or keep it #D34836 Red) */
    font-size: 2.5rem;
}

.promo-hero .hero-desc {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .promo-hero {
        height: 50vh; /* Shorter on phone */
        background-attachment: scroll; /* Disable parallax on mobile for smooth scrolling */
    }
    .promo-hero .page-title { font-size: 2.5rem; }
}

/* =========================================
   1. VOUCHERS SECTION (TICKET STYLE)
   ========================================= */
.vouchers-section {
    padding: 60px 5%;
    background: white;
    text-align: center;
}
.section-title { font-size: 2.5rem; margin-bottom: 50px; color: #333; }

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px; margin: 0 auto;
}

.voucher-card {
    display: flex;
    background: white;
    border: 2px dashed #D34836;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    text-align: left;
}
.voucher-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(211, 72, 54, 0.15); }

.voucher-left {
    flex: 2;
    padding: 25px;
    background: #FFF8F0;
    border-right: 2px dashed #D34836;
    position: relative;
}
.voucher-right {
    flex: 1;
    padding: 25px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: white;
}

.voucher-tag {
    background: #D34836; color: white; padding: 4px 10px; border-radius: 4px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}
.voucher-left h3 { font-size: 1.5rem; margin: 10px 0; color: #333; font-family: 'Playfair Display', serif; }
.price { font-size: 1.3rem; color: #D34836; font-weight: 700; margin-bottom: 5px; }
.old-price { text-decoration: line-through; color: #999; font-size: 0.9rem; font-weight: 400; margin-left: 5px; }
.desc { font-size: 0.9rem; color: #666; }

.claim-btn {
    background: #333; color: white; text-decoration: none;
    padding: 10px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 700;
    transition: 0.3s;
}
.claim-btn:hover { background: #D34836; }
.terms { font-size: 0.6rem; color: #999; margin-top: 10px; }

/* Gold Tier Variant */
.voucher-card.gold-tier { border-color: #D4A373; }
.voucher-card.gold-tier .voucher-left { background: #fffcf8; border-right-color: #D4A373; }
.voucher-card.gold-tier .voucher-tag { background: #D4A373; }
.voucher-card.gold-tier .price { color: #D4A373; }

/* =========================================
   3. VISUAL PROMO (POSTERS) SECTION
   ========================================= */
.visual-promo-section {
    padding: 80px 5%;
    background-color: var(--bg-cream);
    text-align: center;
}

.visual-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; max-width: 1200px; margin: 0 auto;
}

.visual-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease; border: 1px solid rgba(0,0,0,0.05);
}
.visual-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(211, 72, 54, 0.2); }

.visual-img-wrapper { 
    width: 100%; 
    height: auto; 
    aspect-ratio: 4 / 5;
    position: relative; 
    overflow: hidden; 
    background-color: #f5f2ed; }

.visual-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    transition: transform 0.5s ease; }

.visual-card:hover .visual-img-wrapper img { transform: scale(1.05); }

.visual-overlay {
    position: absolute; top: 15px; right: 15px;
    background: rgba(255, 255, 255, 0.9); padding: 5px 15px; border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.overlay-text { font-size: 0.75rem; font-weight: 700; color: #D34836; text-transform: uppercase; letter-spacing: 1px; }

.visual-footer { padding: 25px; text-align: center; }
.visual-footer h3 { font-size: 1.4rem; color: #333; margin-bottom: 15px; font-family: 'Playfair Display', serif; }

.visual-btn {
    display: inline-block; background-color: #25D366; color: white;
    text-decoration: none; padding: 12px 30px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}
.visual-btn:hover { background-color: #1ebc57; transform: translateY(-2px); }
.visual-btn i { margin-right: 8px; font-size: 1.1rem; }



/* EXTRASSSS */
/* Container for the Gallery */
.visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Narrower cards = less 'huge' look */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.visual-card.luxury-style {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 420px; /* Constrained height so it stays 'nice' */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Keeps the SlimParis logo visible */
    transition: transform 0.8s ease;
}

/* The Invisible-to-Visible Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(211, 72, 54, 0.9) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0; /* Hidden by default */
    transition: all 0.4s ease;
}

.visual-card:hover .card-overlay {
    opacity: 1; /* Shows on hover */
}

.visual-card:hover img {
    transform: scale(1.1); /* Subtle zoom for that premium feel */
}

.overlay-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.visual-card:hover .overlay-content {
    transform: translateY(0);
}

.luxury-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: white;
    color: #D34836;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   4. ANIMATED TIMELINE (LASER BEAM EFFECT)
   ========================================= */
.timeline-section {
    padding: 80px 5%; background: var(--bg-cream); position: relative;
    /* Ensure background matches visual promo if you want them seamless, or keep alternate */
    background: white; 
}
.timeline-header { text-align: center; margin-bottom: 60px; }

/* The Line Container */
.timeline-container { position: relative; max-width: 1000px; margin: 0 auto; min-height: 100px; }

/* THE LINE (Starts Empty -> Grows) */
.timeline-container::after {
    content: ''; position: absolute;
    width: 2px; background-color: #D34836;
    top: 0; left: 50%; margin-left: -1px;
    height: 0%; /* Start Hidden */
    transition: height 2.5s ease-out; /* The Laser Effect */
}

/* Trigger Line Growth when section is active */
.timeline-section.active .timeline-container::after { height: 100%; }

/* Timeline Items */
.timeline-item { padding: 10px 40px; position: relative; width: 50%; margin-bottom: 30px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* THE DOTS (Pop Animation) */
.timeline-dot {
    width: 20px; height: 20px; background-color: white;
    border: 4px solid #D34836; border-radius: 50%;
    position: absolute; top: 20px; z-index: 2;
    transform: scale(0); /* Start Tiny */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy Pop */
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }

/* The Dot Delays (Pop 1-by-1) */
.timeline-section.active .timeline-item:nth-child(1) .timeline-dot { transform: scale(1); transition-delay: 0.5s; }
.timeline-section.active .timeline-item:nth-child(2) .timeline-dot { transform: scale(1); transition-delay: 1.2s; }
.timeline-section.active .timeline-item:nth-child(3) .timeline-dot { transform: scale(1); transition-delay: 1.9s; }
.timeline-section.active .timeline-item:nth-child(4) .timeline-dot { transform: scale(1); transition-delay: 2.6s; }

/* The Date */
.timeline-date { position: absolute; top: 20px; font-weight: 700; color: #D34836; font-size: 0.9rem; }
.timeline-item:nth-child(odd) .timeline-date { right: -120px; text-align: left; width: 100px; }
.timeline-item:nth-child(even) .timeline-date { left: -120px; text-align: right; width: 100px; }

/* Content Card Fade In */
.timeline-content {
    padding: 20px; background-color: white; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative;
    opacity: 0; transform: translateY(20px); transition: all 0.6s ease;
}
.timeline-section.active .timeline-item:nth-child(1) .timeline-content { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.timeline-section.active .timeline-item:nth-child(2) .timeline-content { opacity: 1; transform: translateY(0); transition-delay: 1.3s; }
.timeline-section.active .timeline-item:nth-child(3) .timeline-content { opacity: 1; transform: translateY(0); transition-delay: 2.0s; }
.timeline-section.active .timeline-item:nth-child(4) .timeline-content { opacity: 1; transform: translateY(0); transition-delay: 2.7s; }

.event-img { 
    width: 100%; 
    height: 400px; 
    overflow: hidden; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    background: #eee; }

.event-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center;
    transition: transform 0.5s ease;
}

.timeline-content h3 { font-size: 1.3rem; margin-bottom: 5px; color: #333; font-family: 'Playfair Display', serif; }
.timeline-content .location { font-size: 0.85rem; color: #888; margin-bottom: 10px; }
.timeline-content .details { font-size: 0.95rem; color: #555; line-height: 1.5; margin-bottom: 15px; }

.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.status-badge.upcoming { background: #e3fcef; color: #00a86b; }
.status-badge.past { background: #f0f0f0; color: #999; }

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .promo-hero { padding-top: 100px; }
    
    /* Vouchers */
    .voucher-card { flex-direction: column; }
    .voucher-left { border-right: none; border-bottom: 2px dashed #D34836; }
    
    /* Packages */
    .package-card.popular { transform: scale(1); } 
    .package-card { width: 100%; max-width: 400px; margin-bottom: 20px; }
    .package-grid { flex-direction: column; }
    
    /* Visual Promo */
    .visual-img-wrapper { height: 350px; }
    
    /* Timeline - Stack to the Left */
    .timeline-container::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; }
    
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; text-align: left; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 20px; right: auto; }
    
    .timeline-date { position: static; display: block; margin-bottom: 5px; width: auto !important; text-align: left !important; }
}

/* =========================================
   3. HERO SECTION 
   ========================================= */
.page-hero {
    position: relative;
    height: 450px; /* Shorter than the homepage hero */
    background-image: url('images/Serviceshero.png'); /* You can change this image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darkens image slightly for text contrast */
    z-index: 1;
}

.hero-title-container {
    position: relative;
    z-index: 2;
    color: white;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    letter-spacing: 5px;
    margin: 10px 0;
    color: white !important;
}

.italic-red {
    font-style: italic;
    color: var(--primary-red);
}

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-hero { height: 350px; }
    .page-title { font-size: 3rem; }
}

/* footer */
@media (max-width: 768px) {
    .brand-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centers the logo and text */
        text-align: center !important;
        margin-bottom: 30px;
    }

    .brand-desc {
        max-width: 280px; /* Keeps the text in a nice narrow block */
        margin: 0 auto !important; /* Centers the text block itself */
        color: #555555 !important;
        font-size: 0.95rem !important;
    }

    /* FIXING THE LOGO COLOR */
    .footer-logo-white {
        /* This filter turns the white logo into a dark burgundy/black 
           so it's clear on the white background */
        filter: brightness(0) saturate(100%) invert(18%) sepia(50%) saturate(3475%) hue-rotate(331deg) brightness(88%) contrast(100%) !important;
        max-width: 180px !important;
        margin-bottom: 15px !important;
    }
}
