/*BANNER*/
/* Header Banner */
.header {
    position: relative;
    text-align: center;
}

.banner {
    background-image: url('../images/KrentzBanner.jpg');
    background-size: contain;
    background-position: center;
    height: auto;
    min-height: 340px;
    width: 100%;
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto; /* Prevent extra spacing */
}

/*Mobile screens(Phones small tablets)*/
@media (max-width: 768px) {
    .banner {
        background-size: contain;
        background-position: center top;
        height: auto;
        min-height: 115px;
    }
}

@media (min-width: 769px) and (max-width: 1366px) {
    .banner {
        background-size: contain; /* Prevents cropping */
        background-position: center center;
        height: 50vh;
        min-height: 300px;
        max-height: 450px;
        width: 100vw;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .banner {
        background-size: cover; /* Prevents stretching */
        background-position: center center;
        height: 45vh;
        min-height: 320px;
        max-height: 500px;
        width: 100vw;
    }
}


/* Very Wide Screens (Ultra-Wide Monitors) */
@media (min-aspect-ratio: 21/9) {
    .banner {
        background-size: cover;
        height: 50vh;
        max-height: 500px;
        width: 100vw;
    }
}

/*ASIDE*/

.right-content {
    width: 30%;
    padding: 24px;
    background: linear-gradient(to bottom, #a65a49, #8a4d3b);
    border-radius: 12px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-family: "Arial", sans-serif;
    text-align: left;
}

.right-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 4px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
}

.location p{
    font-size: 1rem;
    margin: 6px 0 0;
    margin-bottom: 12px;
    color: #fcebd5;
    padding-bottom: 2rem;
    text-align: center;
}

.contact p {
    margin: 6px 0 0;
    font-size: 1rem;
    color: #fcebd5;
    text-align: center;
}

.contact a {
    text-decoration: none;
    font-weight: bold;
    display: inline;
    color: #ffd6c0;
    transition: color 0.3s ease, transform 0.2s ease;
    text-align: center;
}


.contact a:hover {
    color: #fff;
    transform: scale(1.05);
    
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        /* Stack everything */
        align-items: center;
        /* Center content */
    }

    .right-content {
        width: 75%;
        /* Make it wider for mobile */
        margin-top: 20px;
        /* Add spacing above */
        align-self: center;
        /* Center it */
        text-align: center;
        /* Center text for better mobile layout */
    }

    .consultation-list li {
        text-align: left;
        /* Keep list items aligned */
    }
}

.left-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 65%;
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        text-align: center;
    }

    .navbar li {
        margin-bottom: 10px;
    }

    main {
        padding: 10px;
    }

    .banner {
        height: 120px;
    }
}
