/* ============================================
   MY TOUR GURU - Main Stylesheet
   Colors: Navy #1a2d4d, Orange #e8622a, White #fff
   ============================================ */

:root {
  --navy: #1a2d4d;
  --navy-dark: #111f36;
  --orange: #e8622a;
  --orange-light: #f0784a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #888;
  --text: #333;
  --text-light: #555;
  --border: #e0e0e0;
  --card-shadow: 0 2px 20px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAVBAR ── */
.navbar {
  background: var(--navy-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container-fluid {
  padding: 0 30px;
}

.navbar-brand {
  padding: 8px 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--orange);
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-plane {
  color: var(--orange);
  font-size: 1.6rem;
  transform: rotate(-15deg);
  display: inline-block;
  margin-right: 8px;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 20px 18px !important;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:first-child { border-left: 1px solid rgba(255,255,255,0.15); }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
  background: rgba(255,255,255,0.05);
}

.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── HERO BANNER ── */
.hero-banner {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #2a4a7a 50%, #1a3a6a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1400') center/cover no-repeat;
  opacity: 0.35;
}

.hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,20,40,0.85) 40%, rgba(10,20,40,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.1;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* ── BLOG GRID ── */
.blog-section {
  padding: 50px 0 60px;
  background: #fff;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.blog-card .card-img-wrap {
  overflow: hidden;
  height: 220px;
  background: #ddd;
}

.blog-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.blog-card .card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.card-date::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
  margin-top: 5px;
}

.blog-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card h3 a:hover { color: var(--orange); }

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.cat-andaman { background: #e3f0ff; color: #1a6bc7; }
.cat-ladakh { background: #fff3e0; color: #e65c00; }
.cat-kashmir { background: #e8f5e9; color: #2e7d32; }
.cat-general { background: #f3e5f5; color: #6a1b9a; }

/* ── CATEGORY FILTER ── */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.cat-btn {
  padding: 7px 20px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.cat-btn:hover,
.cat-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.cat-btn.active-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ── PAGINATION ── */
.pagination .page-link {
  color: var(--navy);
  border-radius: 50% !important;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 4px;
  border: 2px solid var(--border);
}

.pagination .page-item.active .page-link {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pagination .page-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ── SINGLE POST ── */
.post-header {
  padding: 50px 0 30px;
  background: var(--gray-light);
  border-bottom: 3px solid var(--orange);
}

.post-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.post-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gray);
}

.post-meta .date { color: var(--orange); font-weight: 700; text-transform: uppercase; }

.post-featured-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  margin: 30px 0;
  border-radius: 4px;
}

.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}

.post-content p { margin-bottom: 16px; }

/* ── SIDEBAR ── */
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
  margin-bottom: 25px;
}

.widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 16px;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-item img {
  width: 65px;
  height: 55px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.recent-post-item .info h6 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 3px;
}

.recent-post-item .info h6 a:hover { color: var(--orange); }
.recent-post-item .info span { font-size: 0.7rem; color: var(--gray); }

/* ── FOOTER ── */
footer {
  background: #000;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.83rem;
}

footer a { color: rgba(255,255,255,0.7); text-decoration: underline; }
footer a:hover { color: var(--orange); }

/* ── NO-IMAGE PLACEHOLDER ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a7a 100%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-banner { height: 300px; }
  .navbar-nav .nav-link { border: none; padding: 12px 16px !important; }
}