/* ============================================================
   AMOURA WP THEME — Main Stylesheet
   Brand: Deep black #0a0a0a · Crimson #8B0000 · White
   Fonts: Cormorant Garamond (display) · Inter (body)
   ============================================================ */

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

:root {
  --black:   #0a0a0a;
  --black-2: #111111;
  --crimson: #8B0000;
  --crimson-hover: #a00000;
  --white:   #ffffff;
  --white-60: rgba(255,255,255,0.6);
  --white-40: rgba(255,255,255,0.4);
  --white-10: rgba(255,255,255,0.1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
  background-color: var(--crimson);
  color: var(--white);
  text-align: center;
  padding: 6px 1rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 30px; /* announcement bar height */
  left: 0;
  right: 0;
  z-index: 999;
  transition: background 0.4s ease, padding 0.4s ease;
  padding: 1.5rem 0;
}

.site-header.scrolled,
.site-header.solid {
  background-color: var(--black);
  border-bottom: 1px solid var(--white-10);
  padding: 1rem 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav */
.nav-left,
.nav-right { flex: 1; }
.nav-right { display: flex; justify-content: flex-end; }

.nav-list { display: flex; gap: 2rem; align-items: center; }
.nav-list li a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-list li a:hover,
.nav-list li.current-menu-item a { color: var(--white); }

/* Logo */
.site-logo { flex-shrink: 0; }
.logo-link { display: block; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.2s;
}
.logo-link:hover .logo-text { opacity: 0.8; }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-nav-list li a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-nav-list li a:hover { color: var(--crimson); }

/* Page wrap offset for fixed header */
.page-wrap { padding-top: 108px; }

/* ── Hero Slider ──────────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  /* pull back up to cover announcement + header area */
  margin-top: -108px;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  padding-top: 108px;
}

.slide-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 0.875rem 2.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-hero:hover {
  background: var(--white);
  color: var(--black);
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.75rem;
}
.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s, transform 0.3s;
}
.indicator.active {
  background: var(--white);
  transform: scale(1.25);
}

/* ── Category Tiles ───────────────────────────────────────── */
.categories-section {
  padding: 6rem 0;
}

.section-header {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
}

.categories-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 2rem;
  /* Hide scrollbar visually */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.categories-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.5rem;
  width: max-content;
  min-width: 100%;
}

.category-tile {
  position: relative;
  width: 280px;
  height: 400px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
@media (min-width: 768px) {
  .category-tile { width: 350px; height: 500px; }
}

.category-tile .tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  z-index: 1;
  transition: opacity 0.4s;
}
.category-tile:hover .tile-overlay { opacity: 0.9; }

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-out;
}
.category-tile:hover img { transform: scale(1.05); }

.tile-label {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── Editorial Banner ─────────────────────────────────────── */
.editorial-banner {
  position: relative;
  height: 80vh;
  overflow: hidden;
  margin-top: 4rem;
}

.editorial-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.editorial-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.editorial-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2rem;
}
.editorial-title em {
  font-style: italic;
  color: rgba(139,0,0,0.9);
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  padding: 0.875rem 2.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-editorial:hover {
  background: var(--crimson);
  color: var(--white);
}

/* ── Site Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--black-2);
  border-top: 1px solid var(--white-10);
  padding: 5rem 0 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--white-60);
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  color: var(--white-60);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links li,
.footer-links li a {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--white-60);
  transition: color 0.2s;
}
.footer-links li a:hover { color: var(--white); }

.footer-phone {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--white) !important;
}
.footer-phone:hover { color: var(--crimson) !important; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--white-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-40);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--white-40); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ── Generic Page / Blog ─────────────────────────────────── */
.main-content {
  min-height: 70vh;
  padding: 4rem 0;
}

.page-main { padding-top: 6rem; }

.page-header { margin-bottom: 2rem; text-align: center; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
}

.page-content {
  color: var(--white-60);
  line-height: 1.8;
  font-size: 15px;
  max-width: 760px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card { background: var(--black-2); border: 1px solid var(--white-10); }
.post-thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-body { padding: 1.5rem; }
.post-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.75rem; }
.post-title a { color: var(--white); transition: color 0.2s; }
.post-title a:hover { color: var(--crimson); }
.post-excerpt { color: var(--white-60); font-size: 13px; margin-bottom: 1rem; }
.btn-read-more {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-60);
  border-bottom: 1px solid var(--white-10);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-read-more:hover { color: var(--white); border-color: var(--white-40); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1023px) {
  .nav-left, .nav-right { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { justify-content: space-between; }
  .site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
}
