/* === FINAL & COMPLETE landing_dark.css === */

/* 1. Global Variables & Base Styles */
:root {
    --landing-primary-glow: #0d6efd;
    --landing-secondary-glow: #8e44ad;
    --landing-text-color: #f0f0f0;
    --landing-text-muted: rgba(255, 255, 255, 0.7);
    --landing-font-sans-serif: 'Inter', sans-serif;
    --landing-font-display: 'Poppins', sans-serif;
    --card-bg-color: rgba(30, 30, 45, 0.45);
    --card-border-color: rgba(255, 255, 255, 0.15);
}

html { scroll-padding-top: 80px; scroll-behavior: smooth; }

body.dark-theme {
    font-family: var(--landing-font-sans-serif);
    color: var(--landing-text-color);
    background-color: #0a0a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 2. Main Layout & Animated Background */
main.main-content-area {
    flex-grow: 1;
    background: linear-gradient(-45deg, #0a0a1a, #1a0a2a, #0a1a2a, #2a0a1a);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

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

.main-content-area > section, .main-content-area > .form-page-wrapper {
    width: 100%;
}
.section-padding { padding: 6rem 1rem; }

/* Messages */
.message-container { position: relative; z-index: 1100; }
.message-container .alert { z-index: inherit; }

/* 3. Reusable Components */
.section-heading { text-align: center; margin-bottom: 4rem; }
.section-heading h2 { font-family: var(--landing-font-display); font-weight: 700; font-size: calc(2rem + 1.5vw); color: #fff; }
.section-heading .lead, .card-description { color: var(--landing-text-muted) !important; }

.frosted-card { background: var(--card-bg-color); backdrop-filter: blur(10px); border: 1px solid var(--card-border-color); border-radius: 16px; padding: 2rem; height: 100%; transition: all 0.3s ease; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2); }
.frosted-card:hover { transform: translateY(-10px); background: rgba(40, 40, 60, 0.6); box-shadow: 0 0 25px rgba(13, 110, 253, 0.3), 0 16px 40px 0 rgba(0, 0, 0, 0.3); }

/* 4. Navbar */
.navbar-landing { background: rgba(15, 15, 25, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--card-border-color); }
.navbar-brand, .navbar-nav .nav-link { color: #fff !important; font-weight: 500; }
.navbar-nav .nav-link:hover, .navbar-brand:hover { text-shadow: 0 0 10px rgba(13, 110, 253, 0.8); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* 5. Hero Section */
.hero-section { padding: 4rem 1rem 6rem; text-align: center; }
.hero-section h1 { font-family: var(--landing-font-display); font-weight: 800; font-size: calc(2.8rem + 2.5vw); background: linear-gradient(90deg, #efefef, #fff, #d0d0d0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-section .btn-primary { font-weight: 600; padding: 0.9rem 2.5rem; border-radius: 50px; background: var(--landing-primary-glow); border: none; box-shadow: 0 0 20px rgba(13, 110, 253, 0.5); }
.hero-section .btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 30px rgba(13, 110, 253, 0.8); }

/* 6. Form Pages (Review/Contact) */
.form-page-wrapper { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; padding: 6rem 1rem; }
.form-page-wrapper .form-control, .form-page-wrapper .form-select { background-color: rgba(0,0,0,0.2); border: 1px solid var(--card-border-color); color: #fff; padding: .75rem 1rem; }
.form-page-wrapper .form-control:focus, .form-page-wrapper .form-select:focus { background-color: rgba(0,0,0,0.3); color: #fff; box-shadow: 0 0 15px var(--landing-primary-glow); border-color: var(--landing-primary-glow); }

/* 7. Footer */
.professional-footer { background: #060610; padding: 3rem 1rem; position: relative; z-index: 2; }
.footer-heading { color: #fff; font-family: var(--landing-font-display); font-weight: 600; margin-bottom: 1rem; }
.footer-links a { color: var(--landing-text-muted); text-decoration: none; transition: all 0.3s ease; }
.footer-links a:hover { color: #fff; text-shadow: 0 0 8px rgba(13, 110, 253, 0.7); }
.footer-bottom { border-top: 1px solid var(--card-border-color); padding-top: 2rem; margin-top: 2rem; text-align: center; }
.footer-bottom .text-muted { color: rgba(255,255,255,0.5) !important; }

/* Other section styles */
.bg-darker { background: rgba(0,0,0,0.2); }
#pain-points .text-muted, #why-travelx .text-muted { color: var(--landing-text-muted) !important; }
#why-travelx h5 { color: #fff; }
.feature-item h5 { font-family: var(--landing-font-display); font-weight: 600; color: #fff; margin-top: 1.5rem; font-size: 1.1rem; }
.feature-icon-wrapper { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--landing-primary-glow), var(--landing-secondary-glow)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 2.25rem; box-shadow: 0 0 15px rgba(13, 110, 253, 0.4), 0 0 15px rgba(142, 68, 173, 0.4); }
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card blockquote { font-style: italic; font-size: 1.05rem; margin: 0; flex-grow: 1; }
.testimonial-card cite { display: block; margin-top: 1rem; font-weight: 600; text-align: right; color: var(--landing-primary-glow); }
.accordion-item { background: transparent; border: 1px solid var(--card-border-color); margin-bottom: 0.5rem; border-radius: .5rem !important; }
.accordion-button { font-weight: 600; color: #fff; background: var(--card-bg-color); }
.accordion-button:not(.collapsed) { background: linear-gradient(90deg, rgba(13, 110, 253, 0.2), rgba(142, 68, 173, 0.2)); color: #fff; box-shadow: inset 0 -1px 0 var(--card-border-color); }
.accordion-button:focus { box-shadow: inset 0 0 15px rgba(13, 110, 253, 0.6); }

/* === STYLES FOR INTERACTIVE SNEAK PEEK SECTION === */

.sneak-peek-tabs {
    border-bottom: 1px solid var(--card-border-color);
    justify-content: center;
    margin-bottom: 2rem;
}

.sneak-peek-tabs .nav-link {
    background: none;
    border: none;
    color: var(--landing-text-muted);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent; /* Add transparent border for consistent height */
}

.sneak-peek-tabs .nav-link:hover {
    color: #fff;
}

/* CORRECTED ACTIVE TAB STYLE */
.sneak-peek-tabs .nav-link.active {
    color: #fff;
    background-color: rgba(13, 110, 253, 0.15); /* Semi-transparent dark blue */
    border-color: var(--landing-primary-glow);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    text-shadow: 0 0 10px var(--landing-primary-glow);
}

.sneak-peek-card {
    padding: 2rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-stack-container {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    padding: 0.75rem;
    overflow: hidden;
}

.stacked-image {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: calc(100% - 1.5rem);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.stacked-image.active {
    position: relative;
    opacity: 1;
}

.image-stack-controls {
    margin-top: 1.5rem;
}

.image-stack-controls .btn {
    margin-right: 0.5rem;
    opacity: 0.7;
}

.image-stack-controls .btn.active {
    opacity: 1;
    background-color: var(--landing-primary-glow);
    border-color: var(--landing-primary-glow);
    color: #fff;
    box-shadow: 0 0 15px var(--landing-primary-glow);
}

/* Accordion (FAQ) */
.accordion-item {
    background: transparent;
    border: 1px solid var(--card-border-color);
    margin-bottom: 0.5rem;
    border-radius: .5rem !important;
}
.accordion-button {
    font-weight: 600;
    color: #fff;
    background: var(--card-bg-color);
}
.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.2), rgba(142, 68, 173, 0.2));
    color: #fff;
    box-shadow: inset 0 -1px 0 var(--card-border-color);
}
.accordion-button:focus {
    box-shadow: inset 0 0 15px rgba(13, 110, 253, 0.6);
}
.accordion-body {
    color: var(--landing-text-muted); /* CORRECTED TEXT COLOR */
}

/* === BRIGHTER PLACEHOLDER TEXT FOR FORMS === */

.form-page-wrapper .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgba(255, 255, 255, 0.5);
  opacity: 1; /* Ensures Firefox shows the color correctly */
}

.form-page-wrapper .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: rgba(255, 255, 255, 0.5);
}

.form-page-wrapper .form-control::-ms-input-placeholder { /* Microsoft Edge */
  color: rgba(255, 255, 255, 0.5);
}