 .navbar .nav-link {
    position: relative;
    color: #ffffff;
    margin: 0 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar-toggler {
    border-color: rgba(134, 134, 134, 0.136);
}
.navbar .nav-link:hover {
    color: #959595;
}

.auth-link {
    font-weight: 600;
}
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #8d8d8d;
    transition: width 0.3s ease;
}
.navbar .nav-link:hover::after {
    width: 100%;
}
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;      
        left: auto;        
        width: 50%;
        height: 100vh;
        background: #6868685e;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 1050;
    }

    .navbar-collapse.show {
        right: 0;          
    }
@media (max-width: 991px) {
    .navbar-collapse {
        display: flex;
        flex-direction: column;
    }
    
    /* Top menu */
    .navbar-collapse .navbar-nav.mx-auto {
        margin-top: 0;
        }
    
        /* Push login/register to bottom */
     .navbar-collapse .navbar-nav.ms-auto {
        margin-top: auto;
        margin-bottom: 20px;
            }
        }
 /* --- Desktop Styling (Base) --- */
.search-overlay-rect {
    background: white;
    padding: 30px;
    box-shadow: 10px 10px 0px rgba(0,0,0,1); /* Your brutalist style */
    border: 2px solid black;
    width: 450px; /* Fixed width for big screens */
    max-width: 90% !important; /* Safety net */
    position: absolute; /* Assuming it sits over your video */
    top: 50%;
    left: 10%; /* Or wherever you positioned it */
    transform: translateY(-50%);
}

/* --- Mobile Styling (Responsive) --- */
@media (max-width: 768px) {
    .search-overlay-rect {
        position: relative; /* Stop floating over video on mobile */
        top: 0;
        left: 0;
        transform: none;
        width: 100% !important; /* Take full width of container */
        margin: 20px auto;     /* Add some space around it */
        padding: 20px;         /* Smaller padding on mobile */
        box-shadow: 5px 5px 0px rgba(0,0,0,1); /* Smaller shadow so it fits */
    }

    /* Stack the check-in/check-out columns if they get too cramped */
    .search-overlay-rect .col-6 {
        width: 100%;
        margin-bottom: 10px;
    }
}   
}
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px; /* This prevents the "disappearing" act */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Updated Content Overlay */
.hero-content-overlay {
    position: relative; /* Changed from absolute to play nice with flexbox */
    z-index: 5;
    margin-left: 8%;
    max-width: 600px;
}

/* THE ONLY MOBILE MEDIA QUERY YOU NEED FOR THE HERO */
@media (max-width: 991px) {
    .hero-video-container {
        height: auto;
        min-height: 100vh;
        padding-top: 100px; /* Space for navbar */
        padding-bottom: 50px;
        justify-content: center;
    }

    .hero-content-overlay {
        margin-left: 0;
        text-align: center;
        width: 90%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .search-overlay-rect {
        width: 100%;
        margin-top: 20px;
    }
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Container to hold text and form together */
.hero-content-overlay {
    position: absolute;
    top: 55%;
    left: 8%; /* Aligns everything to the left */
    transform: translateY(-50%);
    z-index: 5;
    max-width: 600px; /* Limits width for better readability */
    text-align: left;
}

/* Text Styles */
.hero-subtitle {
    display: inline-block;
    background: rgba(0, 0, 0, 0.4); /* Dim background */
    color: #fff;
    padding: 5px 15px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.hero-title {
    color: #ffffff;
    font-size: 3.5rem; /* Big text */
    font-weight: 800; /* Bold */
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-description {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Rectangle Form Styles */
.search-overlay-rect {
    width: 800px; 
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 0px; /* Sharp corners for rectangle */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.rect-input {
    border-radius: 0px !important; /* Sharp corners for inputs */
    border: 1px solid #ddd;
}

.rect-btn {
    border-radius: 0px !important; /* Sharp corners for button */
    font-weight: bold;
    text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        padding: 100px 20px 40px 20px;
        max-width: 100%;
    }
    .hero-title { font-size: 2.2rem; }
    .search-overlay-rect { width: 100%; }
}

/* Desktop: video stays behind navbar */
@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        z-index: 10;
    }
}

/* Mobile: navbar above, video below */
@media (max-width: 991px) {
    .navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent so you can see video */
    }
}
/* ================= DESKTOP: NAVBAR OVER VIDEO ================= */
@media (min-width: 992px) {
    .navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
}
.signup-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', sans-serif;
}

.signup-form fieldset {
    border: none;
    padding: 0;
}

.signup-form legend {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.signup-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.signup-form label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.signup-form input[type="text"],
.signup-form input[type="password"],
.signup-form input[type="email"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.signup-form input[type="text"]:focus,
.signup-form input[type="password"]:focus,
.signup-form input[type="email"]:focus {
    border-color: #0d6efd;
    outline: none;
}

.signup-form .btn-submit {
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-form .btn-submit:hover {
    background-color: #0956c1;
}

@media (max-width: 480px) {
    .signup-form {
        margin: 30px 20px;
        padding: 20px;
    }
}
footer {
    border-top: 4px solid #424242; 
}
footer a:hover {
    color: #fff !important;
    transition: 0.3s;
}
.grayscale {
    filter: grayscale(100%);
}
.grayscale:hover {
    filter: grayscale(0%);
    transition: 0.5s;
}
