/* ============================================================
   myAlanya — Mediterranean Editorial Design System
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Ana Renkler (TripAdvisor Yeşili) */
  --terra:    #C44035;
  --terra-d:  #922B22;
  --terra-l:  #FAE9E7;

  --teal:     #00aa6c;
  --teal-d:   #008856;
  --teal-l:   #e7f7ef;

  /* Nötr / Zemin (Beyaz & Açık Gri) */
  --ink:      #1a1a1a;
  --ink-m:    #4a4a4a;
  --ink-s:    #666666;
  --cream:    #ffffff;
  --sand:     #f2f2f2;
  --sand-d:   #e0e0e0;

  /* Premium */
  --gold:     #C4830A;
  --gold-l:   #FEF3DC;
  --white:    #FFFFFF;

  /* WhatsApp */
  --wa-green: #25D366;

  /* Tipografi (Modern Sans-serif) */
  --ff-d: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-b: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii (Daha oval / hap tarzı) */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm:  0 2px 4px rgba(0,0,0,.04);
  --shadow:     0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,.16);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --transition: 300ms var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-b);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-m);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: var(--ff-b); font-size: 14px; }

/* ---------- Typography ---------- */
h1 { font-family: var(--ff-d); font-size: clamp(36px, 5vw, 64px); font-weight: 700; color: var(--white); line-height: 1.15; }
h2 { font-family: var(--ff-d); font-size: clamp(24px, 3vw, 36px); font-weight: 600; color: var(--ink); line-height: 1.25; }
h3 { font-family: var(--ff-d); font-size: 22px; font-weight: 600; color: var(--ink); }
h4 { font-family: var(--ff-b); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition);
}
.main-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}
.logo-my {
  font-family: var(--ff-d);
  font-style: italic;
  font-size: 28px;
  color: var(--terra);
  font-weight: 600;
}
.logo-alanya {
  font-family: var(--ff-b);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ink);
  font-weight: 400;
}

/* Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.nav-link {
  font-family: var(--ff-b);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-link:hover {
  color: var(--teal);
}
.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Lang Switcher */
.lang-switcher {
  position: relative;
}
.lang-current {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--sand-d);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.lang-current:hover { color: var(--teal); border-color: var(--teal); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--transition);
  overflow: hidden;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-m);
  transition: all var(--transition);
}
.lang-dropdown a:hover {
  background: var(--terra-l);
  color: var(--terra);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-b);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-cta {
  background: var(--ink);
  color: var(--white);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
}
.btn-cta:hover {
  background: var(--ink-m);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.btn-terra {
  background: var(--terra);
  color: var(--white);
  padding: 12px 24px;
  font-size: 14px;
}
.btn-terra:hover {
  background: var(--terra-d);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: .04em;
}
.btn-outline {
  border: 1px solid var(--sand-d);
  color: var(--ink-m);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--terra);
  color: var(--terra);
}
.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
}
.btn-wa:hover {
  background: #1fba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--sand);
  padding: 160px 24px 100px;
  overflow: hidden;
  text-align: center;
}
.hero-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 32px;
  color: var(--ink);
}

/* Category Pills */
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--sand-d);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.hero-cat-pill:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.hero-cat-pill:hover .cat-pill-icon {
  color: var(--white);
}

/* Search Form */
.hero-search {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand-d);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-field {
  flex: 1;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-s);
}
.search-input-main {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  padding: 8px 0;
}
.search-input-main::placeholder {
  color: var(--ink-s);
}
.search-btn {
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  background: var(--teal);
  color: var(--white);
  transition: all var(--transition);
}
.search-btn:hover {
  background: var(--teal-d);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--terra);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--terra);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.category-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}
.category-name {
  font-family: var(--ff-d);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.category-desc {
  font-size: 13px;
  color: var(--ink-s);
  line-height: 1.5;
}

/* ============================================================
   LISTING GRID & CARD
   ============================================================ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
  transition: all var(--transition);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.listing-card__image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.listing-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.listing-card:hover .listing-card__image {
  transform: scale(1.05);
}

.listing-card__category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(28,20,16,.7);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.listing-card__season {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.season--open {
  background: var(--teal-l);
  color: var(--teal-d);
}
.season--closed {
  background: var(--terra-l);
  color: var(--terra-d);
}

.listing-card__featured-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--gold-l);
  color: var(--gold);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .04em;
}

.listing-card__body {
  padding: 20px;
}
.listing-card__cat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}
.listing-card__title {
  font-family: var(--ff-d);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.listing-card__title a {
  color: var(--ink);
}
.listing-card__title a:hover {
  color: var(--terra);
}

.listing-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-s);
  margin-bottom: 8px;
}
.listing-card__location svg {
  flex-shrink: 0;
  color: var(--terra);
}

.listing-card__desc {
  font-size: 13px;
  color: var(--ink-s);
  line-height: 1.6;
  margin-bottom: 16px;
}

.listing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--sand);
}

.listing-card__price {
  font-size: 12px;
  color: var(--ink-s);
}
.listing-card__price strong {
  font-family: var(--ff-d);
  font-size: 20px;
  font-weight: 600;
  color: var(--terra);
  display: block;
  margin-top: 2px;
}

/* ============================================================
   TA HOTEL CARD (TripAdvisor Style)
   ============================================================ */
.ta-hotel-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s;
    height: 100%;
}
.ta-hotel-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.ta-hotel-card__img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: block;
}
.ta-hotel-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.ta-hotel-card:hover .ta-hotel-card__img-wrap img {
    transform: scale(1.04);
}
.ta-hotel-card__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    z-index: 10;
}
.ta-hotel-card__fav:hover { background: #fff; }
.ta-hotel-card__fav svg { width: 18px; height: 18px; color: #333; }
.ta-hotel-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #00aa6c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 14px;
    z-index: 10;
}
.ta-hotel-card__body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ta-hotel-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.3;
}
.ta-hotel-card__name a {
    color: inherit;
    text-decoration: none;
}
.ta-hotel-card__name a:hover { text-decoration: underline; color: #00aa6c; }
.ta-hotel-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 8px;
}
.ta-hotel-card__dots {
    color: #00aa6c;
    font-size: 12px;
    letter-spacing: 1px;
}
.ta-hotel-card__dots .empty { color: #e0e0e0; }
.ta-hotel-card__reviews {
    color: #666;
    font-size: 12px;
}
.ta-hotel-card__price {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}
.ta-hotel-card__price strong {
    color: #1a1a1a;
    font-size: 15px;
}
.ta-hotel-card__cta {
    margin-top: auto;
    display: block;
    text-align: center;
    background: #e7f7ef;
    color: #00aa6c;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #00aa6c;
    transition: all 0.2s;
}
.ta-hotel-card__cta:hover {
    background: #00aa6c;
    color: #fff;
}


/* ============================================================
   LISTING INDEX PAGE
   ============================================================ */
.listing-page {
  padding-top: 100px;
}
.listing-page__header {
  background: var(--ink);
  padding: 60px 0 40px;
  text-align: center;
}
.listing-page__title {
  font-family: var(--ff-d);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 12px;
}
.listing-page__subtitle {
  color: var(--sand);
  font-size: 15px;
}
.listing-page__body {
  padding: 48px 0 80px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.pagination a {
  border: 1px solid var(--sand-d);
  color: var(--ink-m);
}
.pagination a:hover {
  border-color: var(--terra);
  color: var(--terra);
}
.pagination .active {
  background: var(--terra);
  color: var(--white);
  border: none;
}

/* ============================================================
   LISTING DETAIL PAGE
   ============================================================ */
.detail-page {
  padding-top: 72px;
}
.detail-hero {
  position: relative;
  height: 400px;
  background: var(--ink);
  overflow: hidden;
}
.detail-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}
.detail-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(28,20,16,.9));
}
.detail-hero__category {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.detail-hero__title {
  font-family: var(--ff-d);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
  font-weight: 700;
}

.detail-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
}

.detail-content {}
.detail-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.detail-content p,
.detail-content .description-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-m);
  margin-bottom: 24px;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-card__price {
  font-family: var(--ff-d);
  font-size: 32px;
  font-weight: 700;
  color: var(--terra);
  margin-bottom: 4px;
}
.sidebar-card__price-note {
  font-size: 13px;
  color: var(--ink-s);
  margin-bottom: 20px;
}
.sidebar-card .btn-wa {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.detail-meta__item {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.detail-meta__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-s);
  margin-bottom: 4px;
}
.detail-meta__value {
  font-weight: 500;
  color: var(--ink);
  font-size: 14px;
}

/* Gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.detail-gallery__main {
  grid-column: span 4;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-gallery__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  opacity: .7;
  transition: opacity var(--transition);
}
.detail-gallery__thumb:hover,
.detail-gallery__thumb.active {
  opacity: 1;
}
.detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews */
.reviews-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--sand);
}
.review-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-card__name {
  font-weight: 500;
  color: var(--ink);
}
.review-card__rating {
  color: var(--gold);
  font-size: 14px;
}
.review-card__text {
  font-size: 14px;
  color: var(--ink-m);
  line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 40px 0 80px;
}
.cta-card {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--terra);
  border-radius: 50%;
  filter: blur(150px);
  opacity: .15;
  top: -100px;
  right: -100px;
}
.cta-title {
  font-family: var(--ff-d);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-desc {
  font-size: 16px;
  color: var(--sand);
  margin-bottom: 32px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: #fafafa;
  color: var(--ink);
  padding: 64px 0 0;
  border-top: 1px solid var(--sand);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-s);
}
.footer-heading {
  color: var(--ink);
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 600;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--ink-s);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact svg { color: var(--teal); flex-shrink: 0; }
.footer-contact a {
  color: var(--ink-s);
}
.footer-contact a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--sand-d);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-s);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand-d);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px var(--terra-l);
}
.form-control--textarea {
  resize: vertical;
  min-height: 100px;
}

/* Alerts */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.alert-success {
  background: var(--teal-l);
  color: var(--teal-d);
  border: 1px solid var(--teal);
}
.alert-error {
  background: var(--terra-l);
  color: var(--terra-d);
  border: 1px solid var(--terra);
}

/* ============================================================
   INQUIRY FORM PAGE
   ============================================================ */
.inquiry-page {
  padding-top: 100px;
  padding-bottom: 80px;
}
.inquiry-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
}
.inquiry-card__title {
  font-family: var(--ff-d);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 8px;
}
.inquiry-card__subtitle {
  font-size: 14px;
  color: var(--ink-s);
  margin-bottom: 32px;
}
.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Success page */
.success-page {
  padding-top: 120px;
  text-align: center;
  padding-bottom: 80px;
}
.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}
.success-code {
  display: inline-block;
  background: var(--teal-l);
  color: var(--teal-d);
  font-size: 20px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  margin: 20px 0 32px;
  font-family: var(--ff-b);
  letter-spacing: .04em;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}
.blog-card__body {
  padding: 24px;
}
.blog-card__category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--terra);
  margin-bottom: 8px;
  display: block;
}
.blog-card__title {
  font-family: var(--ff-d);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: 13px;
  color: var(--ink-s);
  line-height: 1.6;
}
.blog-card__date {
  font-size: 12px;
  color: var(--ink-s);
  margin-top: 16px;
}

/* Blog detail */
.blog-detail {
  padding-top: 100px;
  padding-bottom: 80px;
}
.blog-detail__header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}
.blog-detail__cover {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.blog-detail__cover img {
  width: 100%;
  height: auto;
}
.blog-detail__content {
  max-width: 720px;
  margin: 0 auto;
}
.blog-detail__content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ============================================================
   STATIC PAGES
   ============================================================ */
.static-page {
  padding-top: 120px;
  padding-bottom: 80px;
}
.static-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.static-page__title {
  font-family: var(--ff-d);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  margin-bottom: 32px;
  text-align: center;
}
.static-page__content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .detail-body {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    padding: 40px 24px;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .main-nav.active { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    gap: 24px;
  }
  .nav-link { font-size: 16px; letter-spacing: .08em; }

  .header-actions .btn-cta { display: none; }

  .hero { padding: 140px 16px 60px; }
  .search-form { flex-direction: column; }
  .search-btn { width: 100%; justify-content: center; }

  .listing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .detail-gallery { grid-template-columns: repeat(3, 1fr); }
  .detail-gallery__main { grid-column: span 3; }

  .inquiry-card { padding: 24px; }
  .inquiry-row { grid-template-columns: 1fr; }

  .cta-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card { padding: 20px 16px; }
  .category-icon { font-size: 28px; }
}
