/* ============================================================
   LONDONOS HOTEL THEME - MAIN STYLESHEET
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-9);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* ============================================================
   HEADER / NAVBAR — always white (like original)
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-7);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(2, 138, 199, 0.35);
}
.btn-emerald {
  background: var(--emerald);
  color: #fff;
}
.btn-emerald:hover {
  background: var(--emerald-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-3);
  color: var(--color-7);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--color-3);
  color: var(--color-8);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-8);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--color-2);
  }
  .nav-links.open .nav-link { color: var(--color-8); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 10s ease-in-out;
}
.hero-bg:hover img { transform: scale(1.05); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.40) 50%, rgba(0,0,0,0.10) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-badge .dot { color: var(--emerald); font-size: 1rem; }

.hero-title {
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  line-height: 1.1;
  max-width: 900px;
  padding: 0 1rem;
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  text-align: center;
  max-width: 600px;
  padding: 0 1rem;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(2, 138, 199, 0.35);
}
.hero-cta:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 138, 199, 0.5);
}
.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(4px); }

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
    align-items: center;
  }
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar-wrapper {
  width: 100%;
  max-width: 900px;
  padding: 0 1rem;
}

.search-bar {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-2);
  padding: 0.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.20);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}

.search-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem 0.6rem 1.25rem;
  border-radius: 0.75rem;
  transition: background 0.15s;
  cursor: pointer;
  border-right: 1px solid var(--color-2);
}
.search-field:last-of-type { border-right: none; }
.search-field:hover { background: rgba(2, 138, 199, 0.04); }

.search-field-icon {
  flex-shrink: 0;
  color: var(--color-5);
  display: flex;
  align-items: center;
}

.search-field-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.search-field label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-9);
  background: transparent;
  font-family: inherit;
  width: 100%;
  padding: 0;
}
.search-field input::placeholder { color: var(--color-5); font-weight: 400; }

.search-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  margin: 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 138, 199, 0.25);
}
.search-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 20px rgba(2, 138, 199, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .search-bar { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid var(--color-2); width: 100%; flex-direction: row; }
  .search-field:last-of-type { border-bottom: none; }
  .search-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CITY CARDS SECTION
   ============================================================ */
.city-cards-section {
  padding: 5rem 0;
  background: #fff;
}

.section-header {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
}

.city-cards-grid {
  display: flex;
  gap: 1.5rem;
  height: 500px;
}

.city-card-main {
  flex: 0 0 50%;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.city-cards-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.city-card-small {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.city-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.city-card-main:hover .city-card-img,
.city-card-small:hover .city-card-img { transform: scale(1.10); }

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  opacity: 0.8;
  transition: opacity 0.3s;
}
.city-card-main:hover .city-card-overlay,
.city-card-small:hover .city-card-overlay { opacity: 0.95; }

.city-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.city-card-main:hover .city-card-info,
.city-card-small:hover .city-card-info { transform: translateY(0); }

.city-card-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}
.city-card-small .city-card-title { font-size: 1.1rem; }
.city-card-count {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.city-card-small .city-card-count { font-size: 0.8rem; }

@media (max-width: 768px) {
  .city-cards-grid { flex-direction: column; height: auto; }
  .city-card-main { flex: none; height: 280px; }
  .city-cards-right { grid-template-columns: 1fr 1fr; height: 260px; }
}

/* ============================================================
   MOST SEARCHED SECTION
   ============================================================ */
.most-searched-section {
  padding: 4rem 0;
  background: var(--color-0);
}

.destination-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px)  { .destination-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .destination-cards { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .destination-cards { grid-template-columns: repeat(5, 1fr); } }

.destination-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  display: block;
}
.destination-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.destination-card-img-wrap {
  position: relative;
  height: 192px;
  overflow: hidden;
}
.destination-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.destination-card:hover .destination-card-img { transform: scale(1.08); }

.destination-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.destination-card:hover .destination-card-img-overlay { opacity: 0.4; }

.destination-card-body {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.destination-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-9);
  transition: color 0.2s;
}
.destination-card:hover .destination-card-name { color: var(--emerald); }
.destination-card-body { padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.destination-card-region {
  font-size: 0.8rem;
  color: var(--color-6);
  margin-top: 2px;
}
.destination-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-6);
  flex-shrink: 0;
  transition: all 0.2s;
}
.destination-card:hover .destination-card-arrow {
  background: #ecfdf5;
  color: #059669;
}

/* ============================================================
   TOP THEMES SECTION
   ============================================================ */
.top-themes-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.theme-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .theme-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-cards { grid-template-columns: repeat(6, 1fr); } }

.theme-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  display: block;
  transition: all 0.3s ease;
}
.theme-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.theme-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.theme-card:hover .theme-card-img { transform: scale(1.1); }

.theme-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}
.theme-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: color 0.2s;
}
.theme-card:hover .theme-card-title { color: #6ee7b7; }

/* ============================================================
   HOTEL CARD — horizontal layout (image left + content right)
   ============================================================ */
.hotel-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-2);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  display: block;
  overflow: hidden;
}
.hotel-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.hotel-card-inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .hotel-card-inner { flex-direction: row; }
}

.hotel-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
}
@media (min-width: 640px) {
  .hotel-card-img-wrap {
    width: 288px;
    height: auto;
    min-height: 200px;
  }
}
.hotel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hotel-card:hover .hotel-card-img { transform: scale(1.05); }

.hotel-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--emerald);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.hotel-card-stars {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 2px;
}
.hotel-card-stars span { color: #f59e0b; font-size: 0.85rem; }

.hotel-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hotel-card-location {
  font-size: 0.75rem;
  color: var(--color-6);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.hotel-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-9);
  transition: color 0.2s;
  line-height: 1.3;
}
.hotel-card:hover .hotel-card-name { color: var(--primary); }

.hotel-card-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.hotel-card-tag {
  background: var(--color-1);
  color: var(--color-7);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-2);
  margin-top: auto;
}

.hotel-card-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hotel-card-score-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.hotel-card-score-label {
  font-size: 0.8rem;
  color: var(--color-6);
}
.hotel-card-price {
  text-align: right;
}
.hotel-card-price-label {
  font-size: 0.7rem;
  color: var(--color-6);
}
.hotel-card-price-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-9);
}

/* Hotels grid — single column for horizontal cards */
.hotels-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Legacy grid for homepage featured hotels */
.hotels-grid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-results-layout {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
}
.search-filters {
  flex: 0 0 280px;
  position: sticky;
  top: 90px;
  height: fit-content;
}
.search-results { flex: 1; }

.filter-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem;
}
.filter-box-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-8);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  cursor: pointer;
}
.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--emerald);
}
.filter-checkbox label {
  font-size: 0.875rem;
  color: var(--color-8);
  cursor: pointer;
}
.filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-5);
}

@media (max-width: 1024px) {
  .search-results-layout { flex-direction: column; }
  .search-filters { position: static; flex: none; }
}

/* ============================================================
   HOTEL DETAIL PAGE
   ============================================================ */
.hotel-detail-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.hotel-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hotel-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.hotel-detail-hero-info {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  padding: 0 2rem;
  color: #fff;
}
.hotel-detail-name {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hotel-detail-layout {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 0;
}
.hotel-detail-main { flex: 1; }
.hotel-detail-sidebar { flex: 0 0 340px; }

.booking-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.booking-box-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 1.5rem;
}
.booking-box-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-6);
}

@media (max-width: 1024px) {
  .hotel-detail-layout { flex-direction: column; }
  .hotel-detail-sidebar { flex: none; }
  .booking-box { position: static; }
}

/* ============================================================
   SCORE BADGE
   ============================================================ */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-img-wrap {
  height: 220px;
  overflow: hidden;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-img { transform: scale(1.06); }

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-hover);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-9);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--primary-hover); }
.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-6);
  line-height: 1.6;
  flex: 1;
}
.blog-card-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-5);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 0;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--color-3);
  color: var(--color-7);
  transition: all 0.2s;
}
.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================================
   FOOTER — light background (slate-50) like original
   ============================================================ */
#site-footer {
  position: relative;
  background: #f8fafc;
  color: #64748b;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
}

/* Decorative background blobs */
#site-footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: rgba(2, 138, 199, 0.04);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
#site-footer::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(226, 232, 240, 0.5);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }

/* Footer main: logo column + nav grid — stacked on mobile, side-by-side on desktop */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

/* Logo column */
.footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .footer-logo-area { min-width: 200px; }
}

.footer-logo {
  display: inline-block;
}
.footer-logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s;
}
.footer-logo:hover img { transform: scale(1.05); }

.footer-tagline {
  font-size: 0.875rem;
  color: #64748b;
  max-width: 220px;
}
.footer-copy-year {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Nav grid */
.footer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: var(--primary); padding-left: 4px; }

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #94a3b8;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8rem;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--primary); }

/* Fallback brand (footer-brand used in old template structure) */
.footer-brand { max-width: 320px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-emerald { color: var(--emerald); }
.text-primary { color: var(--primary-hover); }
.fw-bold { font-weight: 700; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.gap-4 { gap: 1rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-emerald { background: #d1fae5; color: var(--emerald-dark); }

/* Rating stars */
.star-rating { color: #f59e0b; letter-spacing: 2px; font-size: 0.9rem; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--color-2); margin: 2rem 0; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--color-2) 25%, var(--color-1) 50%, var(--color-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Fade-in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--color-9);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  animation: fadeInUp 0.3s ease;
  max-width: 360px;
}
.toast.success { border-left: 4px solid var(--emerald); }
.toast.error   { border-left: 4px solid #ef4444; }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-2);
  padding: 0.6rem 0;
  font-size: 0.8rem;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--color-6);
}
.breadcrumb-item a {
  color: var(--color-6);
  transition: color 0.2s;
}
.breadcrumb-item a:hover { color: var(--primary-hover); }
.breadcrumb-item.active { color: var(--color-8); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: 0.25rem;
  color: var(--color-4);
}

/* ============================================================
   ENTRY CONTENT (blog/page body typography)
   ============================================================ */
.entry-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.entry-content p  { margin-bottom: 1.25rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.entry-content a  { color: var(--primary-hover); text-decoration: underline; }
.entry-content a:hover { color: var(--primary-dark); }
.entry-content img { border-radius: var(--radius-md); margin: 1rem 0; }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-0);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-7);
}
.entry-content code {
  background: var(--color-1);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}
.entry-content pre {
  background: var(--color-9);
  color: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th { background: var(--color-1); font-weight: 700; padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid var(--color-3); }
.entry-content td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-2); }

/* ============================================================
   WP PAGINATION override
   ============================================================ */
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--color-3);
  color: var(--color-7);
  transition: all 0.2s;
  margin: 0 2px;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-numbers.dots { border: none; width: auto; }

/* ============================================================
   SECTION PADDING UTILITY (used inline on homepage)
   ============================================================ */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mt-8  { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
