/*
Theme Name: Aurestate
Theme URI: https://aurestate.com
Author: Aurestate
Author URI: https://aurestate.com
Description: A premium 3D real estate digital marketing landing page theme for Aurestate.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: aurestate
*/

:root {
  --bg: #050505;
  --bg-soft: #090908;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.11);
  --line-gold: rgba(212, 175, 55, 0.28);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.52);
  --faint: rgba(255, 255, 255, 0.3);
  --gold: #d4af37;
  --gold-2: #e8cc6b;
  --gold-3: #8f6f16;
  --radius: 18px;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.elementor-main {
  min-height: 100vh;
  background: var(--bg);
}

.elementor-main .elementor-section,
.elementor-main .e-con {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 0 32px;
  color: white;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 46px;
}

.logo-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(75%) sepia(69%) saturate(443%) hue-rotate(2deg) brightness(92%) contrast(92%) drop-shadow(0 0 18px rgba(212, 175, 55, 0.18));
}

.brand span,
h1 strong,
h2 strong,
.section-heading h2 strong,
.hero-stats strong,
.metric strong,
.floating-note strong {
  color: transparent;
  background: linear-gradient(120deg, var(--gold), #fff0a4 48%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-panel a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, color 240ms ease;
}

.nav-cta {
  padding: 0 22px;
  color: #050505;
  background: linear-gradient(110deg, var(--gold), var(--gold-2));
  font-size: 0.86rem;
}

.nav-cta:hover,
.button-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.26);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: white;
  border-radius: 99px;
}

.mobile-panel {
  position: fixed;
  z-index: 99;
  inset: 80px 16px auto;
  display: none;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(22px);
}

.mobile-panel.open {
  display: grid;
  gap: 18px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 128px 24px 70px;
}

.hero-bg,
.hero-vignette,
.hero-3d {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.82)),
    url("https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1920") center / cover;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-vignette {
  z-index: 2;
  background:
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.1) 32%, rgba(0, 0, 0, 0.72) 78%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 38%, rgba(0, 0, 0, 0.62));
}

.hero-3d {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  text-align: center;
}

.eyebrow,
.section-kicker,
.section-label,
.section-heading > span,
.cta-card > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 10px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.075);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: 6.4rem;
  line-height: 1.04;
}

h1 strong {
  display: inline-block;
}

.hero-copy {
  max-width: 680px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.22rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-width: 210px;
  padding: 0 30px;
  min-height: 56px;
}

.button-gold {
  color: #080806;
  background: linear-gradient(110deg, var(--gold), var(--gold-2));
}

.button-ghost {
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover {
  color: var(--gold);
  border-color: var(--line-gold);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin: 72px auto 0;
}

.hero-stats article,
.service-card,
.metric,
.case-card,
.timeline article,
.cta-card,
.floating-note {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card h3,
.tilt-card .icon,
.tilt-card strong,
.tilt-card span,
.tilt-card p {
  transform: translateZ(18px);
}

.hero-stats article {
  padding: 24px;
  border-radius: var(--radius);
  animation: floatCard 7s ease-in-out infinite;
}

.hero-stats article:nth-child(2) {
  animation-delay: 1.2s;
}

.hero-stats article:nth-child(3) {
  animation-delay: 2.4s;
}

.hero-stats strong {
  display: block;
  min-height: 48px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.75rem;
  line-height: 1;
}

.hero-stats span,
.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-strip {
  position: relative;
  padding: 80px 0 54px;
  background: var(--bg);
  overflow: hidden;
}

.section-kicker {
  margin: 0 auto 34px;
  text-align: center;
  color: rgba(255, 255, 255, 0.32);
}

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 14%;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee span {
  display: grid;
  place-items: center;
  min-width: 190px;
  min-height: 56px;
  margin: 0 16px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section,
.split-section,
.process-section,
.cta-section {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 98px 0;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.cta-card h2 {
  margin-top: 14px;
  font-size: 4.2rem;
  line-height: 1.08;
}

.section-heading p,
.split-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  transition: border-color 260ms ease, transform 260ms ease, background 260ms ease;
}

.service-card:hover,
.case-card:hover {
  border-color: var(--line-gold);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.105), rgba(255, 255, 255, 0.035));
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
  font-size: 1.2rem;
}

.service-card h3,
.timeline h3,
.case-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.service-card p,
.timeline p,
.case-card p,
.feature-list span,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--muted);
  line-height: 1.75;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  align-items: center;
  gap: 70px;
  padding: 102px 0;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.feature-list div {
  padding-left: 20px;
  border-left: 2px solid var(--line-gold);
}

.feature-list strong,
.site-footer h4 {
  display: block;
  margin-bottom: 5px;
}

.image-stack,
.about-images {
  position: relative;
  min-height: 580px;
}

.image-stack img,
.about-images img {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.image-stack img:first-child {
  width: 74%;
  height: 520px;
  right: 0;
  top: 0;
}

.image-stack img:nth-child(2) {
  width: 48%;
  height: 330px;
  left: 0;
  bottom: 0;
}

.floating-note {
  position: absolute;
  left: 30px;
  bottom: 38px;
  width: 180px;
  padding: 18px;
  border-radius: 16px;
}

.floating-note strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
}

.floating-note span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.results {
  position: relative;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
}

.metric strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.case-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.case-card div {
  padding: 26px;
}

.case-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.process-section {
  padding: 98px 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  position: relative;
  min-height: 275px;
  padding: 28px;
  border-radius: var(--radius);
}

.timeline article::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -16px;
  width: 16px;
  height: 1px;
  background: var(--line-gold);
}

.timeline article:last-child::after {
  display: none;
}

.timeline span {
  display: block;
  margin-bottom: 34px;
  color: rgba(212, 175, 55, 0.42);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.about {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.about-images {
  min-height: 520px;
}

.about-images img:first-child {
  width: 48%;
  height: 410px;
  left: 5%;
  top: 0;
}

.about-images img:nth-child(2) {
  width: 48%;
  height: 410px;
  right: 5%;
  top: 68px;
}

.about-images .floating-note {
  left: 0;
  bottom: 26px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill-row span {
  padding: 10px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: rgba(232, 204, 107, 0.88);
  background: rgba(212, 175, 55, 0.045);
  font-size: 0.85rem;
}

.cta-section {
  padding: 90px 0 120px;
}

.cta-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 74px);
  border-color: var(--line-gold);
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 54%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-card p {
  max-width: 670px;
  margin: 22px auto 30px;
}

.site-footer {
  padding: 66px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  background: #030303;
}

.footer-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(150px, 1fr));
  gap: 42px;
}

.footer-brand {
  display: inline-block;
  width: 150px;
  height: 54px;
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 430px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer h4 {
  margin: 0 0 18px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  width: min(100%, var(--max));
  margin: 42px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(212, 175, 55, 0.17);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom span {
  margin: 0;
  color: rgba(255, 255, 255, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 22px;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-stats,
  .service-grid,
  .results-grid,
  .case-grid,
  .timeline,
  .split-section,
  .about,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .about {
    gap: 44px;
  }

  .image-stack,
  .about-images {
    min-height: 510px;
  }

  .timeline article::after {
    display: none;
  }

  h1 {
    font-size: 4.4rem;
  }

  .section-heading h2,
  .split-copy h2,
  .cta-card h2 {
    font-size: 3.2rem;
  }

  .metric strong {
    font-size: 3.2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 118px 18px 54px;
  }

  h1 {
    font-size: 2.85rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-stats strong {
    font-size: 2.25rem;
  }

  .section-heading h2,
  .split-copy h2,
  .cta-card h2 {
    font-size: 2.35rem;
  }

  .metric strong {
    font-size: 2.6rem;
  }

  .section,
  .split-section,
  .process-section,
  .cta-section {
    width: min(100% - 32px, var(--max));
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats {
    margin-top: 48px;
  }

  .service-card,
  .timeline article {
    min-height: auto;
  }

  .image-stack,
  .about-images {
    min-height: 420px;
  }

  .image-stack img:first-child {
    width: 82%;
    height: 350px;
  }

  .image-stack img:nth-child(2) {
    width: 58%;
    height: 230px;
  }

  .about-images img:first-child,
  .about-images img:nth-child(2) {
    height: 330px;
  }

  .floating-note {
    left: 14px;
    bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
