/*
Theme Name: Apex Euro Exotics
Theme URI: https://apexeuroexotics.com
Author: MTSG MEDIA
Author URI: https://mtsgmedia.com
Description: Custom WordPress theme matching the Apex Euro Exotics static site — black, red, gold luxury design.
Version: 1.0
*/

/* ═══════════════════════════════════════════════════
   APEX EURO EXOTICS — WordPress Theme Design System
   Matching static site: black bg, red accent, Bebas Neue headings, gold accents
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #cc1111;
  --red-bright: #e61515;
  --red-dark: #990d0d;
  --gold: #b8963e;
  --gold-light: #d4af5a;
  --black: #000000;
  --dark: #0a0a0a;
  --card-bg: #0d0d0d;
  --card-border: #1a1a1a;
  --text: #f0f0f0;
  --text-off: #cccccc;
  --muted: #888888;
  --muted-dark: #555555;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--red-dark); }

/* ─── NAV ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2.5rem;
  background: rgba(0,0,0,0.92);
  border-bottom: 1px solid #111;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(0,0,0,0.98);
  border-bottom-color: #1a1a1a;
}
#navbar.at-top {
  background: rgba(0,0,0,0.6);
  border-bottom-color: transparent;
}
.nav-logo img {
  height: 56px; width: auto; display: block;
  transition: opacity 0.3s;
}
.nav-logo img:hover { opacity: 0.85; }

.nav-links {
  display: flex; gap: 2.8rem; list-style: none;
}
.nav-links a {
  color: var(--text-off);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  background: var(--red);
  color: #fff;
  padding: 0.55rem 1.6rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
}
.nav-cta:hover { background: var(--red-bright); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .mob-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
}

/* Dropdown nav */
.dropdown { position: relative; display: inline-block; }
.drop-icon { font-size: 0.6em; vertical-align: middle; margin-left: 4px; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background-color: rgba(10,10,10,0.98);
  min-width: 220px;
  border: 1px solid var(--card-border);
  border-top: 2px solid var(--red);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
  z-index: 1000;
  padding: 0.5rem 0;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}
.dropdown:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.dropdown-content a {
  color: var(--text-off);
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}
.dropdown-content a::after { display: none; }
.dropdown-content a:hover {
  color: #fff;
  background-color: rgba(255,255,255,0.05);
  padding-left: 25px;
}

/* ─── GOLD LINE DIVIDER ─── */
.gold-line {
  height: 1px;
  background: var(--gold);
  margin: 0; border: none;
}

/* ─── SECTION BASE ─── */
.section { padding: 6rem 2.5rem; }
.section-sm { padding: 4rem 2.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}

.heading-xl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #fff;
}
.heading-lg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
}
.heading-md {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
}
.heading-sm {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.red { color: var(--red); }
.body-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-light); }

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  padding: 12rem 2.5rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 50%, rgba(0,0,0,0.6));
}
.page-hero-content {
  position: relative; z-index: 2;
}

/* ─── CARD ─── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem 2rem;
  transition: border-color 0.3s;
}
.card:hover { border-color: #2a2a2a; }
.card-gold-bar {
  width: 28px; height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid var(--gold);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { height: 70px; width: auto; margin-bottom: 1.2rem; display: block; }
.footer-tagline { font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-addr { font-size: 0.85rem; color: var(--muted); line-height: 1.9; }
.footer-addr strong {
  color: rgba(240,240,240,0.6);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.soc-btn {
  width: 34px; height: 34px;
  border: 1px solid #222;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.72rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  font-family: 'Montserrat', sans-serif;
}
.soc-btn:hover { border-color: var(--red); color: var(--red); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #111;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: var(--muted-dark); }
.footer-cta-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-cta-link:hover { color: var(--red-bright); }

/* ═══════════════════════════════════════
   BLOG — Post Card Grid (index.php)
   ═══════════════════════════════════════ */
.blog-hero {
  position: relative;
  padding: 12rem 2.5rem 5rem;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
}
.blog-hero::before {
  content: 'BLOG';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22vw;
  color: rgba(255,255,255,0.02);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}
.blog-hero-inner { position: relative; z-index: 1; }

.blog-listing-section {
  padding: 6rem 2.5rem;
  background: #000;
}
.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #111;
}
.post-card {
  background: var(--card-bg);
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.post-card:hover { background: #0f0f0f; }
.post-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.75) saturate(0.8);
}
.post-card:hover .post-card-thumb {
  transform: scale(1.04);
  filter: brightness(0.55) saturate(0.6);
}
.post-card-thumb-wrap {
  overflow: hidden;
  position: relative;
}
.post-card-thumb-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.post-card:hover .post-card-thumb-wrap::after { transform: scaleX(1); }

.post-card-body { padding: 2rem 2rem 2.5rem; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.post-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.post-card-date {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.post-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}
.post-card:hover .post-card-title { color: var(--text-off); }
.post-card-excerpt {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.post-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap 0.2s;
}
.post-card:hover .post-card-read { gap: 0.8rem; }

/* No featured image fallback */
.post-card-no-thumb {
  background: #0a0a0a;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #111;
}
.post-card-no-thumb-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.1em;
}

/* Pagination */
.blog-pagination {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid #1a1a1a;
  transition: all 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ═══════════════════════════════════════
   BLOG — Single Post (single.php)
   ═══════════════════════════════════════ */
.single-hero {
  position: relative;
  padding: 14rem 2.5rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
}
.single-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(0.6);
}
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%);
}
.single-hero-content { position: relative; z-index: 2; max-width: 900px; }
.single-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.single-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.single-date {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}
.single-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
}

/* Article body */
.single-article-wrap {
  padding: 6rem 2.5rem;
  background: #000;
}
.single-article {
  max-width: 780px;
  margin: 0 auto;
}
.single-article-content {
  font-size: 1rem;
  color: rgba(240,240,240,0.82);
  line-height: 1.95;
}
.single-article-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}
.single-article-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 2rem 0 0.8rem;
}
.single-article-content p { margin-bottom: 1.4rem; }
.single-article-content a { color: var(--red); text-decoration: underline; }
.single-article-content img {
  width: 100%; height: auto; display: block;
  margin: 2rem auto;
  border: 1px solid #1a1a1a;
}
.single-article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  background: #050505;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(240,240,240,0.7);
}
.single-article-content ul,
.single-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.single-article-content li { margin-bottom: 0.5rem; }

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s;
}
.back-to-blog:hover { color: var(--red); }

/* No posts message */
.no-posts {
  max-width: 600px;
  margin: 8rem auto;
  text-align: center;
  padding: 0 2rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #navbar { padding: 0.8rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 4rem 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-listing-section { padding: 4rem 1.5rem; }
  .blog-hero { padding: 9rem 1.5rem 3.5rem; }
  .single-hero { padding: 10rem 1.5rem 3.5rem; }
  .single-article-wrap { padding: 4rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 3rem 1.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
