* {
    padding: 0;
    margin: 0;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.hero-background {
    background-image: url(/assets/images/hero-bg.jpeg);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.733);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-section h1 {
    font-size: 4rem;
    color: hsl(22.8, 29.3%, 19.4%);
    font-weight: 800;
}
.hero-section h2 {
    font-size: 3.8rem;
    color: hsl(15 65% 55%);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-section p {
    font-size: 1.5rem;
    color: #4e4e4ecc;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}

.hero-section p:not(.subtitle) {
    font-size: 1rem;
}

.newsletter{
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter form input[type="email"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
    width: 250px;
}

.newsletter form input[type="email"]:focus {
    outline: none;
    border-color: hsl(22.8, 29.3%, 19.4%);
}

.newsletter form button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: hsl(22.8, 29.3%, 19.4%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter form button:hover {
    background-color: hsl(22.8, 29.3%, 15%);
}

.error {
    color: rgba(209, 99, 99, 0.74)!important;
    font-weight: bold!important;
    font-size: 2rem!important;
}

/* Tablet screens (768px to 1024px) */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section h2 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
        max-width: 500px;
    }

    .newsletter form input[type="email"] {
        width: 200px;
    }

    .error {
        font-size: 1.5rem!important;
    }
}

/* Mobile screens (up to 767px) */
@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-section h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-section p {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 15px;
    }

    .hero-section p:not(.subtitle) {
        font-size: 0.9rem;
    }

    .newsletter {
        display: flex;
        gap: 8px;
        flex-direction: column;
        width: 90%;
        max-width: 400px;
    }

    .newsletter form {
        display: flex;
        gap: 8px;
        flex-direction: column;
    }

    .newsletter form input[type="email"] {
        padding: 12px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .newsletter form button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
    }

    .error {
        font-size: 1.2rem!important;
    }
}

/* Extra small screens (up to 480px) */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 0.9rem;
        max-width: 95%;
    }

    .error {
        font-size: 1rem!important;
    }
}