/*
Theme Name: Kadima Investments
Theme URI: https://kadimaaz.com
Author: Kadima Investments AZ LLC
Description: Premium Arizona Real Estate Investment landing page theme
Version: 1.0.0
License: Proprietary
Tags: landing-page, real-estate, business
*/

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  --background: #F8F5F0;
  --foreground: #0F172A;
  --card: #FFFFFF;
  --primary: #0F172A;
  --primary-foreground: #FFFFFF;
  --secondary: #1E293B;
  --muted: #D6CFC4;
  --muted-foreground: #6B7280;
  --accent: #D4AF37;
  --accent-foreground: #0F172A;
  --border: #E5DDD5;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-serif {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================
   LUXURY CARD
   ============================================ */
.luxury-card {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.luxury-card:hover {
  box-shadow: 0 12px 48px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes glow-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
  50%       { box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0); }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out both;
}

/* ============================================
   SECTION ACCENT MARKER
   ============================================ */
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-marker .accent-bar {
  display: block;
  width: 4px;
  height: 1.5rem;
  background-color: var(--accent);
  border-radius: 9999px;
  flex-shrink: 0;
}

.section-marker span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   BUTTON
   ============================================ */
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: 0.875rem 2.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: background-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: none;
  line-height: 1.5;
}

.btn-primary:hover {
  background-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  color: var(--primary);
}

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: #000000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

#site-header .header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
}

#site-header .site-logo img {
  height: 4rem;
  width: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#hero .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--primary));
  opacity: 0.95;
  z-index: 0;
}

#hero .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#hero .hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  opacity: 0.4;
}

/* Gold accent lines */
#hero .hero-line-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  z-index: 10;
}

#hero .hero-line-bottom {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 16rem;
  height: 4px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0.5;
  z-index: 10;
}

#hero .hero-content {
  position: relative;
  z-index: 20;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
}

#hero .hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#hero .hero-est {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#hero .hero-est .bar {
  width: 4px;
  height: 2rem;
  background-color: var(--accent);
  border-radius: 9999px;
}

#hero .hero-est span {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
}

#hero .hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 30rem;
}

#hero .hero-right {
  display: none;
}

#hero .hero-right-img {
  position: relative;
  width: 100%;
  max-width: 36rem;
  height: 24rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

#hero .hero-right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero .hero-right-img .hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

/* Scroll indicator */
#hero .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

#hero .scroll-indicator span {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
}

#hero .scroll-indicator svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */
#highlights {
  width: 100%;
  padding: 6rem 0;
  background-color: var(--background);
}

#highlights .highlights-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#highlights .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

#highlights h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

#highlights .section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

#highlights .highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.highlight-card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.highlight-card:hover .card-accent-line {
  width: 100%;
}

.highlight-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background-color: rgba(212, 175, 55, 0.1);
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.highlight-card:hover .icon-wrap {
  background-color: rgba(212, 175, 55, 0.2);
}

.highlight-card .icon-wrap svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.highlight-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.card-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background-color: var(--accent);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  width: 100%;
  padding: 6rem 0;
  background-color: #FFFFFF;
}

#about .about-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

#about .about-image-wrap {
  position: relative;
  height: 24rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.2);
}

#about .about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#about .about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(212,175,55,0.05), transparent);
}

#about .about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#about h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

#about .about-lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

#about .about-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-point {
  display: flex;
  gap: 1rem;
}

.about-point .dot {
  flex-shrink: 0;
  margin-top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--accent);
}

.about-point h4 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.about-point p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

#about .about-quote {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* ============================================
   INVESTMENTS SECTION
   ============================================ */
#investments {
  width: 100%;
  padding: 6rem 0;
  background-color: var(--background);
}

#investments .investments-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#investments .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

#investments h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

#investments .section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

#investments .investments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.investment-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.investment-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.investment-card .card-line {
  width: 3rem;
  height: 4px;
  background-color: var(--accent);
  border-radius: 9999px;
  margin-bottom: 1rem;
  transition: width 0.3s ease;
}

.investment-card:hover .card-line {
  width: 4rem;
}

.investment-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.investment-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.9375rem;
}

#investments .investments-footer {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

#investments .investments-footer p {
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
  width: 100%;
  padding: 6rem 0;
  background-color: #FFFFFF;
}

#contact .contact-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#contact .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

#contact h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

#contact .section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(15,23,42,0.05), rgba(30,41,59,0.05));
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.contact-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: rgba(212, 175, 55, 0.1);
  margin-bottom: 1rem;
}

.contact-card .icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  transition: color 0.2s;
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--accent);
}

#contact .contact-cta {
  text-align: center;
}

#contact .contact-note {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  width: 100%;
  background-color: var(--primary);
  color: #FFFFFF;
}

#site-footer .footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

#site-footer .footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#site-footer .footer-brand h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

#site-footer .footer-brand .tagline {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

#site-footer .footer-brand p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 28rem;
}

#site-footer .footer-legal h4 {
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

#site-footer .footer-legal ul li {
  margin-bottom: 0.5rem;
}

#site-footer .footer-legal ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

#site-footer .footer-legal ul li a:hover {
  color: var(--accent);
}

#site-footer .footer-bottom {
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

#site-footer .footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

#site-footer .footer-bottom .accent-deco {
  width: 3rem;
  height: 4px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 9999px;
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  #highlights .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #investments .investments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #contact .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  #site-footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .px-6 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  #hero .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 3rem;
  }

  #hero .hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
  }

  #highlights .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  #about .about-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 3rem;
  }

  #about .about-image-wrap {
    height: 32rem;
  }

  #investments .investments-inner {
    padding: 0 3rem;
  }

  #contact .contact-inner {
    padding: 0 3rem;
  }

  #site-footer .footer-inner {
    padding: 4rem 3rem;
  }
}

/* ============================================
   WORDPRESS ADMIN BAR OFFSET
   ============================================ */
.admin-bar #site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }
}
