/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.teaser-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    flex-wrap: wrap;
    position: relative;
    background-color: #000;
    color: #fff;
    overflow: hidden; /* Hide anything outside of the container */
}

.teaser-content {
    max-width: 500px;
    padding: 20px;
    z-index: 1; /* Ensure content stays above the image */
}

.teaser-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.teaser-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.explore-btn {
    text-decoration: none;
    color: #fff;
    background-color: #ff6f61;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background-color: #e05c53;
}

.teaser-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teaser-image img {
    object-fit: contain;  /* Prevent image from covering and cropping */
    max-width: 100%;
    max-height: 100%;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .teaser-container {
        flex-direction: column;
        justify-content: flex-start;
    }

    .teaser-content {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .teaser-content h1 {
        font-size: 2rem;
    }

    .teaser-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .teaser-content h1 {
        font-size: 1.8rem;
    }

    .teaser-content p {
        font-size: 1rem;
    }

    .explore-btn {
        padding: 10px 25px;
    }
}
