/* ============================================================
   LUXE LIFE — Premium Lifestyle Blog
   Color: Cream, Black, Gold, White
   ============================================================ */

:root {
  /* Colors */
  --color-cream: #faf8f5;
  --color-cream-dark: #f0ece4;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-black-soft: #2c2c2c;
  --color-gold: #c9a96e;
  --color-gold-light: #e0c78a;
  --color-gold-dark: #a8874a;
  --color-text: #333333;
  --color-text-light: #6b6b6b;
  --color-text-muted: #999999;
  --color-border: #e8e3da;
  --color-border-light: #f0ece4;
  --color-overlay: rgba(26, 26, 26, 0.55);
  --color-success: #4a7c59;
  --color-error: #c14141;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 780px;
  --header-height: 5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background-color: var(--color-gold-light);
  color: var(--color-black);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-black);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.btn--outline {
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
  background: transparent;
}

.btn--outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn--outline-light {
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn--outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--text {
  padding: 0.5rem 0;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  position: relative;
}

.btn--text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.btn--text:hover::after {
  width: 100%;
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-icon {
  color: var(--color-gold);
  font-size: 1.4rem;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav__link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 1.5px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.main-nav__link:hover,
.main-nav__link.active {
  color: var(--color-gold);
}

.main-nav__link:hover::after,
.main-nav__link.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-xl);
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-nav__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-border-light);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--color-gold);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-black-soft) 0%,
    #3a3528 50%,
    var(--color-black-soft) 100%
  );
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.8) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-4xl) var(--space-xl);
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold-light);
  margin-bottom: var(--space-lg);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 2px;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   CATEGORY CARDS GRID
   ============================================================ */
.categories-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-label {
  margin-bottom: var(--space-sm);
}

.section-header .section-title {
  margin-bottom: var(--space-sm);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.category-card__image {
  position: absolute;
  inset: 0;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card__image img {
  transform: scale(1.05);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.75) 0%,
    rgba(26, 26, 26, 0.2) 40%,
    rgba(26, 26, 26, 0.1) 100%
  );
  transition: background var(--transition-slow);
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.3) 50%,
    rgba(26, 26, 26, 0.1) 100%
  );
}

.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  z-index: 2;
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.category-card:hover .category-card__content {
  transform: translateY(-8px);
}

.category-card__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.category-card__title {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.category-card__count {
  color: var(--color-gold-light);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================================
   FEATURED POSTS
   ============================================================ */
.featured-section {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.post-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post-card__image {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-white);
  color: var(--color-black);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  z-index: 2;
}

.post-card__body {
  padding: var(--space-lg);
}

.post-card__title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__title a {
  transition: color var(--transition-fast);
}

.post-card__title a:hover {
  color: var(--color-gold);
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.post-card__read-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Featured Large */
.featured-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
}

.featured-large__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.featured-large__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-large:hover .featured-large__image img {
  transform: scale(1.03);
}

.featured-large__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl);
}

.featured-large__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.featured-large__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--space-md);
}

.featured-large__excerpt {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   LUXURY GUIDE SECTION
   ============================================================ */
.guide-section {
  padding: var(--space-4xl) 0;
  background: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.guide-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 169, 110, 0.08);
  border-radius: 50%;
}

.guide-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201, 169, 110, 0.06);
  border-radius: 50%;
}

.guide-section .section-label {
  color: var(--color-gold-light);
}

.guide-section .section-title {
  color: var(--color-white);
}

.guide-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.guide-card {
  text-align: center;
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-base);
}

.guide-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-4px);
}

.guide-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.guide-card__title {
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.guide-card__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ============================================================
   POPULAR POSTS
   ============================================================ */
.popular-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.popular-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.popular-card:hover {
  background: var(--color-cream-dark);
  transform: translateX(6px);
}

.popular-card__rank {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  flex-shrink: 0;
  width: 3.5rem;
}

.popular-card__content {
  flex: 1;
}

.popular-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.popular-card__title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.popular-card__title a {
  transition: color var(--transition-fast);
}

.popular-card__title a:hover {
  color: var(--color-gold);
}

.popular-card__meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-md);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
}

.newsletter-box__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.newsletter-box__title {
  margin-bottom: var(--space-sm);
}

.newsletter-box__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form__input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--color-cream);
  transition: border-color var(--transition-fast);
}

.newsletter-form__input:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-color: var(--color-gold);
}

.newsletter-form__input::placeholder {
  color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom span:last-child {
  color: var(--color-gold);
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--color-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.05), transparent);
}

.page-banner__title {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  position: relative;
}

.page-banner__subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  position: relative;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.breadcrumb a {
  color: var(--color-gold-light);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   BLOG LISTING
   ============================================================ */
.blog-listing {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-cream);
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.blog-filters {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 2px;
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.blog-search {
  position: relative;
  min-width: 260px;
}

.blog-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.blog-search input:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-color: var(--color-gold);
}

.blog-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.pagination a {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.pagination a:hover {
  border-color: var(--color-black);
  color: var(--color-black);
}

.pagination .current {
  background: var(--color-black);
  color: var(--color-white);
}

.pagination .disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  background: var(--color-black);
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.2));
}

.article-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.article-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-light);
  margin-bottom: var(--space-md);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 2px;
}

.article-hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-body-wrapper {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-white);
}

.article-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-3xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Table of Contents */
.article-toc {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  align-self: start;
}

.article-toc__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: var(--color-black);
}

.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-toc__list a {
  font-size: 0.82rem;
  color: var(--color-text-light);
  padding: 0.35rem 0;
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-md);
  transition: all var(--transition-fast);
  line-height: 1.5;
}

.article-toc__list a:hover,
.article-toc__list a.active {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
}

/* Article Content */
.article-content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-black-soft);
}

.article-content h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-md);
  font-size: 1.75rem;
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.35rem;
}

.article-content p {
  margin-bottom: var(--space-lg);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-xs);
}

.article-content li::marker {
  color: var(--color-gold);
}

.article-content figure {
  margin: var(--space-2xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-content figure img {
  width: 100%;
  height: auto;
}

.article-content figure figcaption {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-cream);
  font-style: italic;
}

.article-content blockquote {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: var(--color-cream);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-light);
}

.article-content blockquote p {
  margin-bottom: 0;
}

.article-content .highlight-box {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(201, 169, 110, 0.02));
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-lg);
}

.article-content .highlight-box h3 {
  margin-top: 0;
  color: var(--color-gold-dark);
}

/* Article Footer */
.article-footer {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border-light);
}

.article-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.article-tags a {
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.article-tags a:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.article-share span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.article-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cream);
  transition: all var(--transition-base);
  font-size: 0.9rem;
}

.article-share a:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Related Posts */
.related-section {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.related-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-item {
  padding: var(--space-md);
  background: var(--color-cream);
  border-radius: var(--radius-md);
}

.value-item__icon {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  display: block;
}

.value-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.value-item__text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.contact-detail__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-detail__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.contact-form {
  background: var(--color-cream);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
}

.contact-form h3 {
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-color: var(--color-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.no-results__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

.no-results h3 {
  margin-bottom: var(--space-sm);
}

.no-results p {
  color: var(--color-text-muted);
}

/* ============================================================
   LAZY LOADING
   ============================================================ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-gold);
  transform: translateY(-4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  :root {
    --header-height: 4.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .popular-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-large {
    grid-template-columns: 1fr;
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 4rem;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .category-card {
    aspect-ratio: 3/2;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filters {
    overflow-x: auto;
    padding-bottom: var(--space-sm);
  }

  .blog-search {
    min-width: unset;
  }

  .article-hero {
    height: 50vh;
    min-height: 350px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .popular-card {
    flex-direction: column;
    text-align: center;
  }

  .popular-card__rank {
    width: auto;
    font-size: 2.5rem;
  }

  .article-share {
    flex-wrap: wrap;
  }

  .section-header .section-title {
    font-size: 1.75rem;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__label {
    font-size: 0.65rem;
    padding: 0.35rem 0.85rem;
  }

  .btn--lg {
    padding: 0.9rem 1.8rem;
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.35rem;
  }
}

/* ============================================================
   ACCESSIBILITY — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   KEYBOARD FOCUS
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .mobile-nav,
  .hamburger,
  .scroll-top,
  .newsletter-section,
  .site-footer,
  .article-share,
  .article-toc,
  .related-section {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .article-content {
    max-width: 100%;
  }
}