/* Turais Component Styles — Global Navigation & Footer */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 31, 31, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex !important;
    gap: 1.2rem;
    list-style: none !important;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    list-style: none !important;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent) !important;
}

/* Dropdown Support */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #001f1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 220px;
    padding: 15px 0;
    margin: 0;
    list-style: none !important;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.nav-links li:hover .dropdown-menu,
.nav-links li.dropdown-active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
    text-align: left;
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 25px;
    font-size: 11px !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    display: block;
    white-space: nowrap;
    text-transform: uppercase;
}

.dropdown-menu a:hover {
    background: rgba(0, 255, 128, 0.1) !important;
    color: #fff !important;
}

.menu-label {
    padding: 10px 25px 5px;
    font-size: 10px !important;
    color: var(--accent) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    opacity: 0.8;
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 8px 15px;
}

.nav-btn {
    background: var(--accent) !important;
    color: #000 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    margin-left: 0.5rem;
    text-decoration: none !important;
}

.nav-btn:hover {
    background: #00e673 !important;
    transform: translateY(-2px);
    color: #000 !important;
}


.nav-toggle {
    display: none;
}

/* Mobile Nav */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Animate to X when active */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.25rem;
        padding: 1rem;
    }

    /* Mobile Dropdown Overrides */
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0.5rem 0;
        border-radius: 8px;
        z-index: 1;
    }

    .dropdown-menu a {
        font-size: 0.9rem !important;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
}

/* Footer Section */
.footer {
    background: #000;
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.footer-contact {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-contact a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Page Spacing for Sticky Nav */
.portal-container {
    padding-top: 80px !important;
}

.hero-section {
    padding-top: 120px !important;
}

/* New Pages / Contact Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-form textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Cookie Compliance Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(0, 31, 31, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    bottom: 30px;
}

.cookie-content p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #000;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
        width: 95%;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
    }
}