/* Reset and base font */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Navbar styling */
header {
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(136, 136, 136, 0.75)), url('background.jpg');
    background-size: cover;
    background-position: center;
    
}

.navbar{
    width: 85%;
    height: 25vh;
    margin: auto;
    padding: 25px 0; /* increased padding for bigger header */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    cursor: pointer;
    height: 150px; /* larger logo */
}

.navbar ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.navbar ul li{
    margin: 0 20px;
    position: relative;
}

.navbar ul li a{
    text-decoration: none;
    font-size: 1.3rem;
    color: white;
    text-transform: uppercase;
    transition: color 0.3s;
}

.navbar ul li a:hover{
    color: #009688;
}

.navbar ul li::after{
    content: '';
    height: 3px;
    width: 0;
    background: #009688;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.5s;
}

.navbar ul li:hover::after{
    width: 100%;
}

/* Optional Banner */
.banner {
    width: 100%;
    min-height: 80vh; /* large banner, almost full screen */
    padding: 60px 20px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center; /* vertically center text */
    justify-content: center;
}

/* Banner text styling */
.banner-text h1{
    font-size: 3rem;
}

/* Responsive for smaller screens */
@media (max-width: 1024px){
    .navbar {
        height: 20vh; /* slightly smaller header on tablets */
        padding: 20px 0;
    }
    .logo {
        height: 120px; /* smaller logo */
    }
    .navbar ul li a {
        font-size: 1.1rem; /* slightly smaller text */
    }
}

@media (max-width: 768px){
    .navbar {
        flex-direction: column;
        height: auto; /* auto height for mobile */
        padding: 15px 0;
    }
    .logo {
        height: 70px; /* much smaller logo for mobile */
        margin-bottom: 10px;
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .navbar ul li {
        margin: 8px 0;
    }
    .navbar ul li a {
        font-size: 1rem; /* smaller menu text */
    }
}

