/* ============================================
   HOME.CSS — Homepage-Specific Styles
   ============================================
   
   Styles that ONLY apply to the homepage.
   ============================================ */


/* ----- HERO SECTION ----- */

.hero {
  min-height: 100vh;
  background: url('../../images/homepage img.png') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.67);
  pointer-events: none;
  z-index: 0;
}

.hero-line {
  width: 50px;
  height: 1px;
  background-color: var(--color-gold);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.3s forwards;
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.4s forwards;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: var(--weight-medium);
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.5px;
  max-width: 750px;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.55s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-sub {
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.4);
  max-width: 460px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.85s forwards;
}

.hero-btn-primary {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  background-color: var(--color-gold);
  padding: 16px 38px;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hero-btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.2);
}

.hero-btn-secondary {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background-color: transparent;
  padding: 16px 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hero-btn-secondary:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeIn 0.7s ease 1.2s forwards;
}

.scroll-text {
  font-size: 0.625rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(201, 169, 110, 0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.3); }
}


/* ----- STATS BAR ----- */

.stats-bar {
  background-color: var(--color-off-white);
}

.stat-featured {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-lg);
  position: relative;
}

.stat-featured::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #C9A96E, #D4BC8E);
  margin: var(--space-md) auto 0;
}

.stat-number-featured {
  font-size: calc(var(--text-3xl) * 1.2);
  background: linear-gradient(135deg, #C9A96E, #D4BC8E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.35));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: 0 0 var(--space-2xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-xs);
  position: relative;
}

.stat-number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credentials-strip {
  padding: var(--space-2xl) 0;
  background-color: var(--color-navy);
  overflow: hidden;
}

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

.credentials-marquee::before,
.credentials-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.credentials-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-navy), transparent);
}

.credentials-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-navy), transparent);
}

.credentials-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: credentials-scroll 48s linear infinite;
}

@keyframes credentials-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  background-color: transparent;
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 10px 24px;
  border-radius: 50px;
  flex-shrink: 0;
}

.credential-star {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-sub {
    font-size: var(--text-sm);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}


/* ----- AWARD BADGES MARQUEE ----- */

.marquee-section {
  background-color: var(--color-white);
  min-height: 140px;
  padding: var(--space-2xl) 0;
}

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

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-badge {
  height: 90px;
  width: auto;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(-25%);
  }
}


/* ----- LUXURY PORTFOLIO SECTION ----- */

.luxury-section {
  background-color: var(--color-white);
}

.luxury-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.luxury-header h2 {
  margin-bottom: var(--space-md);
}

.luxury-subtitle {
  font-size: var(--text-base);
  color: var(--color-mid-gray);
  max-width: 550px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-light);
}

/* Featured Property (Georgetown) */
.featured-property {
  margin-bottom: var(--space-3xl);
  border-radius: var(--border-radius);
  overflow: visible;
}

.featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: visible;
  background-color: #000;
  border-radius: var(--border-radius);
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: linear-gradient(135deg, #0a0a12 0%, #141428 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
  cursor: pointer;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.play-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.play-button:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: var(--color-gold);
}

.play-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}

.video-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.featured-card {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: 20px 36px;
  background-color: var(--color-navy);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  z-index: 10;
  white-space: nowrap;
}

.featured-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  background-color: var(--color-gold);
  padding: 4px 12px;
  border-radius: 1px;
}

.featured-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
}

.featured-location {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.featured-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
}

/* Slide-in from left animation */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50%) translateX(-80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(-50%);
}

/* Gold shimmer animation */
.gold-shimmer {
  font-weight: var(--weight-bold) !important;
  background: linear-gradient(
    90deg,
    var(--color-gold) 0%,
    var(--color-gold) 40%,
    #f0dca8 50%,
    var(--color-gold) 60%,
    var(--color-gold) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Property Marquee */
.property-marquee {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-xl);
}

.property-marquee::before,
.property-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.property-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}

.property-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}

.property-marquee-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: property-scroll 40s linear infinite;
}

@keyframes property-scroll {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Property Cards */
.property-card {
  flex-shrink: 0;
  width: 380px;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--color-navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.property-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a5c, #0d2240);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Property Info */
.property-info {
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--color-navy);
  text-align: center;
}

.property-status {
  font-size: 0.625rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  background-color: var(--color-gold);
  padding: 4px 12px;
  border-radius: 1px;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.property-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.property-location {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-md);
}

.property-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  color: var(--color-gold);
}

/* Luxury section responsive */
@media (max-width: 768px) {
  .featured-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex-wrap: wrap;
    white-space: normal;
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-sm) var(--space-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: none;
    text-align: center;
  }

  .slide-in-left {
    transform: translateX(-80px);
  }

  .slide-in-left.is-visible {
    transform: none;
  }

  .featured-media {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }

  .featured-property {
    margin-bottom: var(--space-xl);
  }

  .featured-price {
    font-size: var(--text-3xl);
  }

  .property-card {
    width: 300px;
  }
}


/* ----- INTRO SECTION ----- */

.intro-section {
  text-align: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  background-color: var(--color-navy);
}

.intro-section .section-label {
  color: var(--color-gold);
}

.intro-section h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.intro-section p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-md);
}


/* ----- MEET THE BROTHERS SECTION ----- */

.brothers-section {
  background-color: var(--color-white);
}

.brothers-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.brothers-header h2 {
  margin-bottom: var(--space-md);
}

.brothers-subtitle {
  font-size: var(--text-base);
  color: var(--color-mid-gray);
  font-weight: var(--weight-light);
  line-height: var(--leading-relaxed);
  max-width: 500px;
  margin: 0 auto;
}

.stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  max-width: 1100px;
  margin: 0 auto;
}

.stagger-card {
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
}

.stagger-card.is-visible {
  animation: staggerUp 0.7s ease forwards;
}

.stagger-card:nth-child(2).is-visible {
  animation-delay: 0.2s;
}

.stagger-card:nth-child(3).is-visible {
  animation-delay: 0.4s;
}

.stagger-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #1a3a5c, #0d2240);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: var(--space-xl);
  position: relative;
}

.stagger-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 29, 51, 0.25), transparent);
  pointer-events: none;
}

.stagger-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stagger-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  opacity: 0;
  transform: translateY(15px);
}

.stagger-card.is-visible .stagger-name {
  animation: staggerSlideUp 0.5s ease 0.3s forwards;
}

.stagger-card:nth-child(2).is-visible .stagger-name {
  animation-delay: 0.5s;
}

.stagger-card:nth-child(3).is-visible .stagger-name {
  animation-delay: 0.7s;
}

.stagger-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0;
  transform: translateY(10px);
}

.stagger-card.is-visible .stagger-title {
  animation: staggerSlideUp 0.5s ease 0.45s forwards;
}

.stagger-card:nth-child(2).is-visible .stagger-title {
  animation-delay: 0.65s;
}

.stagger-card:nth-child(3).is-visible .stagger-title {
  animation-delay: 0.85s;
}

.stagger-cta {
  text-align: center;
  margin-top: var(--space-4xl);
  opacity: 0;
}

.stagger-cta.is-visible {
  animation: staggerFadeIn 0.6s ease 1s forwards;
}

.stagger-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  padding: 16px 36px;
  border: 1px solid rgba(11, 29, 58, 0.15);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.stagger-cta a:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.stagger-cta a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

@keyframes staggerUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes staggerSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes staggerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .stagger-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    max-width: 350px;
  }
}
