/* Global Reset & Overflow Control */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;      /* Prevent horizontal and vertical scroll */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-size: cover;  /* Ensure background image covers entire viewport */
    background-position: center;
}

/* Navbar & Auth Buttons (Mobile) */
.navbar {
    position: fixed;           /* Fixed for easy access */
    top: 10px;                 /* Slightly reduced for mobile */
    right: 10px;
    z-index: 10;
    display: flex;
}
.auth-button {
    margin-left: 5px;
    padding: 8px 16px;         /* Reduced padding for mobile screens */
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;         /* Slightly smaller font */
}
.auth-button:hover {
    background-color: #ff4c4c;
}

/* Landing section */
.landing {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* Background image is dynamically set via JS */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.115);
}

/* Content container */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);  /* Semi-transparent background for a sleek look */
    padding: 40px 20px;             /* Optimized padding for mobile */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #fff;
    width: 90%;                   /* Use a wider percentage for mobile responsiveness */
}

/* Headings & Paragraphs */
.content h1 {
    font-size: 2rem;             /* A bit smaller for mobile */
    margin-bottom: 15px;
}
.content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Form Elements - Select & Button */
#city-select {
    font-size: 1rem;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    outline: none;
}
#go-button {
    font-size: 1rem;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    background-color: #ff6b6b;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#go-button:hover {
    background-color: #ff4c4c;
}

/* Media Query for Larger Screens (Desktop and Tablets) */
@media (min-width: 768px) {
    .navbar {
        top: 20px;
        right: 20px;
    }
    .auth-button {
        margin-left: 10px;
        padding: 10px 20px;
        font-size: 1rem;
    }
    .content {
        padding: 60px 50px;
        width: 80%;
        max-width: 900px;
    }
    .content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    .content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    #city-select, #go-button {
        font-size: 1rem;
        padding: 10px 15px;
    }
}
