/* Hero section that covers full viewport */
.hero-section {
    background: linear-gradient(45deg, #C62828 0%, #D32F2F 15%, #E53935 30%, #FF5722 50%, #FF7043 65%, #FF8A65 80%, #FF9800 95%, #FFC107 100%);
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    padding-top: 120px !important;
    /* Account for fixed navbar */
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.6;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    max-width: 500px;
    font-weight: 400;
}

.btn-register,
.btn-login {
    background-color: white;
    color: #C62828;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    margin-right: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    margin: 2rem 0;
}

.btn-register:hover,
.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #C62828;
    background-color: #f8f9fa;
}

.mara-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(1.1);
}

/* Star Decorations */
.star {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.1);
    transform: rotate(35deg);
}

.star::before {
    content: '';
    position: absolute;
    left: -50px;
    top: -70px;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-70deg);
}

.star1 {
    top: 20%;
    right: 10%;
    transform: scale(1.5) rotate(15deg);
}

.star2 {
    top: 50%;
    right: 25%;
    transform: scale(2) rotate(45deg);
}

.star3 {
    bottom: 10%;
    right: 15%;
    transform: scale(1.2) rotate(-15deg);
}

/* Geometric Triangles */
.triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.3;
}

.triangle1 {
    top: 15%;
    right: 5%;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #F05A28;
    transform: rotate(25deg);
}

.triangle2 {
    bottom: 20%;
    right: 10%;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #FDB813;
    transform: rotate(-30deg);
}

.triangle3 {
    top: 40%;
    right: 30%;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid #E61E28;
    transform: rotate(60deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .btn-register,
    .btn-login {
        display: block;
        width: 100%;
        margin: 0.8rem 0;
        text-align: center;
        padding: 16px 30px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .mara-logo {
        max-width: 140px;
    }
    
    /* Hide decorative elements on mobile for better performance */
    .triangle1, .triangle2, .triangle3 {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* Animation for content entrance */
.hero-content>* {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.4s;
}

.hero-description {
    animation-delay: 0.6s;
}

.mara-logo {
    animation-delay: 0.8s;
}

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

/* Updated background pattern to complement the new gradient */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    z-index: 1;
}