/* ============================================
   FALCON POINTE APARTMENTS — Stylesheet
   Coastal · Elevated · Riverside
   ============================================ */

/* === CSS Variables === */
:root {
  --color-primary:       #003DA5; /* UCR Blue */
  --color-primary-light: #1A57C0;
  --color-secondary:     #F1AB00; /* UCR Gold */
  --color-secondary-dark: #C98E00;
  --color-accent:        #FFF0C2; /* Light Gold tint */
  --charcoal:            #0A1E3D;
  --white:               #FFFFFF;
  --off-white:           #F8FAFF;
  --color-surface-dim:   #F0F4FB;
  --muted:               #5A6E85;
  --muted-2:             #8FA3BB;

  --font-display: 'Inter', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;

  --shadow-card: 0 4px 24px rgba(0,61,165,0.07), 0 1px 4px rgba(0,61,165,0.04);
  --shadow-card-hover: 0 12px 40px rgba(0,61,165,0.14), 0 2px 8px rgba(0,61,165,0.08);
  --shadow-primary: 0 8px 32px rgba(0,61,165,0.30);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --spacing-section: 120px;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === Layout Utilities === */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--spacing-section) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.font-h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.font-h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.font-h3 { font-size: 1.8rem; }

.label-caps {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
  display: inline-block;
  margin-bottom: 16px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,42,58,0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--white);
  transform: translateY(-3px);
}

/* === Navbar === */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.nav-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.04em;
}

.nav-logo span {
  color: var(--color-secondary);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.8;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,42,58,0.8), rgba(26,42,58,0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 900px;
}

.hero-content p {
  font-size: 1.25rem;
  margin: 24px 0 40px;
  opacity: 0.9;
  max-width: 600px;
}

/* === Feature Cards === */
#feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

.feature-card {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.feature-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s ease;
}

.feature-card:hover .feature-card-img {
  transform: scale(1.1);
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(26,42,58,0.9));
}

.feature-card-content {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  color: var(--white);
}

/* === About Section === */
.neighborhood-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.collage-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.collage-item:first-child {
  grid-column: span 2;
  height: 320px;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Residences === */
.floor-plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.floor-plan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card-hover);
}

.floor-plan-img-wrap {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.floor-plan-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floor-plan-body {
  padding: 40px;
}

.fp-features {
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.fp-features-heading {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.fp-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.fp-features > ul > li {
  color: var(--text);
  font-weight: 500;
}

.fp-features > ul > li > ul {
  margin-top: 6px;
  padding-left: 16px;
  gap: 4px;
}

.fp-features > ul > li > ul > li {
  color: var(--muted);
  font-weight: 400;
  position: relative;
  padding-left: 14px;
}

.fp-features > ul > li > ul > li::before {
  content: '■';
  position: absolute;
  left: 0;
  font-size: 0.45rem;
  top: 4px;
  color: var(--color-secondary);
}

/* === Skeleton === */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 42, 58, 0.98);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* === Reveal Animations === */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}

/* === Location Section === */
#location {
  padding: 100px 32px;
  background: var(--off-white);
}

.fp-location-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.fp-location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 480px;
}

.fp-location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.fp-location-content h2 em {
  font-style: normal;
  color: var(--color-secondary);
}

.fp-location-copy {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.fp-location-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-location-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.fp-location-highlight:hover {
  transform: translateX(4px);
}

.fp-location-highlight i {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.fp-location-highlight-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.fp-location-highlight-text span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* === Contact Section === */
#contact {
  background: var(--color-primary);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fp-contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.fp-contact-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
  display: block;
}

.fp-contact-h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 800;
}

.fp-contact-h2 em {
  font-style: normal;
  color: var(--color-secondary);
}

.fp-contact-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.fp-contact-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  margin-bottom: 32px;
}

.fp-contact-phone-link:hover { color: var(--color-secondary); }
.fp-contact-phone-link i { color: var(--color-secondary); font-size: 0.75em; }

.fp-contact-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.fp-contact-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 40px;
  max-width: 400px;
}

.fp-office-hours {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.fp-office-hours-item { text-align: center; }

.fp-office-hours-day {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.fp-office-hours-time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

@media (max-width: 768px) {
  .fp-location-inner {
    grid-template-columns: 1fr;
  }
  .fp-location-map { height: 300px; }
  .fp-office-hours { gap: 32px; }
}
