/* Banner Container */
.banner {
    position: relative;
    width: 100vw;
    min-height: min-content; /* İçerik kadar yükseklik */
    margin: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 120px 0;
    box-sizing: border-box;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Layer */
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/starsbackground.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* Gradient Layer */
.banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(220, 20, 60, 0.4),
        rgba(48, 25, 52, 0.65)
    );
    z-index: 2;
}

/* Nebula Layer */
.nebula-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nebula-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Extra Overlay for better readability */
.banner-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(128, 0, 128, 0.2) 0%,
        rgba(64, 0, 64, 0.4) 50%,
        rgba(48, 25, 52, 0.6) 100%
    );
    z-index: 4;
}

/* Banner Content */
.banner-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
}

/* Typography Styles */
.banner-title {
    font-size: var(--hero-large-size);
    line-height: var(--hero-large-line-height);
    font-weight: var(--font-medium);
    margin-bottom: 24px;
    color: #ffffff;
}

.banner-subtitle {
    font-size: var(--title-large-size);
    line-height: var(--title-large-line-height);
    font-weight: var(--font-medium);
    margin-bottom: 32px;
    color: #ffffff;
}

.banner-description {
    font-size: var(--body-large-size);
    line-height: var(--body-large-line-height);
    margin-bottom: 24px;
    color: #ffffff;
}

.banner-cta-text {
    font-size: var(--label-large-size);
    line-height: var(--label-large-line-height);
    font-weight: var(--font-medium);
    margin-bottom: 40px;
    color: #ffffff;
}

/* Action Button */
.action-button {
    padding: 16px 40px;
    background-color: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-size: var(--label-large-size);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.action-button:hover {
    background-color: #218838;
    color: #ffffff;
}

/* Scroll Icon */
.scroll-icon {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: #ffffff;
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .banner {
        min-height: 100vh;
        height: auto;
        padding: 120px 0 80px;
    }

    .banner-title {
        font-size: calc(var(--hero-large-size) * 0.8);
        line-height: 1.2;
    }

    .action-button {
        padding: 12px 32px;
    }
}