/*
Theme Name: Go Traveling Life
Theme URI: https://gotravelinglife.com
Author: Go Traveling Life
Author URI: https://gotravelinglife.com
Description: A clean, AdSense-friendly travel blog theme for Indian destinations. Light color scheme with proper ad placements and SEO-optimized structure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gotravelinglife
Tags: blog, travel, clean, light, adsense, responsive, two-columns
*/

/* ── CSS VARIABLES ── */
:root {
  --cream: #FAF8F3;
  --warm-white: #FFFEF9;
  --sand: #F0EBE0;
  --terracotta: #C4622D;
  --terracotta-light: #EAD5C6;
  --terracotta-dark: #8F3E15;
  --forest: #3B5E3E;
  --forest-light: #D6E8D7;
  --ink: #1C1A17;
  --charcoal: #3D3A35;
  --stone: #7A7570;
  --border: #E2DDD5;
  --accent-gold: #C89B3C;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── HEADER ── */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--terracotta-dark);
  letter-spacing: -0.3px;
}
.site-logo span { color: var(--forest); }

.main-navigation { display: flex; align-items: center; gap: 32px; }
.main-navigation a {
  font-size: 14px; font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
}
.main-navigation a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 100px;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terracotta-dark) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--ink);
}

/* ── HERO (front page) ── */
.hero-section {
  background: linear-gradient(135deg, #2C4A2E 0%, #1C3B2F 50%, #3B2C1A 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  background: rgba(196,98,45,0.85);
  color: #fff; font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero-section h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.hero-section p {
  font-size: 17px; color: rgba(255,255,255,0.8);
  max-width: 520px; margin: 0 auto 32px;
}
.hero-search {
  display: flex; max-width: 420px; margin: 0 auto;
  background: #fff; border-radius: 100px;
  overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.hero-search input {
  flex: 1; border: none; outline: none;
  padding: 14px 20px; font-size: 14px;
  font-family: var(--font-body); color: var(--ink);
}
.hero-search button {
  background: var(--terracotta); border: none; cursor: pointer;
  color: #fff; padding: 14px 22px;
  font-size: 14px; font-weight: 500;
  font-family: var(--font-body); transition: background 0.2s;
}
.hero-search button:hover { background: var(--terracotta-dark); }

/* ── AD UNITS ── */
.ad-unit {
  background: var(--sand);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 16px; text-align: center;
  color: var(--stone);
}
.ad-unit-label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 6px; color: var(--stone);
}
.ad-banner-wrap {
  max-width: 1200px; margin: 32px auto;
  padding: 0 24px;
}

/* ── LAYOUT ── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── SECTION HEADERS ── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; color: var(--ink);
}
.section-title span {
  display: block; font-size: 13px; font-weight: 400;
  font-family: var(--font-body);
  color: var(--stone); letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 4px;
}
.view-all {
  font-size: 13px; color: var(--terracotta); font-weight: 500;
  border-bottom: 1px solid var(--terracotta-light); padding-bottom: 2px;
}
.view-all:hover { border-color: var(--terracotta); }

/* ── FEATURED POST ── */
.featured-post {
  background: var(--warm-white);
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 32px;
  display: grid; grid-template-columns: 1fr 1fr;
}
.featured-image {
  background: linear-gradient(135deg, #3B5E3E, #2C4A2E);
  min-height: 300px; position: relative;
}
.featured-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.featured-image-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--terracotta); color: #fff;
  font-size: 11px; font-weight: 500;
  padding: 4px 12px; border-radius: 100px;
  letter-spacing: 1px; text-transform: uppercase;
}
.featured-content {
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.post-category {
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px;
}
.featured-content h2 {
  font-family: var(--font-display);
  font-size: 24px; line-height: 1.25; font-weight: 700;
  margin-bottom: 12px; color: var(--ink);
}
.featured-content .excerpt {
  color: var(--charcoal); font-size: 15px; line-height: 1.65; margin-bottom: 20px;
}
.post-meta {
  font-size: 12px; color: var(--stone);
  margin-bottom: 20px; display: flex; gap: 12px; align-items: center;
}
.post-meta-dot { width: 3px; height: 3px; background: var(--stone); border-radius: 50%; }
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--terracotta);
  transition: gap 0.2s;
}
.read-more:hover { gap: 10px; }

/* ── POST GRID ── */
.post-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-bottom: 32px;
}
.post-card {
  background: var(--warm-white);
  border-radius: 12px; border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(28,26,23,0.08); }
.card-image {
  height: 180px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #C4622D, #8F3E15);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95); color: var(--terracotta-dark);
  font-size: 10px; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px;
}
.card-body { padding: 18px 20px; }
.card-category {
  font-size: 11px; font-weight: 500; color: var(--terracotta);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; line-height: 1.3;
  margin-bottom: 8px; color: var(--ink);
}
.card-body p { font-size: 13px; color: var(--stone); line-height: 1.5; margin-bottom: 14px; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px;
}
.card-date { font-size: 12px; color: var(--stone); }
.card-read { font-size: 12px; color: var(--terracotta); font-weight: 500; }

/* ── SINGLE POST ── */
.single-post-header { padding: 48px 0 32px; }
.single-post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  line-height: 1.2; margin-bottom: 16px; color: var(--ink);
}
.single-featured-image {
  border-radius: 12px; overflow: hidden;
  margin-bottom: 32px; max-height: 480px;
}
.single-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.post-content {
  background: var(--warm-white);
  border-radius: 12px; border: 1px solid var(--border);
  padding: 40px;
}
.post-content h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--ink); }
.post-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 24px 0 10px; color: var(--ink); }
.post-content p { font-size: 16px; line-height: 1.75; color: var(--charcoal); margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { font-size: 16px; line-height: 1.7; color: var(--charcoal); margin-bottom: 6px; list-style: disc; }
.post-content a { color: var(--terracotta); border-bottom: 1px solid var(--terracotta-light); }
.post-content blockquote {
  border-left: 4px solid var(--terracotta);
  background: var(--sand); border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin: 24px 0;
  font-family: var(--font-display); font-size: 18px; font-style: italic; color: var(--charcoal);
}
.post-content img { border-radius: 8px; margin: 24px 0; }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.post-content th { background: var(--sand); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.post-content td { padding: 10px 14px; border: 1px solid var(--border); }
.post-content tr:nth-child(even) td { background: var(--cream); }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border); color: var(--ink);
}
.sidebar .category-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.sidebar .category-list li:last-child { border-bottom: none; }
.sidebar .category-list a { color: var(--charcoal); transition: color 0.2s; }
.sidebar .category-list a:hover { color: var(--terracotta); }
.category-count {
  background: var(--sand); color: var(--stone);
  font-size: 11px; font-weight: 500;
  padding: 2px 8px; border-radius: 100px;
}
.popular-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.popular-post:last-child { border-bottom: none; }
.popular-num {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--terracotta-light); min-width: 28px; line-height: 1; margin-top: 2px;
}
.popular-post h4 { font-size: 13px; font-weight: 500; color: var(--charcoal); line-height: 1.4; margin-bottom: 4px; }
.popular-post span { font-size: 11px; color: var(--stone); }
.sidebar-ad {
  background: var(--sand); border: 1px dashed var(--border);
  border-radius: 12px; padding: 16px; text-align: center; min-height: 250px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}

/* ── DESTINATIONS STRIP ── */
.destinations-section { background: var(--warm-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; margin: 40px 0; }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dest-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s; }
.dest-card:hover { transform: scale(1.02); }
.dest-image { height: 160px; overflow: hidden; }
.dest-image img { width: 100%; height: 100%; object-fit: cover; }
.dest-placeholder { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.dest-placeholder.rajasthan { background: linear-gradient(135deg, #C4622D, #8F3E15); }
.dest-placeholder.kerala { background: linear-gradient(135deg, #3B5E3E, #1A3A1A); }
.dest-placeholder.goa { background: linear-gradient(135deg, #2B5278, #1A3A5C); }
.dest-placeholder.himachal { background: linear-gradient(135deg, #5A6B8A, #3A4A6A); }
.dest-label { background: var(--warm-white); padding: 12px 14px; }
.dest-label strong { font-size: 14px; font-weight: 600; display: block; color: var(--ink); }
.dest-label span { font-size: 12px; color: var(--stone); }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: linear-gradient(135deg, var(--terracotta-dark), #5C2A0E);
  color: #fff; border-radius: 16px; padding: 48px 40px;
  text-align: center; margin: 40px 0;
}
.newsletter-section h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 10px; }
.newsletter-section p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.newsletter-form {
  display: flex; max-width: 400px; margin: 0 auto;
  background: #fff; border-radius: 100px; overflow: hidden;
}
.newsletter-form input {
  flex: 1; border: none; outline: none;
  padding: 13px 20px; font-size: 14px;
  font-family: var(--font-body); color: var(--ink);
}
.newsletter-form button {
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  padding: 13px 22px; font-size: 14px; font-weight: 500;
  font-family: var(--font-body); white-space: nowrap;
}

/* ── FOOTER ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: var(--terracotta-light); }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-policy { display: flex; gap: 20px; }
.footer-policy a { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-policy a:hover { color: rgba(255,255,255,0.8); }

/* ── PAGINATION ── */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--border);
  background: var(--warm-white); color: var(--charcoal); transition: all 0.2s;
}
.pagination .current, .pagination a:hover {
  background: var(--terracotta); color: #fff; border-color: var(--terracotta);
}

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 13px; color: var(--stone); margin-bottom: 8px; }
.breadcrumb a { color: var(--terracotta); }
.breadcrumb span { margin: 0 6px; }

/* ── TAGS ── */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.post-tag {
  background: var(--sand); color: var(--charcoal);
  font-size: 12px; padding: 4px 12px; border-radius: 100px;
  border: 1px solid var(--border); transition: all 0.2s;
}
.post-tag:hover { background: var(--terracotta-light); color: var(--terracotta-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-image { min-height: 220px; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-navigation { display: none; }
  .menu-toggle { display: block; }
  .main-navigation.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--warm-white); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 56px 20px; }
  .newsletter-section { padding: 32px 20px; }
  .post-content { padding: 24px 20px; }
}
