/* ===== COMPONENTS CSS ===== */
/* Common Components and Reusable Elements */

/* Navigation Styles */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #ff9933;
    font-size: 1.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 3px;
    margin-left: 37px;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #ff9933;
    transform: scale(1.05);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-buttons a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0.6rem 1.8rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    min-width: 120px;
    transition: all 0.3s ease;
    gap: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-buttons a span {
    z-index: 1;
    position: relative;
}

.nav-buttons a i {
    z-index: 1;
    position: relative;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.nav-buttons a:hover i {
    transform: translateX(3px);
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-login:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-signup {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-signup:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ff9933;
    margin: 3px 0;
    transition: 0.3s;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff9933, #ff6b35);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 153, 51, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
} 