/* Modern Blog Theme - Inspired by Professional Travel Blogs */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
nav {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.navbar-brand:hover {
  color: #0066cc;
}

.nav {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

.nav-desktop {
  display: flex;
}

.nav-mobile {
  display: none;
  position: relative;
}

.nav-mobile-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
}

.nav-mobile-toggle::-webkit-details-marker {
  display: none;
}

.nav-mobile-toggle .burger-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-toggle .burger {
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  display: block;
}

.nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #e0e0e0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #0066cc;
}

.nav-cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0066cc;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta:hover {
  background: #0052a3;
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.classic-hero {
  background: #f8f9fa;
  padding: 60px 0;
  margin-bottom: 60px;
}

.classic-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.classic-hero-banner-wrap {
  width: 100%;
  padding: 0 16px;
}

.classic-hero-banner {
  position: relative;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}

.classic-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.45));
}

.classic-hero-banner img {
  width: 100%;
  height: clamp(320px, 40vw, 620px);
  object-fit: cover;
  object-position: center center;
}

.classic-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(18px, 3.5vw, 52px);
}

.classic-hero-content {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.classic-hero-content h1 {
  margin-top: 0;
  font-size: 48px;
  line-height: 1.2;
}

.classic-hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #666;
  margin: 20px 0 0;
}

.classic-hero-overlay .classic-hero-content {
  min-height: 0;
  max-width: min(860px, 100%);
}

.classic-hero-overlay .classic-hero-content h1,
.classic-hero-overlay .classic-hero-subtitle {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

.classic-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.classic-hero-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0066cc;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.classic-hero-btn.ghost {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.8);
  color: #fff;
}

.classic-trust {
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  background: #fff;
}

.classic-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.classic-trust-copy {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.classic-trust-copy p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.classic-trust-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.classic-trust-logos img {
  width: auto;
  height: 24px;
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .classic-hero-banner-wrap { padding: 0 10px; }
  .classic-hero-overlay { padding-bottom: 20px; }
}

/* Main Content */
main {
  padding: 60px 0;
  min-height: 60vh;
}

/* Typography */
h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 30px 0 20px;
  color: #000;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 40px 0 15px;
  color: #000;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin: 30px 0 12px;
  color: #222;
}

h4, h5, h6 {
  font-weight: 600;
  margin: 20px 0 10px;
  color: #222;
}

p {
  margin: 0 0 20px;
  line-height: 1.8;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 0 0 20px 30px;
  line-height: 1.8;
}

li {
  margin-bottom: 8px;
}

blockquote {
  border-left: 4px solid #0066cc;
  padding: 15px 20px;
  margin: 25px 0;
  background: #f8f9fa;
  font-style: italic;
  color: #555;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 4px;
}

/* Blog Post Listing */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.post-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  background: #fff;
}

.post-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

.post-card-content {
  padding: 25px;
}

.post-card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}

.post-card-title a {
  color: #000;
  text-decoration: none;
}

.post-card-title a:hover {
  color: #0066cc;
  text-decoration: none;
}

.post-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.post-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}

.read-more:hover {
  color: #0052a3;
  text-decoration: none;
}

/* Single Post */
.post-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.post-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #000;
}

.post-date {
  font-size: 15px;
  color: #888;
}

.post-content {
  max-width: 750px;
  margin: 0 auto;
}

/* Footer */
footer {
  border-top: 1px solid #e0e0e0;
  padding: 40px 0;
  margin-top: 80px;
  background: #f8f9fa;
}

footer .container {
  text-align: center;
  color: #666;
  font-size: 14px;
}

footer a {
  color: #666;
  margin: 0 10px;
}

footer a:hover {
  color: #0066cc;
}

/* Language Switcher */
.lm-lang-switcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  z-index: 1000;
}

.lm-lang-switcher a {
  padding: 8px 16px;
  background: #fff;
  border: 2px solid #0066cc;
  border-radius: 4px;
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}

.lm-lang-switcher a:hover,
.lm-lang-switcher a.active {
  background: #0066cc;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0066cc;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #0052a3;
  text-decoration: none;
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 14px;
}

.btn-outline-secondary {
  background: transparent;
  color: #666;
  border: 2px solid #ddd;
}

.btn-outline-secondary:hover {
  background: #f8f9fa;
  color: #333;
}

/* Utility Classes */
.my-5 {
  margin-top: 60px;
  margin-bottom: 60px;
}

.py-3 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.text-decoration-none {
  text-decoration: none;
}

.mx-1 {
  margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
  nav .container {
    align-items: center;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  h1, .post-title {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .classic-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .classic-hero-content h1 {
    font-size: 36px;
  }

  .classic-hero-subtitle {
    font-size: 18px;
  }

  .blog-posts {
    grid-template-columns: 1fr;
  }

  .post-content {
    padding: 0 15px;
  }

  .recent-posts-grid {
    grid-template-columns: 1fr;
  }

  .recent-post-card {
    padding: 20px 15px;
  }
}

/* Popup */
.classic-popup{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:60vw;
  max-height:80vh;
  z-index:1200;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}
.classic-popup-close{
  position:absolute;top:8px;right:8px;z-index:3;
  width:28px;height:28px;border:0;border-radius:999px;
  background:rgba(0,0,0,.5);color:#fff;cursor:pointer;
}
.classic-popup-media{position:relative}
.classic-popup-media img{width:100%;height:auto;max-height:80vh;object-fit:cover;display:block;margin:0;border-radius:0}
.classic-popup-overlay{
  position:absolute;inset:0;
  display:flex;flex-direction:column;justify-content:flex-end;gap:10px;
  padding:14px;
  background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.82));
}
.classic-popup-overlay p{margin:0;color:#fff;font-size:15px;line-height:1.35;text-shadow:0 2px 8px rgba(0,0,0,.7)}
.classic-popup-cta{
  display:inline-flex;align-items:center;justify-content:center;
  width:max-content;padding:9px 12px;border-radius:999px;
  background:#fff;color:#111827;font-weight:700;text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,.35);
}
.classic-popup-card{padding:14px;display:flex;flex-direction:column;justify-content:flex-end}
.classic-popup-card p{margin:0 0 10px;font-size:15px}

/* ============ Recent Posts Section ============ */
.recent-posts-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e0e0e0;
}

.recent-posts-section h2 {
  font-size: 32px;
  margin: 0 0 32px;
  color: #0066cc;
  text-align: center;
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
}

.recent-post-card {
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.recent-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
  border-color: #0066cc;
}

.recent-post-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.recent-post-title a {
  color: #0066cc;
  text-decoration: none;
}

.recent-post-title a:hover {
  text-decoration: underline;
}

.recent-post-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
}

.recent-post-excerpt {
  color: #555;
  margin: 12px 0;
  line-height: 1.6;
}

.recent-post-link {
  display: inline-block;
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.recent-post-link:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .recent-posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .recent-post-card {
    padding: 16px;
  }

  .recent-posts-section h2 {
    font-size: 24px;
  }
}
