﻿.hero-section {
    height: 93vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #232323;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(45deg, transparent 49%, #e5e7eb 49%, #e5e7eb 51%, transparent 51%),
            linear-gradient(-45deg, transparent 49%, #e5e7eb 49%, #e5e7eb 51%, transparent 51%);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%);
    pointer-events: none; /* allow clicks through the background */
}

.hero-logo-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem;
    background-color: var(--color-secondary);
}

.hero-logo {
    opacity: 0;
}

.hero-rotating-text {
    animation: rotating 40s linear infinite;
    font-family: 'Teko', serif;
    opacity: 0;
    width: 520px;
    height: 520px;
}

.title,
.songham-title {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.12em;
}
.feature-hero {
    position: relative;
    padding: 2.8rem 2.4rem;
    border: 1px solid rgb(155, 155, 155);
    background:  var(--color-secondary);;
    color: var(--color-primary);
    overflow: hidden;
    text-align: left;

    transition:
            border-color 0.4s ease,
            background 0.4s ease;
    margin-bottom: 2rem;
}

.feature-hero-bg {
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    from { background-position: 0 0; }
    to   { background-position: 80px 80px; }
}


/* Diagonal grid + radial mask (hero DNA) */
.feature-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(45deg, transparent 49%, #1f2933 49%, #1f2933 51%, transparent 51%),
            linear-gradient(-45deg, transparent 49%, #1f2933 49%, #1f2933 51%, transparent 51%);
    background-size: 48px 48px;
    opacity: 0.25;
    
    mask-image: radial-gradient(
            ellipse 80% 60% at 30% 20%,
            #000 40%,
            transparent 75%
    );

    pointer-events: none;
}

/* Feature index */
.feature-hero-index {
    position: relative;
    font-family: 'Teko', sans-serif;
    font-size: 3.2rem;
    letter-spacing: 0.15em;
    opacity: 0.45;
    margin-bottom: 0.6rem;
}

/* Title */
.feature-hero-title {
    position: relative;
    font-family: 'Teko', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

/* Body text */
.feature-hero-text {
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #939393;
    max-width: 32ch;
}

.feature-hero .button-primary-outline {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}


.info-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 40px 20px;
}


.info-content {
    max-width: 900px;
    text-align: center;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.feature {
    background:
            linear-gradient(
                    180deg,
                    rgba(255,255,255,0.06),
                    rgba(255,255,255,0.02)
            );
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(2px);
}


.feature span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.feature h3 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.4;
}


.feature:hover {
    background: rgba(255,255,255,0.12);
}


.songham-white {
    position: relative;
    padding: 120px 20px 140px;
    background: #ffffff;
    color: #020617;
    overflow: hidden;
}

.songham-white-bg {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(45deg, transparent 49%, #e5e7eb 49%, #e5e7eb 51%, transparent 51%),
            linear-gradient(-45deg, transparent 49%, #e5e7eb 49%, #e5e7eb 51%, transparent 51%);
    background-size: 80px 80px;
    opacity: 0.35;
    
    mask-image: radial-gradient(circle at center, #000 40%, transparent 80%);

    pointer-events: none;
}

/* Header */
.songham-header {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.songham-title {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
}

.songham-subtitle {
    font-size: 1rem;
    color: #475569;
}

/* Path container */
.songham-path {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Belt tracks */
.belt-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Horizontal belts only */
.belt-track img {
    width: clamp(90px, 10vw, 120px);
    filter:
            drop-shadow(0 8px 16px rgba(0,0,0,0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover = focus, not play */
.belt-track img:hover {
    transform: scale(1.06);
    filter:
            drop-shadow(0 0 24px rgba(0,0,0,0.45));
}

/* Divider */
.songham-divider {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.songham-star-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.songham-star {
    width: 240px;
    margin: 30px auto;
    filter:
            drop-shadow(0 0 25px rgba(80, 80, 80, 0.45));
}

/* Label */
.divider-label {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 768px) {

    .hero-logo-container {
        padding: 3rem;
    }

    .hero-rotating-text {
        animation: rotating 40s linear infinite;
        font-family: 'Teko', serif;
        opacity: 0;
        width: 300px;
        height: 300px;
    }

    .feature-hero-text {
        position: relative;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #939393;
        max-width: 32ch;
        margin-bottom: 2rem;
    }


}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}