/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 55px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-flex {
    display: grid;
    grid-template-columns: 1fr 400px; /* left text | right social column */
    gap: 11rem;                        /* <-- distance between hero text and social grid */
    align-items: start;  /* align to top of the right column like reference, change to center for center aligned */ 
}

.hero-text {
    min-width: 0; /* allows text to shrink nicely in grid */
}

.hero-social {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* two cards per row, like reference */
    gap: 1rem;
    max-width: 500px;      /* match reference max width */
    justify-self: start;   /* keep grid aligned to the left column edge */
    margin-bottom: 3rem;   /* space below, like the reference .social-buttons */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.line1 {
    color: #f8f9fa;
    font-weight: 300;
}

.line2 {
    color: #d4af37;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #c7c8ca;
    margin-bottom: 2rem;
    max-width: 500px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.cta-section {
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .hero-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;   /* centers the right column content when stacked */
        text-align: center;      /* optional: center text like the reference tablet layout */
    }
    .hero-social {
        grid-template-columns: 1fr;   /* one card per row on tablet/mobile */
        max-width: 500px;             /* like the reference */
        margin: 0 auto 3rem;          /* center the grid and keep bottom space */
        justify-self: center;         /* center the grid in the single column */
    }
    .hero-text {
        text-align: center;           /* optional: looks closer to reference on tablet */
    }
}

/* Responsive adjustments for index page */
@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
    }

    .hero-text, .hero-social {
        flex: 1 1 100%;
    }

    .hero-social {
        grid-template-columns: 1fr;
    }

    .hero-container {
        padding: 0 1rem;
    }
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stagger each letter */
.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.4s; }
.letter:nth-child(4) { animation-delay: 0.6s; }
