/* ===========================
   Index Styles
   =========================== */


/* ===========================
   Banner
   =========================== */
.banner-container {
    position: relative;
}

.banner {
    width: 100%;
    height: 800px;
    display: block;
    object-fit: cover;  /* fills area by cropping */
    object-position: center; /* crop evenly top/bottom */
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* adjust as desired */
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
}

.banner-message {
    max-width: 100%; 
    color: white;
    font-family: 'OPTIBenjieModern', serif;
    font-size: 3.5rem;
    pointer-events: none; /* optional: so it's not clickable */
    white-space: nowrap;
    font-weight: 300;
}

.banner-button {
    background-color: transparent;
    color: white;
    font-family: 'OPTIBenjieModern', serif;
    font-size: 1.2rem;
    padding: calc(2rem - 1px) 1rem;
    border: 1px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.banner-button:hover {
    border-width: 2px;
    background-color: transparent;
    color: white;
    padding: calc(2rem - 2px) 1rem;
}

/* ===========================
   Mobile - Tablet
   =========================== */
@media (max-width: 1150px) {
    .banner {
        height: 1000px; /* let it adjust naturally */
        object-fit: cover;  /* fills area by cropping */
        object-position: center; /* crop evenly top/bottom */
        /*object-fit: contain; /* or 'cover' with different position */
        /*object-position: center top; /* show more top part */
    }

    .banner-message {
        top: 30%;
        max-width: 100%; 
        white-space: normal;           /* stay on one line if possible */
        overflow-wrap: normal;         /* don’t force breaks early */
        word-break: normal;            /* let words flow naturally */
        text-align: center;
        letter-spacing: 0.02em;        /* slight stretch without looking odd */
        font-size: 3.5rem;              /* keep your original size */
        width: 100%;
        height: auto;
        display: block;
    }
}

/* ===========================
   Mobile - Mobile
   =========================== */
@media (max-width: 768px) {
    .banner {
        height: auto; /* let it adjust naturally */
        object-fit: contain; /* or 'cover' with different position */
        object-position: center top; /* show more top part */
    }
}