/* ==============================================
   ASTRA RISE — MAIN STYLESHEET
   Theme: Dark Luxury Gold
   Fonts: Clash Display + Inter
   ============================================== */

/* ── VARIABLES ────────────────────────────────── */
:root {
  --ar-black:     #080800;
  --ar-dark:      #0f0f0a;
  --ar-darker:    #050500;
  --ar-gold:      #D4AF37;
  --ar-gold-lt:   #F0D060;
  --ar-gold-dk:   #B8960F;
  --ar-white:     #F5F5F5;
  --ar-gray:      #686868;
  --ar-border:    rgba(212,175,55,0.18);
  --ar-gold-a:    rgba(212,175,55,0.06);
  --ff-head:      'Clash Display', 'Georgia', serif;
  --ff-body:      'Inter', 'Helvetica Neue', sans-serif;
  --container:    1200px;
  --radius:       0px;
}

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

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

body {
  background: var(--ar-black);
  color: var(--ar-white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ────────────────────────────────── */
.ar-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .ar-container { padding: 0 24px; } }

/* ── TYPOGRAPHY ───────────────────────────────── */
.ar-h1 {
  font-family: var(--ff-head);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.ar-h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ar-h3 {
  font-family: var(--ff-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.15;
}
.ar-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ar-gold);
  display: block;
  margin-bottom: 16px;
}
.ar-body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245,245,245,0.55);
}
.ar-gold { color: var(--ar-gold); }
.ar-divider {
  width: 48px;
  height: 2px;
  background: var(--ar-gold);
  display: block;
  margin-bottom: 24px;
}

/* ── BUTTONS ──────────────────────────────────── */
.ar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.26s ease;
  line-height: 1;
  white-space: nowrap;
}
.ar-btn svg { flex-shrink: 0; transition: transform 0.2s; }
.ar-btn:hover svg { transform: translateX(3px); }

.ar-btn--gold {
  background: var(--ar-gold);
  color: var(--ar-black);
  padding: 16px 36px;
}
.ar-btn--gold:hover {
  background: var(--ar-gold-lt);
  color: var(--ar-black);
  transform: translateY(-2px);
}
.ar-btn--outline {
  background: transparent;
  color: var(--ar-white);
  padding: 16px 36px;
  border: 1px solid rgba(245,245,245,0.28);
}
.ar-btn--outline:hover {
  border-color: var(--ar-gold);
  color: var(--ar-gold);
}
.ar-btn--sm { padding: 12px 24px; font-size: 11px; }

/* ── HEADER / NAV ─────────────────────────────── */
.ar-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,0,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ar-border);
  transition: padding 0.3s ease, background 0.3s ease;
  padding: 0;
}
.ar-header--scrolled {
  background: rgba(8,8,0,0.97);
}
.ar-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.ar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.ar-logo__mark { flex-shrink: 0; }
.ar-logo__name {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ar-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ar-logo__name span { color: var(--ar-gold); }
.ar-logo__img { height: 44px; width: auto; }

/* Nav Links */
.ar-nav { flex: 1; }
.ar-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  justify-content: center;
}
.ar-nav__list a {
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.55);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.ar-nav__list a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--ar-gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.ar-nav__list a:hover { color: var(--ar-white); }
.ar-nav__list a:hover::after { transform: scaleX(1); }
.ar-nav__list .current-menu-item > a { color: var(--ar-gold); }

/* CTA */
.ar-header__cta { font-size: 11px !important; padding: 12px 24px !important; }

/* Mobile Toggle */
.ar-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.ar-mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ar-white);
  transition: all 0.3s;
  transform-origin: center;
}
.ar-mobile-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.ar-mobile-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ar-mobile-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile Menu */
.ar-mobile-menu {
  display: none;
  padding: 24px 48px 32px;
  border-top: 1px solid var(--ar-border);
  background: rgba(8,8,0,0.98);
}
.ar-mobile-menu.is-open { display: block; }
.ar-mobile-menu__list { list-style: none; }
.ar-mobile-menu__list li { border-bottom: 1px solid var(--ar-border); }
.ar-mobile-menu__list a {
  display: block;
  padding: 16px 0;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.ar-mobile-menu__list a:hover { color: var(--ar-gold); }

/* ── MAIN CONTENT OFFSET ──────────────────────── */
#ar-main { padding-top: 84px; }
.ar-header + #ar-main { /* handled by the header height */ }

/* ── ELEMENTOR OVERRIDES ──────────────────────── */
.elementor-page .elementor-section { position: relative; z-index: 1; }
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4 {
  font-family: var(--ff-head);
}
.elementor-section.elementor-section-full_width { width: 100%; }

/* Remove top padding when Elementor Canvas is used */
.elementor-page #ar-main { padding-top: 0; }

/* ── FOOTER ───────────────────────────────────── */
.ar-footer {
  background: var(--ar-darker);
  border-top: 1px solid var(--ar-border);
  padding: 80px 0 36px;
}
.ar-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--ar-border);
}
.ar-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 14px;
}
.ar-footer__brand span {
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ar-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ar-footer__tagline {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.22);
  margin-bottom: 16px;
}
.ar-footer__desc {
  font-size: 13px;
  color: rgba(245,245,245,0.35);
  line-height: 1.7;
  max-width: 270px;
}
.ar-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.ar-footer__social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ar-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,245,245,0.36);
  text-decoration: none;
  transition: all 0.2s;
}
.ar-footer__social-link:hover {
  border-color: var(--ar-gold);
  color: var(--ar-gold);
}
.ar-footer__col-title {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ar-gold);
  margin-bottom: 20px;
}
.ar-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ar-footer__links a, .ar-footer__links li {
  font-size: 13.5px;
  color: rgba(245,245,245,0.42);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.ar-footer__links a:hover { color: var(--ar-gold); }
.ar-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 20px;
  flex-wrap: wrap;
}
.ar-footer__bottom p {
  font-size: 12px;
  color: rgba(245,245,245,0.18);
  letter-spacing: 0.04em;
}
.ar-footer__legal {
  display: flex;
  gap: 24px;
}
.ar-footer__legal a {
  font-size: 12px;
  color: rgba(245,245,245,0.18);
  text-decoration: none;
  transition: color 0.2s;
}
.ar-footer__legal a:hover { color: rgba(245,245,245,0.5); }

/* ── BLOG / POST CARDS ────────────────────────── */
.ar-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.ar-post-card {
  border: 1px solid var(--ar-border);
  background: rgba(212,175,55,0.02);
  transition: background 0.3s;
  overflow: hidden;
}
.ar-post-card:hover { background: rgba(212,175,55,0.05); }
.ar-post-card__thumb img { width: 100%; height: 220px; object-fit: cover; filter: saturate(0.4); }
.ar-post-card__body { padding: 32px; }
.ar-post-card__title {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 14px;
  line-height: 1.2;
}
.ar-post-card__title a { text-decoration: none; color: var(--ar-white); transition: color 0.2s; }
.ar-post-card__title a:hover { color: var(--ar-gold); }
.ar-post-card__excerpt { font-size: 14px; color: rgba(245,245,245,0.45); line-height: 1.7; margin-bottom: 24px; }

/* ── SINGLE POST ──────────────────────────────── */
.ar-single-post { color: var(--ar-white); }
.ar-single-post__header { margin-bottom: 48px; }
.ar-single-post__thumb { margin: 32px 0; }
.ar-single-post__thumb img { width: 100%; max-height: 520px; object-fit: cover; filter: saturate(0.5) brightness(0.7); }
.ar-single-post__content {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(245,245,245,0.72);
  max-width: 720px;
}
.ar-single-post__content h2, .ar-single-post__content h3 {
  font-family: var(--ff-head);
  color: var(--ar-white);
  margin: 48px 0 20px;
}
.ar-single-post__content p { margin-bottom: 24px; }
.ar-single-post__content a { color: var(--ar-gold); }

/* ── 404 ──────────────────────────────────────── */
/* (inline styles used in 404.php) */

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .ar-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .ar-nav, .ar-header__cta { display: none; }
  .ar-mobile-toggle { display: flex; }
  .ar-header__inner { padding: 18px 24px; }
}
@media (max-width: 600px) {
  .ar-footer__grid { grid-template-columns: 1fr; }
  .ar-footer__bottom { flex-direction: column; align-items: flex-start; }
  .ar-mobile-menu { padding: 20px 24px 28px; }
}

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ar-black); }
::-webkit-scrollbar-thumb { background: var(--ar-gold); opacity: 0.5; }
::-webkit-scrollbar-thumb:hover { background: var(--ar-gold-lt); }

/* ── SELECTION ────────────────────────────────── */
::selection { background: var(--ar-gold); color: var(--ar-black); }
