/* ═══════════════════════════════════════════════════════════════════════════
   TJ Angels - Home Page Styles
   Specific styles for index.html
   ═══════════════════════════════════════════════════════════════════════════ */

/* Override text-muted for home page */
:root {
  --color-text-muted: rgba(255, 255, 255, 0.549);
}

/* ═══════════════════════════════════════════════════════════════
   Home Page Layout
   ═══════════════════════════════════════════════════════════════ */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

/* Content Panel */
.site-main {
  display: flex;
  align-items: flex-end;
  width: auto;
  max-width: 520px;
  background: var(--color-surface);
  backdrop-filter: blur(30px);
  border-right: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  z-index: 2;
}

.site-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.site-main .inner {
  position: relative;
  padding: var(--space-3xl);
  z-index: 1;
}

/* Hero Background Section (visible on desktop as right side) */
.hero-bg {
  flex: 1;
  position: relative;
  background: url('../images/bg.jpg') center center / cover no-repeat;
  min-height: calc(100vh - var(--nav-height));
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* Mobile Hero Image (hidden on desktop) */
.mobile-hero {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   Home Page Typography
   ═══════════════════════════════════════════════════════════════ */
.hero-title {
  font-family: var(--font-display);
  font-size: 2.75em;
  font-weight: 200;
  line-height: 1.25;
  letter-spacing: 0.175rem;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero-text {
  color: var(--color-text-muted);
  font-size: 1em;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.075rem;
  margin-bottom: var(--space-lg);
  text-align: justify;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-text + .hero-text {
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Home Page Footer (fixed position)
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  border-top: none;
  z-index: 3;
}

/* ═══════════════════════════════════════════════════════════════
   Home Page Responsive Design
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .site-wrapper {
    flex-direction: column;
  }

  /* Hide the desktop hero background */
  .hero-bg {
    display: none;
  }

  /* Show mobile hero image */
  .mobile-hero {
    display: block;
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    background: url('../images/bg.jpg') center center / cover no-repeat;
    position: relative;
  }

  .mobile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(67, 127, 171, 0.1) 0%,
      rgba(67, 127, 171, 0.2) 90%,
      rgba(45, 90, 122, 0.6) 100%
    );
  }

  .site-main {
    max-width: 100%;
    border-right: none;
    order: 2;
    background: linear-gradient(
      180deg,
      rgba(45, 90, 122, 0.95) 0%,
      rgba(67, 127, 171, 0.9) 100%
    );
  }

  .site-main .inner {
    max-width: 600px;
    margin: 0 auto;
  }

  .site-footer {
    position: relative;
    background: rgba(45, 90, 122, 0.95);
  }
}

@media (max-width: 736px) {
  .mobile-hero {
    height: 40vh;
    min-height: 250px;
  }

  .site-main .inner {
    padding: var(--space-xl);
  }

  .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .mobile-hero {
    height: 35vh;
    min-height: 220px;
  }

  .site-main .inner {
    padding: var(--space-lg);
  }

  .cta-button {
    width: 100%;
    padding: 0 var(--space-lg);
  }
}

/* ═══════════════════════════════════════════════════════════════
   Home Page Print Styles
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .site-wrapper {
    display: block;
  }

  .site-main {
    max-width: 100%;
    border: none;
  }

  .site-footer {
    position: static;
  }
}
