header {
    background-image: linear-gradient(to bottom, rgba(255,192,106,255), rgba(114,77,65,255)), 
                      url('../images/tropical-resort.jpg'); /* Use a vibrant tropical image */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 20px; /* Increased padding for grandeur */
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Enhanced shadow for depth */
    font-family: 'Great Vibes', cursive; /* Exotic and elegant font */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Dramatic text shadow */
    border-bottom: 6px solid #FFD700; /* Bold, luxurious golden border */
    animation: header-fade-in 2s ease-in-out; /* Smooth entrance animation */
    position: relative;
    overflow: hidden; /* Ensures animations stay within bounds */
    display: flex; /* Enable Flexbox */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    height: 5vh;
}

/* Fancy animation for the header background */
@keyframes header-fade-in {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add tropical moving wave effect */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200px;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: wave 6s infinite linear;
}

/* Wave animation */
@keyframes wave {
    from {
        transform: translateX(0) rotate(45deg);
    }
    to {
        transform: translateX(-50%) rotate(45deg);
    }
}

/* Subheading for extra flair */
header h1 {
    font-size: 6.5rem; /* Larger, dramatic text */
    margin: 0;
    padding: 0;
    line-height: 1.2;
    letter-spacing: 3px; /* Add some spacing for elegance */
}

header h2 {
    font-size: 1.8rem;
    font-family: 'Dancing Script', cursive;
    margin: 10px 0 0;
}

/* Glow effect on hover */
header:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
    transition: all 0.5s ease-in-out;
}

/* ---- RESPONSIVENESS ---- */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 40px 15px;
        height: 5vh;
    }
    
    header h1 {
        font-size: 4.5rem;
        letter-spacing: 2px;
    }
    
    header h2 {
        font-size: 1.5rem;
    }

    /* Wave effect minder intens op tablets */
    header::after {
        height: 150px;
        opacity: 0.5;
    }
}

/* Mobiele telefoons (max-width: 600px) */
@media (max-width: 600px) {
    header {
        padding: 30px 10px;
        height: 5vh;
    }

    header h1 {
        font-size: 3rem; /* Kleinere titel voor mobiel */
        letter-spacing: 1px;
    }

    header h2 {
        font-size: 1.2rem;
    }

    /* Wave effect subtieler op mobiele apparaten */
    header::after {
        height: 100px;
        opacity: 0.3;
    }

    /* Hover-effect uitschakelen op mobiel om ongewenste schaalvergroting te voorkomen */
    header:hover {
        filter: none;
        transform: none;
    }
}
@media (max-height: 380px) {
    header {
        padding: 20px 15px;
    }
    header h1 {
        font-size: 2rem;
    }
}