/* --- Global Styles for Clean UI --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Styling (Clean and Minimal) --- */
.header {
    background-color: transparent; /* Transparent to show hero background */
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* REMOVED: font-size and font-weight styles */
    color: var(--text-light); 
}

/* 🔥 NEW: Logo Image Styling 🔥 */
.logo-img {
    height: 65px; /* Set a fixed height for a clean look */
    width: auto; /* Maintain aspect ratio */
    display: block;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    margin-left: 30px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color); /* Hover effect for navigation */
}

.nav-cta {
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #0056b3;
}

/* --- Hero Section Styling (Background Video & CTA) --- */
.hero-section {
    height: 90vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; 
    overflow: hidden; 
    
    /* **🔥 NEW: FALLBACK IMAGE BACKGROUND 🔥**
    This background image will be displayed ONLY if the <video> tag 
    is removed from the HTML, or if the video fails to load. 
    Replace 'YOUR_IMAGE_URL_HERE' with your actual image link.
    */
    background: url('YOUR_IMAGE_URL_HERE') no-repeat center center/cover;
}

/* ... existing video and overlay styles remain the same ... */

/* Style the video to cover the entire section */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; 
}
/* Dark overlay for better text contrast over the video */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Increase darkness slightly for a video background */
    background: rgba(0, 0, 0, 0.50); 
    z-index: 2; /* Place overlay on top of video but behind content */
}

.hero-content {
    position: relative; 
    z-index: 5; /* Ensure content is on top of everything */
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    /* font-size: 3.5rem;
    font-weight: 700; */
    color: var(--text-light); 
    /* margin-bottom: 10px; */
}

.hero-content p {
    /* font-size: 1.2rem; */
   
    color: var(--text-light); 
    margin-bottom: 30px;
    /* font-weight: 300; */
}

/* --- CTA/Search Bar Styling (The main Call to Action) --- */
.cta-search-bar {
    display: flex;
    background-color: rgba(255, 255, 255, 0.95); /* Slightly opaque white background for clean UI */
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 10px;
}

.search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-dark);
    appearance: none; /* Remove default styling for select/date */
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

/* --- Media Query for Responsiveness --- */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .nav {
        margin-top: 10px;
    }
    .nav a {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .cta-search-bar {
        flex-direction: column;
        gap: 5px;
    }
    .search-input, .cta-button {
        width: 100%;
    }
}

/* --- Placeholder Content for Demo --- */
.content-placeholder {
    padding: 50px 20px;
    text-align: center;
}


/* --- Global Styles for Clean UI (Keep previous styles) --- */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Common Section Styles */
section {
    padding: 80px 0; /* Generous padding for ample white space (Clean UI) */
}

.section-header {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subheader {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.text-light {
    color: var(--text-light);
}

/* --- Header & Hero Section Styles (Keep previous styles) --- */
/* ... (Existing styles for .header, .logo, .nav, .hero-section, .cta-search-bar, etc.) ... */

/* --- 3. Featured Destinations Section Styles --- */
.featured-section {
    background-color: var(--background-light);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-content p {
    color: #666;
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* --- 4. Value Proposition Section Styles --- */
.value-section {
    background-color: var(--text-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.value-prop-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 30px;
}

.value-prop-item {
    flex: 1;
    padding: 30px;
    max-width: 350px;
}

.value-prop-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-prop-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* --- 5. Testimonials Section Styles --- */
.testimonial-section {
    background-color: var(--background-dark); /* Use dark background for visual contrast */
    color: var(--text-light);
    text-align: center;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background for the quote */
}

.testimonial-card .quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card .quote::before,
.testimonial-card .quote::after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    color: var(--primary-color);
    opacity: 0.7;
    line-height: 0;
}

.testimonial-card .quote::before {
    content: '“';
    top: 5px;
    left: -20px;
}

.testimonial-card .quote::after {
    content: '”';
    bottom: 5px;
    right: -20px;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
}

/* --- 6. Footer Styles --- */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* --- Media Query for Responsiveness (Updated) --- */
@media (max-width: 768px) {
    /* ... (Existing media query styles) ... */

    .value-prop-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .value-prop-item {
        max-width: 100%;
        padding: 0;
    }
}


/* --- Global Styles for Clean UI (Keep previous styles) --- */
:root {
    --primary-color: #007bff; /* A clean, modern blue */
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f9f9f9;
    --background-dark: #222;
    --container-max-width: 1200px;
    --border-light: #eee;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Common Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subheader {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.text-light {
    color: var(--text-light);
}

/* --- Header & Hero Section Styles (Keep existing) --- */
/* ... (Existing styles for .header, .logo, .nav, .hero-section, .cta-search-bar, etc.) ... */


/* --- NEW: Popular Destinations Section Styles (Replaces .featured-section) --- */
.popular-destinations-section {
    padding-top: 50px; /* Slightly less padding at top to bring it closer */
}

.destination-subheader {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 30px;
    padding-left: 20px; /* Aligned with grid */
}

/* Category Navigation */
.category-nav-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.category-nav {
    display: flex;
    overflow-x: scroll; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-behavior: smooth; /* Smooth scroll with JS */
    padding: 10px 0;
    margin: 0 20px; /* Adjust margin to allow arrows to sit outside */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for Chrome, Safari, Opera */
.category-nav::-webkit-scrollbar {
    display: none;
}

.category-item {
    min-width: 100px; /* Ensure items have a base width */
    padding: 15px 10px;
    margin: 0 5px;
    background-color: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.category-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #777;
}

.category-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.category-item.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.4);
}

.category-item.active i {
    color: var(--text-light);
}

.trending-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ffc107; /* Yellow/orange for trending */
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 15px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: background-color 0.2s, color 0.2s;
}

.scroll-arrow:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.scroll-arrow.left {
    left: 0px; /* Position at the edge of the wrapper */
}

.scroll-arrow.right {
    right: 0px; /* Position at the edge of the wrapper */
}

/* Destination Cards Grid */
.destination-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    padding: 0 20px; /* Match padding of category nav if needed */
}

.destination-card {
    border-radius: 10px; 
    overflow: hidden; 
    background:#fff; 
    box-shadow:0 6px 18px rgba(0,0,0,0.08); 
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.destination-card .card-image {
    width: 100%;
    height: 220px; /* Slightly taller images */
    object-fit: cover;
    display: block;
}

.destination-card .card-content {
    padding: 20px;
}

.destination-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.destination-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.destination-card .card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* --- NEW: Card Image Slider Styles --- */
.card-image-slider {
    position: relative;
    width: 100%;
    height: 220px; /* adjust as needed */
    background: #000;
    overflow: hidden;
}

.card-image-slider .slides {
    position: relative;
    height: 100%;
}

.card-image-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;     /* <-- important: non-active slides don't capture mouse */
    z-index: 0;
}

.card-image-slider .slide.active {
    opacity: 1;
    pointer-events: auto;     /* <-- only active slide receives events */
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: flex;
    gap: 8px;
    z-index: 4;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: .9;
}

.slider-dots button.active {
    background: #fff;
    transform: scale(1.15);
}

.card-body {
    padding: 14px 16px 18px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    align-items: center;
}

.rating i {
    color: #1fbf73;
    margin-right: 6px;
}

.card-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.card-sub {
    margin: 0 0 8px;
    color: #666;
    font-size: 14px;
}

.tag-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    background: #fff7ea;
    color: #c25b00;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.current-price {
    font-weight: 700;
    color: #111;
    font-size: 18px;
}

.current-price .per {
    font-weight: 400;
    font-size: 12px;
    margin-left: 6px;
    color: #666;
}

.save {
    background: #e9f8ee;
    color: #0a9b4a;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #f0a24b;
    background: #fff;
    color: #f06a00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    flex: 1;
    background: #f06a00;
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* Single Request Callback button with icon */
.btn-request {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f06a00; /* primary orange */
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(240,106,0,0.12);
}
.btn-request i {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  width: 20px;
  text-align: center;
}
.btn-request:focus { outline: 3px solid rgba(240,106,0,0.18); outline-offset: 2px; }
.btn-request[disabled] { opacity: 0.6; cursor: not-allowed; }

/* View details button */
.btn-secondary.view-details-btn {
  background: #ffffff;
  border: 1px solid #007bff;
  color: #007bff;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight:600;
  display:inline-flex;
  gap:8px;
  align-items:center;
  cursor:pointer;
}

/* Modal */
.modal { display:none; position:fixed; inset:0; z-index:10000; font-family:inherit; }
.modal[aria-hidden="false"] { display:block; }
.modal-backdrop { position:fixed; inset:0; background:rgba(0,0,0,0.85); }
.modal-dialog { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); width:90%; max-width:820px; background:#fff; border-radius:12px; box-shadow:0 18px 50px rgba(0,0,0,0.35); z-index:10001; overflow:auto; max-height:90vh; }
.modal-close { position:absolute; right:12px; top:12px; background:transparent; border:none; font-size:26px; cursor:pointer; color:#666; }
.modal-body { padding:22px 28px 28px; color:#222; }
.modal-body h2 { margin:0 0 8px; font-size:20px; }
.modal-meta { color:#666; font-size:13px; margin-bottom:12px; }
.modal-pricing { background:#fff7ea; padding:10px; border-radius:8px; display:inline-block; margin-bottom:12px; color:#c25b00; font-weight:700; }
.modal-body h4 { margin:12px 0 6px; font-size:14px; color:#333; }
.modal-body div { color:#444; font-size:14px; line-height:1.45; }
/* small screens */
@media (max-width:480px) {
  .modal-dialog { width:96%; }
  .modal-body { padding:16px; }
}

/* responsive */
@media (max-width: 640px) {
  .card-image-slider {
    height: 180px;
  }
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Center modal on screen */
#package-modal.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    padding: 20px;
}

/* Modal box */
#package-modal .modal-content {
  width: 100%;
  max-width: 980px;           /* change as needed */
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  position: relative;
}

/* Ensure the internal gallery/slider does not push content outside */
#package-modal .modal-body { display: flex; gap: 20px; flex-wrap: wrap; }
#package-modal .modal-image-gallery { flex: 1 1 48%; min-width: 240px; }
#package-modal .modal-details-panel { flex: 1 1 48%; min-width: 240px; }

/* Mobile fallback */
@media (max-width: 720px) {
  #package-modal .modal-body { flex-direction: column; }
  #package-modal .modal-image-gallery,
  #package-modal .modal-details-panel { flex: 1 1 100%; }
}

/* hide nav buttons by default */
.card-image-slider .slider-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.98);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 5;
}

/* ensure card clips children and is positioned */
.destination-card { position: relative; overflow: hidden; }

/* slider container */
.card-image-slider { position: relative; overflow: hidden; }

/* default slide: hidden and ignore pointer events */
.card-image-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;     /* <-- important: non-active slides don't capture mouse */
  z-index: 0;
}

/* active slide: visible and accepts pointer events */
.card-image-slider .slide.active {
  opacity: 1;
  pointer-events: auto;     /* <-- only active slide receives events */
  z-index: 1;
}

/* buttons hidden by default */
.card-image-slider .slider-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.98);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 5; /* above slides */
}

/* show buttons only when hovering the card/slider or when focused */
.destination-card:hover .card-image-slider .slider-btn,
.card-image-slider:focus-within .slider-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

/* touch devices: keep visible */
@media (hover: none) {
  .card-image-slider .slider-btn { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
}

/* ============================= */
/* 3. PACKAGE DETAILS MODAL STYLING */
/* ============================= */

/* Modal Backdrop (Full-screen overlay) */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark, semi-transparent overlay */
    z-index: 1000; /* Ensure it's on top of everything */
    /* Remove 'style="display: none;"' from HTML and use this for visibility control via JavaScript */
    /* display: flex;  */
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 1100px; /* Large size for full details */
    height: 90%;
    max-height: 90vh;
    overflow-y: auto; /* Allows scrolling if content overflows */
    position: relative;
    padding: 30px;
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: var(--primary-color);
}

/* Main Modal Layout (Image + Details) */
.modal-body {
    display: flex;
    gap: 30px;
}

.modal-image-gallery {
    flex: 1; /* Takes up 50% of space on large screens */
    max-width: 50%;
    min-width: 450px;
}

.modal-details-panel {
    flex: 1; /* Takes up the remaining 50% */
    padding-top: 20px;
}

/* Modal Specific Text Styling */
.modal-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.modal-meta-row {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Price Block */
.modal-price-block {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-price-block .save-tag {
    display: inline-block;
    background: #ffc107; /* Bright yellow/orange color */
    color: var(--text-dark);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.modal-price-block .price-details {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.modal-price-block .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1rem;
}

.modal-price-block .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-price-block .current-price .per {
    font-size: 0.75em;
    font-weight: 400;
    color: #666;
}

/* Detail Sections */
.detail-section {
    margin-bottom: 25px;
}

.detail-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 15px;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Inclusions Grid */
.inclusions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.inclusion-item {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.inclusion-item.included {
    background: #e6f7e6; /* Light green */
    color: #28a745; /* Dark green */
}

.inclusion-item.excluded {
    background: #ffe6e6; /* Light red */
    color: #dc3545; /* Dark red */
    text-decoration: line-through;
}

.exclusions-text {
    font-style: italic;
    color: #888;
}

.validity-text {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
}


/* Media Query for smaller screens */
@media (max-width: 900px) {
    .modal-content {
        padding: 20px;
        width: 95%;
        max-width: 95%;
        height: 95%;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image-gallery {
        max-width: 100%;
        min-width: unset;
    }
}