/* Sacred Trails — Core Styles (Shared Layout) */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500&display=swap');

:root {
  --btncolor: rgb(67, 161, 255); /* Primary Blue */
  --theme-dark: #0e1a2b; /* Dark Navy/Theme Dark */
  --text-light: #f9f9f9;
  --accent-gold: #cfa862; /* New Gold/Brass accent for premium feel */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar (Unchanged) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 999;
}

.logo a img {
  width: 180px; 
  height: auto;
  display: block;
  filter: 
      drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.7)) 
      drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.navbar .logo a img {
  filter: 
      drop-shadow(0 0 5px rgba(0, 0, 0, 1.0)) 
      drop-shadow(0 0 10px rgba(0, 0, 0, 0.9)) 
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
  z-index: 1000;
}

.logo a {
  color: var(--theme-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: var(--theme-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--btncolor);
}

.div-1 {
    width: 100%; 
    position: relative; 
    height: 100vh;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    z-index: 2; 
}

.div-1 h1 {
    text-align: center; 
    color: white; 
    font-size: 4rem; 
    z-index: 3; 
    
}

/* Hero Section (Unchanged) */
.ganga-hero {
  position: relative;
  background: url("../image/places/ganga-circuit.png") no-repeat center center/cover;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.ganga-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.ganga-hero h1 {
  text-align: center;
  color: white;
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(0, 0, 0, 1.0),
               0 0 5px rgba(0, 0, 0, 1.0);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px 30px;
  display: inline-block;
  border-radius: 8px;              
}

/* Navigation & Contact (Unchanged) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 0;
    padding: 15px 40px;
    z-index: 1000;
}

.right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.right2 {
    display: flex; 
    align-items: center;
    gap: 15px;
}

.contact-top-row {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 15px; 
    margin-right: 15px; 
    position: absolute; 
    top: 10px;
    right: 35px;
    z-index: 1001; 
}

.contact-detail {
    color: white !important; 
    text-decoration: none;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 3px 8px;
    border-radius: 5px;
    margin: 0;
    background: rgba(0, 0, 0, 0.3); 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    transition: background 0.3s;
}

.desktop-only {
    display: inline !important; 
}

/* Package Page Content */
.package-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ========================================================== */
/* >>> NEW: TWO-COLUMN LAYOUT FOR OVERVIEW AND ITINERARY <<< */
/* ========================================================== */

.package-layout {
    display: flex;
    gap: 40px; /* Space between the two columns */
    margin-top: 40px;
}

.tour-overview {
    /* Left column for Destinations, Highlights, Inclusions, etc. */
    flex: 0 0 35%; /* Fixed width column, about 35% */
    max-width: 35%;
}

.tour-itinerary {
    /* Right column for the detailed itinerary */
    flex: 1; /* Takes up the remaining space */
}

/* NOTE: You will need to wrap the first few paragraphs 
   and the Highlights/Inclusions sections in a div with class "tour-overview" 
   and the Proposed Itinerary section in a div with class "tour-itinerary"
   in your HTML. 
*/
/* ========================================================== */


/* Section Heading Styles (H2) */
.package-container h2 {
  color: var(--theme-dark); 
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; 
  border-bottom: 2px solid var(--accent-gold); 
  padding-bottom: 8px; 
  margin: 50px 0 20px;
  line-height: 1.1;
  border-left: 6px solid var(--accent-gold); 
  padding-left: 15px;
}

.package-container strong {
    display: block; 
    font-size: 1.2rem; 
    color: var(--theme-dark); 
    margin-top: 20px; 
    margin-bottom: 5px; 
    font-weight: 700;
}

/* --- Key Information Block (The first few paragraphs) --- */
.package-container > p:first-of-type {
    background-color: #fffaf2; /* Soft, inviting cream/off-white */
    border: 1px solid var(--accent-gold); /* Use gold border */
    border-radius: 12px; 
    padding: 25px; 
    margin-bottom: 40px; 
    font-size: 1.1rem; 
    line-height: 1.8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
}

.package-container > p:first-of-type strong {
    color: var(--theme-dark);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: inline; 
}

/* --- List Styles (Inclusions/Highlights) --- */
.package-container ul {
  list-style: none;
    padding-left: 0;
}
.package-container ul li {
    padding-left: 40px; 
    position: relative;
    margin-bottom: 18px; 
    line-height: 1.6;
    font-size: 1.1rem; 
    color: #444;
}

.package-container ul li::before {
    content: "✓"; 
    color: var(--btncolor); 
    font-weight: bold;
    font-size: 1.4em; 
    position: absolute;
    left: 0;
    top: 0;
}

/* Itinerary Day Styling (Timeline Look) - Now only applies to elements inside .tour-itinerary */
.tour-itinerary p[class^="day-"] { 
    position: relative;
    padding: 20px 20px 20px 50px; 
    margin-bottom: 30px; 
    background-color: #fcfcfc; 
    border-radius: 10px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); 
    font-size: 1.05rem; 
    line-height: 1.6;
}
.package-container h2 + p { 
    margin-top: 20px; 
}
.tour-itinerary p[class^="day-"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px; 
    height: 100%;
    width: 3px; 
    background-color: #e0e0e0; 
}

.tour-itinerary p[class^="day-"]::after {
    content: ""; 
    position: absolute;
    left: 16px;
    top: 22px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-gold); 
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 5px white; 
}
.package-container li {
  margin-bottom: 12px; 
}

/* Key Details Box (Summary at the top) - Removed grid here, as we rely on .package-layout */
.package-container > .key-details-box:first-child {
    border: 2px solid var(--accent-gold); 
    padding: 25px;
    border-radius: 10px;
    background-color: #fffaf2; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); 
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); REMOVED */
    /* gap: 15px 30px; REMOVED */
    margin-bottom: 0; /* Important: Remove margin if used in flex/grid */
}

.package-container > .key-details-box:first-child p {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.package-container > .key-details-box:first-child p strong {
    color: var(--theme-dark); 
    font-weight: 700;
    font-size: 1.1rem; 
    display: block; 
    margin-bottom: 2px;
}

/* Table Styling (Unchanged) */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden; 
}

.price-table th,
.price-table td {
  border: 1px solid #e0e0e0;
  padding: 15px; 
  text-align: center;
  font-size: 1.1rem; 
}

.price-table th {
  background-color: var(--theme-dark); 
  color: var(--accent-gold); 
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.price-table tr:nth-child(even) {
    background-color: #f7f7f7; 
}
.price-table td:last-child {
    font-weight: 700;
    color: #cc0000; 
    font-size: 1.3rem;
}

/* Book Button (Unchanged) */
.book-btn {
  display: inline-block;
  background-color: var(--btncolor);
  color: #fff;
  padding: 15px 35px; 
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 20px;
}

.book-btn:hover {
  transform: translateY(-2px); 
  background-color: rgb(51, 144, 236);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer (Unchanged) */
.footer {
  text-align: center;
  background-color: var(--theme-dark);
  color: var(--text-light);
  padding: 25px 10px;
  margin-top: 60px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    /* Break two-column layout into a single column on tablets/mobile */
    .package-layout {
        flex-direction: column;
        gap: 0;
    }
    
    .tour-overview,
    .tour-itinerary {
        flex: 1 1 100%; /* Take full width */
        max-width: 100%;
    }

    /* Add spacing back between sections that are now stacked */
    .tour-overview {
        margin-bottom: 40px; 
    }
}

/* Add this to your CSS file for the new table look */
.itinerary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  font-size: 1.05rem;
}

.itinerary-table th,
.itinerary-table td {
  border: 1px solid #e0e0e0;
  padding: 15px;
  text-align: left;
  line-height: 1.5;
}

.itinerary-table th {
  background-color: var(--theme-dark); /* Dark theme header */
  color: var(--accent-gold); /* Gold text */
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center; /* Center Day and Overnight headers */
}

/* Style the Day column to stand out */
.itinerary-table tbody td:first-child {
  background-color: #f0f8ff; /* Light blue background */
  font-weight: 700;
  text-align: center;
  width: 15%; /* Keep Day column narrow */
}

.itinerary-table tbody tr:hover {
  background-color: #fffaf2; /* Subtle hover effect */
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

  .logo a img {
      width: 140px; 
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .ganga-hero h1 {
    font-size: 2.2rem;
  }

  .package-container {
    padding: 0 15px;
  }

  .package-container h2 {
    font-size: 2rem;
  }

  .price-table th, .price-table td {
      padding: 10px;
      font-size: 1rem;
  }
}