/* Prevent scrolling */
body, html {
    overflow: hidden;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Video container */
.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Centered video */
.centered-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
}

/* Blue overlay */
.blue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000C4F;
    opacity: 0.4;
    z-index: 2;
}

/* Search overlay */
.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Search content */
.search-content {
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
    padding: 20px;
}

/* Main title */
.main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Search form */
.search-form {
    margin-bottom: 2rem;
}

/* Search box */
.search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: stretch;
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #000C4F;
}

/* Search inputs */
.search-input {
    flex: 1;
    min-width: 200px;
    padding: 18px 20px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    outline: none;
    background: white;
    border-right: 1px solid #e9ecef;
}

.search-input:last-of-type {
    border-right: none;
}

.search-input:focus {
    background: #f8f9fa;
    box-shadow: inset 0 0 5px rgba(0, 12, 79, 0.1);
}

/* Search button */
.search-button {
    padding: 18px 35px;
    background-color: #000C4F !important;
    color: white;
    border: none;
    border-radius: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-button:hover {
    background-color: #B61272 !important;
}

/* Welcome text */
.welcome-text {
    font-size: 1.2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    text-decoration: underline;
    text-decoration-color: #B61272;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

.welcome-text strong {
    color: #B61272 !important;
}

.highlight-number {
    color: #B61272 !important;
    font-weight: bold;
}

/* Header transparent */
.navbar {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    color: white !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: none !important;
    cursor: pointer !important;
}

.navbar-brand:hover {
    color: white !important;
    text-decoration: none !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #B61272 !important;
}

.navbar-nav .nav-link {
    margin: 0 25px !important;
    padding: 8px 15px !important;
}

.navbar-nav .dropdown {
    margin: 0 10px !important;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    background: transparent !important;
    font-weight: 600;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-outline-light:hover {
    background-color: #B61272 !important;
    border-color: #B61272 !important;
    color: white !important;
}

.btn-light {
    background-color: white !important;
    border: 2px solid white !important;
    color: #000C4F !important;
    font-weight: 600;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-light:hover {
    background-color: #B61272 !important;
    border-color: #B61272 !important;
    color: white !important;
}

.dropdown-menu {
    background: white !important;
    border: 2px solid #000C4F !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    margin-top: 8px !important;
}

.dropdown-item {
    color: #333 !important;
    font-weight: 600;
    padding: 10px 20px !important;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 0 !important;
}

.dropdown-item:hover {
    background-color: #000C4F !important;
    color: white !important;
}

/* Footer */
.footer-bar {
    background-color: #000C4F !important;
    z-index: 10;
}

.footer-links a {
    color: white !important;
    text-decoration: none;
}

.footer-links a:hover {
    color: #B61272 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: 8px;
    }

    .search-input {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        border-radius: 0;
    }

    .search-input:last-of-type {
        border-bottom: none;
    }

    .search-button {
        width: 100%;
        border-radius: 0;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
        border-top-right-radius: 0;
    }

    /* Mobile menu overlay */
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        height: 100vh !important;
        background: rgba(0, 12, 79, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        z-index: 9999 !important;
        transition: left 0.3s ease !important;
        padding: 80px 30px 30px 30px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .navbar-collapse.show {
        left: 0 !important;
    }

    /* Close button */
    .mobile-close-btn {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        color: white !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        cursor: pointer !important;
        z-index: 10000 !important;
    }

    .mobile-close-btn:hover {
        background: rgba(182, 18, 114, 0.8) !important;
        border-color: #B61272 !important;
    }

    .navbar-collapse .navbar-nav {
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        flex-direction: column !important;
    }

    .navbar-collapse .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .navbar-collapse .btn {
        margin: 10px 0 !important;
        width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
    }

    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .navbar-collapse .dropdown-item {
        color: white !important;
        padding: 12px 20px !important;
    }

    /* Mobile overlay backdrop */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        right: -20%;
        width: 20%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}
