/**
 * @file header.css
 * @description Modern Header Styles - Minimal & Elegant Design
 * @author Erdinç Taze
 * @copyright 2024
 */

/* ============================================
   DESIGN SYSTEM VARIABLES (FROM HOME.CSS)
   ============================================ */
:root {
    --primary-green: #28a745;
    --primary-green-dark: #218838;
    --primary-green-light: #34ce57;
    --accent-green: #20c997;
    --accent-green-dark: #1ba085;
    --light-green: #d4edda;
    --very-light-green: #f8fffe;
    --success-green: #155724;
    --gradient-green: linear-gradient(135deg, #28a745, #20c997);
    --gradient-green-light: linear-gradient(135deg, #d4edda, #f8fffe);
}

/* ============================================
   MODERN HEADER STYLES
   ============================================ */

.modern-header {
    position: relative;
    z-index: 1000;
}

.modern-header .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 2px 15px rgba(40, 167, 69, 0.05);
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-header .navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 0;
    box-shadow: 0 4px 25px rgba(40, 167, 69, 0.12);
    border-bottom: 1px solid var(--light-green);
}

/* ============================================
   LOGO STYLES
   ============================================ */

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.header-logo {
    height: 52px;
    width: auto;
    transition: height 0.3s ease;
}

.modern-header .navbar.scrolled .header-logo {
    height: 44px;
}

/* ============================================
   DESKTOP NAVIGATION - SUBTLE HOVER EFFECTS
   ============================================ */

.navbar-nav-desktop .navbar-nav {
    gap: 0.3rem;
}

.navbar-nav-desktop .nav-link {
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    background: transparent;
    border: none;
    letter-spacing: 0.3px;
}

.navbar-nav-desktop .nav-link:hover {
    color: var(--primary-green);
    background: rgba(40, 167, 69, 0.03);
    transform: translateY(-1px);
}

.navbar-nav-desktop .nav-link:focus,
.navbar-nav-desktop .nav-link:active,
.navbar-nav-desktop .nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* ============================================
   HEADER ACTIONS (USER BUTTONS) - MODERN DESIGN
   ============================================ */

.header-actions {
    gap: 0.8rem;
    align-items: center;
}

.header-actions .btn {
    border-radius: 12px;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 14px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Ensure text is always visible above effects */
.header-actions .btn * {
    position: relative;
    z-index: 4;
}

/* Remove all focus states and borders */
.header-actions .btn:focus,
.header-actions .btn:active,
.header-actions .btn:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove dropdown arrow and all its animations */
.header-actions .btn.dropdown-toggle::after,
.auth-dropdown .dropdown-toggle::after,
.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* Remove any transform animations on dropdown buttons */
.auth-dropdown .dropdown-toggle,
.header-actions .btn.dropdown-toggle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.auth-dropdown .dropdown-toggle:focus,
.auth-dropdown .dropdown-toggle:active,
.auth-dropdown .dropdown-toggle[aria-expanded="true"] {
    transform: none !important;
}

.header-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.header-actions .btn:hover::before {
    left: 100%;
}

/* Gradient Wave Effect for Auth Buttons */
.auth-dropdown .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 60%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    z-index: 2;
    opacity: 0;
}

.auth-dropdown .btn:hover::after {
    left: 100%;
    opacity: 1;
    animation: gradientWave 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced wave animation */
@keyframes gradientWave {
    0% {
        left: -100%;
        opacity: 0;
        transform: skewX(-15deg);
    }
    10% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
        transform: skewX(0deg);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: skewX(15deg);
    }
}

/* Specific gradient waves for different button types */
.btn-outline-primary::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(52, 152, 219, 0.1) 20%,
        rgba(52, 152, 219, 0.3) 40%,
        rgba(116, 185, 255, 0.4) 50%,
        rgba(52, 152, 219, 0.3) 60%,
        rgba(52, 152, 219, 0.1) 80%,
        transparent 100%
    ) !important;
}

.btn-outline-secondary::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(108, 117, 125, 0.1) 20%,
        rgba(108, 117, 125, 0.3) 40%,
        rgba(141, 149, 156, 0.4) 50%,
        rgba(108, 117, 125, 0.3) 60%,
        rgba(108, 117, 125, 0.1) 80%,
        transparent 100%
    ) !important;
}

.header-actions .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.btn-success {
    background: var(--gradient-green);
    color: #ffffff;
    font-weight: 600;
}

.btn-success:hover {
    background: linear-gradient(135deg, #34ce57, #1ba085);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.3) !important;
}

/* Modern Auth Buttons with Gradient Wave */
.btn-outline-primary {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(52, 152, 219, 0.04));
    color: #3498db;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 1;
}

.btn-outline-primary:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.3) !important;
}

.btn-outline-primary:hover::before {
    opacity: 1;
}

/* Text stays above background */
.btn-outline-primary span,
.btn-outline-primary .btn-text {
    position: relative;
    z-index: 3;
}

.btn-outline-secondary {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.08), rgba(108, 117, 125, 0.04));
    color: #6c757d;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6c757d, #5a6268);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 1;
}

.btn-outline-secondary:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(108, 117, 125, 0.3) !important;
}

.btn-outline-secondary:hover::before {
    opacity: 1;
}

/* Text stays above background */
.btn-outline-secondary span,
.btn-outline-secondary .btn-text {
    position: relative;
    z-index: 3;
}

.btn-outline-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0.04));
    color: #dc3545;
    position: relative;
    backdrop-filter: blur(10px);
}

.btn-outline-danger::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #dc3545, #c82333);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: -1;
}

.btn-outline-danger:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.3) !important;
}

.btn-outline-danger:hover::after {
    opacity: 1;
}

/* ============================================
   USER DROPDOWN - MINIMAL STYLE
   ============================================ */

.user-dropdown .btn-user {
    background: var(--very-light-green);
    border: 1px solid var(--light-green);
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 500;
}

.user-dropdown .btn-user:hover {
    background: var(--light-green);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.user-name {
    font-weight: 500;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.user-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.15);
    border-radius: 16px;
    padding: 0.8rem 0;
    margin-top: 0.8rem;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.user-dropdown .dropdown-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    margin: 0 0.5rem;
    border-radius: 10px;
}

.user-dropdown .dropdown-item:hover {
    background: var(--gradient-green-light);
    color: var(--primary-green);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

/* ============================================
   AUTH DROPDOWN - COMPACT & MODERN (HOVER ACTIVATED)
   ============================================ */

.auth-dropdown {
    position: relative;
}

.auth-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.6rem;
    margin-top: 0.5rem;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show dropdown on hover */
.auth-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background: rgba(248, 249, 250, 0.3);
}

.auth-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.auth-dropdown .dropdown-item:hover::before {
    left: 100%;
}

.auth-dropdown .dropdown-item:hover {
    background: var(--gradient-green-light);
    border-color: rgba(40, 167, 69, 0.2);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.12);
    color: var(--primary-green);
}

.auth-dropdown .dropdown-item:last-child {
    margin-bottom: 0;
}

/* Dropdown Icon Styles */
.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.auth-dropdown .dropdown-item:hover .dropdown-icon,
.user-dropdown .dropdown-item:hover .dropdown-icon {
    transform: scale(1.1) rotate(3deg);
    opacity: 1;
}

.auth-dropdown .dropdown-item .fw-bold {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0px;
}

.auth-dropdown .dropdown-item small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.1;
}

.auth-dropdown .dropdown-item div {
    flex: 1;
}

/* ============================================
   MOBILE MENU TOGGLE - MINIMAL
   ============================================ */

/* Modern Elegant Hamburger Menu */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-menu-toggle:hover::before {
    left: 100%;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.hamburger-line {
    width: 24px;
    height: 1.5px;
    background: #2c3e50;
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    position: relative;
}

/* Active state with smooth X transformation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary-green);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--primary-green);
}

/* ============================================
   MOBILE MENU OVERLAY - MINIMAL STYLE
   ============================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 4px 0 25px rgba(40, 167, 69, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    border-right: 2px solid var(--light-green);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    left: 0;
}

/* ============================================
   MOBILE MENU HEADER - MINIMAL STYLE
   ============================================ */

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem;
    border-bottom: 1px solid var(--light-green);
    background: var(--gradient-green-light);
}

.mobile-logo {
    height: 42px;
    width: auto;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--light-green);
    color: #2c3e50;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
    transform: rotate(90deg);
}

.mobile-menu-close svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   MOBILE USER INFO - MINIMAL STYLE
   ============================================ */

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem;
    background: var(--gradient-green-light);
    margin: 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--light-green);
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.1);
}

.mobile-user-details h6 {
    margin: 0;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
}

.mobile-user-details small {
    color: var(--primary-green);
    font-weight: 400;
    font-size: 12px;
}

/* ============================================
   MOBILE MENU CONTENT LAYOUT
   ============================================ */

.mobile-menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   MOBILE NAVIGATION - SUBTLE HOVER EFFECTS
   ============================================ */

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.3rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.2px;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(40, 167, 69, 0.03);
    border-left-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateX(3px);
}

/* Remove tap highlight and focus effects */
.mobile-nav-link:focus,
.mobile-nav-link:active,
.mobile-nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.mobile-nav-link span {
    font-weight: 500;
    flex: 1;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--light-green);
    margin: 0.4rem 1.3rem;
    border-radius: 1px;
}

/* ============================================
   MOBILE SUBMENU - MINIMAL STYLE
   ============================================ */

.mobile-nav-item.has-submenu .submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.mobile-nav-item.has-submenu.active .submenu-arrow {
    transform: rotate(90deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(40, 167, 69, 0.03);
    border-left: 3px solid var(--light-green);
    transition: all 0.3s ease;
}

.mobile-nav-item.has-submenu.active .mobile-submenu {
    max-height: 180px;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2.2rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.mobile-submenu-link:hover {
    background: var(--light-green);
    border-left-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateX(3px);
}

/* Remove tap highlight and focus effects for submenu */
.mobile-submenu-link:focus,
.mobile-submenu-link:active,
.mobile-submenu-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* ============================================
   MOBILE SOCIAL ICONS SECTION
   ============================================ */

.mobile-social-section {
    margin-top: auto;
    padding: 1.5rem 1.3rem;
    border-top: 1px solid var(--light-green);
    background: var(--gradient-green-light);
}

.mobile-social-header {
    margin-bottom: 1rem;
}

.mobile-social-header h6 {
    margin: 0;
    color: var(--success-green);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.25);
    border-color: var(--primary-green);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Specific social media colors on hover */
.social-icon:nth-child(1):hover::before {
    background: linear-gradient(135deg, #3b5998, #4267B2); /* Facebook */
}

.social-icon:nth-child(2):hover::before {
    background: linear-gradient(135deg, #1da1f2, #0d95e8); /* Twitter */
}

.social-icon:nth-child(3):hover::before {
    background: linear-gradient(135deg, #0077b5, #005885); /* LinkedIn */
}

.social-icon:nth-child(4):hover::before {
    background: linear-gradient(135deg, #e4405f, #c13584); /* Instagram */
}

.social-icon:nth-child(5):hover::before {
    background: linear-gradient(135deg, #ff0000, #cc0000); /* YouTube */
}

/* Mobile social responsive */
@media (max-width: 576px) {
    .mobile-social-section {
        padding: 1.2rem 1rem;
    }
    
    .mobile-social-icons {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .navbar-nav-desktop .nav-link {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
    }
    
    .header-actions .btn {
        padding: 0.7rem 1.3rem;
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav-desktop,
    .header-actions {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (max-width: 576px) {
    .mobile-menu-panel {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-nav-link {
        padding: 0.9rem 1rem;
        font-size: 16px;
    }
    
    .mobile-submenu-link {
        font-size: 15px;
    }
    
    .mobile-user-info {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .mobile-user-avatar {
        width: 42px;
        height: 42px;
    }
    
    .mobile-user-details h6 {
        font-size: 14px;
    }
}

/* ============================================
   ANIMATIONS - MINIMAL STYLE
   ============================================ */

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-menu-overlay.active {
    animation: fadeIn 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    animation: slideInFromLeft 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.mobile-nav-link.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid var(--primary-green);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   SCROLL BEHAVIOR
   ============================================ */

body.mobile-menu-open {
    overflow: hidden;
}

/* Remove tap highlight on all mobile elements */
.mobile-nav-link,
.mobile-submenu-link,
.mobile-menu-toggle,
.mobile-menu-close,
.auth-dropdown .dropdown-toggle,
.navbar-nav-desktop .nav-link,
.header-actions .btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Override any Bootstrap dropdown animations */
.dropdown-toggle.show::after,
.dropdown-toggle[aria-expanded="true"]::after {
    display: none !important;
    transform: none !important;
}

/* Prevent any rotation or transform on dropdown buttons */
.auth-dropdown .btn {
    transform: none !important;
}

.auth-dropdown .btn:hover,
.auth-dropdown .btn:focus,
.auth-dropdown .btn:active,
.auth-dropdown .btn.show {
    transform: translateY(-2px) scale(1.02) !important;
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */

/* Remove all focus outlines from navigation links */
.navbar-nav-desktop .nav-link:focus,
.navbar-nav-desktop .nav-link:active,
.navbar-nav-desktop .nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove focus states for buttons and mobile elements */
.header-actions .btn:focus,
.header-actions .btn:active,
.header-actions .btn:focus-visible,
.navbar-nav-desktop .nav-link:focus,
.navbar-nav-desktop .nav-link:active,
.navbar-nav-desktop .nav-link:focus-visible,
.mobile-nav-link:focus,
.mobile-nav-link:active,
.mobile-nav-link:focus-visible,
.mobile-submenu-link:focus,
.mobile-submenu-link:active,
.mobile-submenu-link:focus-visible,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus,
.mobile-menu-close:active,
.mobile-menu-close:focus-visible,
.auth-dropdown .dropdown-toggle:focus,
.auth-dropdown .dropdown-toggle:active,
.auth-dropdown .dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
}

/* ============================================
   HOVER EFFECTS FOR DESKTOP
   ============================================ */

@media (hover: hover) {
    .user-dropdown .btn-user:hover {
        background: var(--light-green);
        border-color: var(--primary-green);
    }
}

/* ============================================
   ENHANCED VISUAL EFFECTS - SUBTLE
   ============================================ */

/* Only apply to actual navigation links, not buttons */
.navbar-nav-desktop .nav-link:not(.btn)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-nav-desktop .nav-link:not(.btn):hover::before {
    width: 60%;
}

/* Completely remove the after pseudo-element - it conflicts with dropdowns */

/* ============================================
   GLASSMORPHISM ENHANCEMENTS
   ============================================ */

.modern-header .navbar {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.mobile-menu-panel {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

.dropdown-icon,
.mobile-nav-link,
.navbar-nav-desktop .nav-link {
    will-change: transform;
}

.mobile-menu-overlay,
.mobile-menu-panel {
    will-change: transform, opacity;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-success {
    color: var(--primary-green) !important;
}

.text-danger {
    color: #e74c3c !important;
}

.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: 500 !important;
}

