/* ==========================================================================
   DD Property EU — Dark Luxury Stylesheet
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary */
  --bg-primary: #080b14;
  --bg-secondary: #0d1220;
  --bg-card: #111827;
  --bg-card-hover: #162032;
  --bg-glass: rgba(13, 18, 32, 0.85);

  /* Gold */
  --gold: #c9a84c;
  --gold-light: #e2cc8a;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --gold-glow: rgba(201, 168, 76, 0.2);

  /* Text */
  --text-primary: #f0ede6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Utility */
  --white: #ffffff;
  --border: rgba(201, 168, 76, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  background-image: radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(13, 18, 32, 0.5) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold-light);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

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

/* ---------- Gold accent helpers ---------- */
.gold {
  color: var(--gold);
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5em;
}

.section-subheading {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0.8rem auto 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #b8953f);
  color: var(--bg-primary);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1ebe5b;
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.site-nav__list {
  display: flex;
  gap: 8px;
}

.site-nav__link {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.site-nav__link:hover,
.site-nav__link--active {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--gold);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger--active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    padding: 100px 30px 30px;
    transition: right var(--transition);
    z-index: 999;
  }
  .site-nav--open {
    right: 0;
  }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }
  .site-nav__link {
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.7) 0%, rgba(8, 11, 20, 0.9) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-secondary);
}

/* ---------- Property Card ---------- */
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.property-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.property-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.property-card:hover .property-card__image {
  transform: scale(1.05);
}

.property-card__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.property-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.property-card__body {
  padding: 20px;
}

.property-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card__address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.property-card__address i {
  color: var(--gold);
  margin-right: 4px;
}

.property-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.property-card__meta-item {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.property-card__meta-item i {
  color: var(--gold);
  margin-right: 4px;
}

/* ---------- Property Grid ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* ---------- Post Card ---------- */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.post-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card__image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.post-card:hover .post-card__image {
  transform: scale(1.05);
}

.post-card__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.post-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.post-card__body {
  padding: 20px;
}

.post-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.post-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.filter-bar__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.filter-bar__link {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.filter-bar__link:hover,
.filter-bar__link--active {
  color: var(--bg-primary);
  background: var(--gold);
  border-color: var(--gold);
}

.filter-bar__count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.pagination__link:hover,
.pagination__link--active {
  color: var(--bg-primary);
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero__subtitle {
  color: var(--text-secondary);
  margin-top: 0.5em;
  font-size: 1.05rem;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.benefit-box {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.benefit-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.benefit-box__icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.benefit-box__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.benefit-box__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
}

.team-card__name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-card__role {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.team-card__contacts a {
  color: var(--text-secondary);
}
.team-card__contacts a:hover {
  color: var(--gold);
}

.team-card__contacts i {
  color: var(--gold);
  width: 20px;
  text-align: center;
  margin-right: 6px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-section__text {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---------- Property Detail ---------- */
.property-detail {
  padding-top: 100px;
}

.property-detail__hero {
  position: relative;
  aspect-ratio: 16/9;
  max-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.property-detail__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.property-detail__header {
  margin-bottom: 32px;
}

.property-detail__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.property-detail__badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gold);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
}

.property-detail__badge--status {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border);
}

.property-detail__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.property-detail__address {
  color: var(--text-secondary);
  font-size: 1rem;
}
.property-detail__address i {
  color: var(--gold);
  margin-right: 6px;
}

.property-detail__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.property-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-secondary);
}
.property-detail__meta-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

.property-detail__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.property-detail__tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.property-detail__content {
  margin-bottom: 48px;
}

.property-detail__content h2,
.property-detail__content h3 {
  color: var(--gold);
  margin: 1.5em 0 0.5em;
}

.property-detail__content p {
  margin-bottom: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
}

.property-detail__content ul,
.property-detail__content ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
  list-style: disc;
}
.property-detail__content li {
  color: var(--text-secondary);
  margin-bottom: 0.3em;
}

.property-detail__content strong {
  color: var(--text-primary);
}

.property-detail__content img {
  border-radius: var(--radius-md);
  margin: 1em 0;
}

.property-detail__contact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.property-detail__contact h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.property-detail__contact-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.gallery__item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.gallery__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery__item:hover .gallery__thumb {
  transform: scale(1.08);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox--active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
  padding: 8px;
  line-height: 1;
}
.lightbox__close:hover { color: var(--gold); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 16px;
  border-radius: 50%;
  z-index: 2001;
  transition: all var(--transition);
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- Post Detail ---------- */
.post-detail {
  padding-top: 100px;
}

.post-detail__hero {
  aspect-ratio: 16/7;
  max-height: 450px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.post-detail__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-detail__meta {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.post-detail__meta i {
  color: var(--gold);
  margin-right: 4px;
}

.post-detail__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 32px;
}

.post-detail__content {
  max-width: 800px;
}

.post-detail__content h2,
.post-detail__content h3 {
  color: var(--gold);
  margin: 1.5em 0 0.5em;
}

.post-detail__content p {
  margin-bottom: 1em;
  color: var(--text-secondary);
  line-height: 1.8;
}

.post-detail__content ul,
.post-detail__content ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
  list-style: disc;
}
.post-detail__content li {
  color: var(--text-secondary);
  margin-bottom: 0.3em;
}

.post-detail__content strong {
  color: var(--text-primary);
}

.post-detail__content img {
  border-radius: var(--radius-md);
  margin: 1em 0;
}

.post-detail__content a {
  color: var(--gold);
  text-decoration: underline;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-nav__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.post-nav__link:hover {
  color: var(--gold);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.contact-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
}

.contact-card__name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.contact-card__role {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.contact-card__info a {
  color: var(--text-secondary);
}
.contact-card__info a:hover {
  color: var(--gold);
}

.contact-card__info i {
  color: var(--gold);
  width: 20px;
  margin-right: 8px;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.legal-content h2,
.legal-content h3 {
  color: var(--gold);
  margin: 1.5em 0 0.5em;
}

.legal-content p {
  margin-bottom: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
  list-style: disc;
}

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.3em;
}

.legal-content a {
  color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__heading {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.site-footer__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.site-footer__social a:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}
.site-footer__links a {
  color: var(--text-secondary);
}
.site-footer__links a:hover {
  color: var(--gold);
}
.site-footer__links li {
  color: var(--text-secondary);
}
.site-footer__links i {
  color: var(--gold);
  margin-right: 6px;
  width: 16px;
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-primary);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ---------- Text Center ---------- */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ---------- YouTube embed ---------- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Social Links Row ---------- */
.social-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 2rem;
}
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  transition: all var(--transition);
}
.social-row a:hover {
  background: var(--gold);
  color: var(--bg-primary);
}
