/* styles specific to home page */
.hero-section {
    position: relative;
    height: calc(100vh - 80px);
    /* Fill screen minus header */
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.8)), url('../images/home-hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 60%;
    padding-right: var(--spacing-xl);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image-container {
    position: absolute;
    right: 5%;
    top: 10%;
    width: 45%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

/* Add a glowing neon circle behind the hero image */
.hero-image-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--clr-accent-main) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.text-shining {
    background: linear-gradient(to right, #fff 20%, var(--clr-accent-main) 50%, #fff 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.about-preview {
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)), url('../images/contact-banner.jpg');
    background-size: cover;
    background-position: center;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.features-list {
    margin: var(--spacing-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list i {
    margin-top: 4px;
}

.glow-box {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(200, 90, 23, 0.2) 0%, rgba(10, 10, 10, 1) 100%);
    border: 1px solid rgba(200, 90, 23, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .hero-subtitle {
        margin: 0 auto var(--spacing-xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        display: none;
        /* Hide hero image on smaller screens or place it under text */
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: var(--spacing-lg);
        max-width: 400px;
        margin-inline: auto;
    }
}