/* ===== HEADER COMPONENT STYLES ===== */

/* Header Styles */
.header-component {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Top Contact Bar */
.top-contact-bar {
    background: var(--gradient-secondary);
    color: white;
    height: 45px;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 183, 0, 0.2);
    display: flex;
    align-items: center;
}

.top-contact-bar .v-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #E0E0E0;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.85rem;
    height: 100%;
    padding: 0 0.5rem;
}

.contact-item:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

.contact-icon {
    color: var(--accent-gold);
}

.top-social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    height: 100%;
}

.social-link-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #E0E0E0;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    text-decoration: none;
}

.social-link-top:hover {
    color: var(--accent-gold);
    background: rgba(255, 183, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

/* === HEADER TRAPEZOID DESIGN === */
.nav-trapezoid-bar {
    background: white !important;
    overflow: visible !important;
}

.nav-logo-zone-trapezoid {
    position: relative;
    height: 70px;
    min-width: 200px;
    background: linear-gradient(135deg, #212121 0%, #424242 100%);
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    transition: all 0.3s ease;
}





.nav-logo-zone-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 0 20px;

}

.nav-logo-container-header {
    margin-left: 16px;
}

.nav-header-logo-trapezoid {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}



.nav-menu-zone {
    background: white;
    height: 70px;
}

/* Main Navigation Bar */
.main-nav-bar {
    top: 45px !important; /* Offset for top bar */
}

.brand-link {
    color: inherit !important;
    text-decoration: none !important;
}

/* Logo Container Principal */
.logo-container-main {
    width: 70px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.08) 0%, rgba(25, 118, 210, 0.02) 100%);
    border: 2px solid rgba(25, 118, 210, 0.15);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-container-main::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;
}

.logo-container-main:hover::before {
    left: 100%;
}

.logo-container-main:hover {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.15) 0%, rgba(25, 118, 210, 0.05) 100%);
    border-color: rgba(25, 118, 210, 0.4);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
}

.header-logo-main {
    width: 55px;
    height: 45px;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-container-main:hover .header-logo-main {
    transform: scale(1.05);
}

/* Logo Container Footer (maintenir l'existant) */
.logo-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(25, 118, 210, 0.05);
    border: 2px solid rgba(25, 118, 210, 0.1);
    transition: var(--transition-normal);
}

.logo-container:hover {
    background: rgba(25, 118, 210, 0.1);
    border-color: rgba(25, 118, 210, 0.3);
    transform: scale(1.05);
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

/* Navigation Links Styling */
.v-btn:not(.social-btn):not(.v-btn--icon) {
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.v-btn:not(.social-btn):not(.v-btn--icon):hover {
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.v-btn:not(.social-btn):not(.v-btn--icon)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.v-btn:not(.social-btn):not(.v-btn--icon):hover::before {
    width: 80%;
}

/* Enhanced Button Styles - Keep only essential Vuetify overrides */
.v-btn--variant-text {
    border-radius: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
}

.v-btn--variant-outlined {
    border-radius: 12px !important;
    border-width: 2px !important;
    font-weight: 500 !important;
}

/* Mobile Responsive Header */
@media (max-width: 960px) {
    .nav-logo-zone-trapezoid {
        min-width: 180px;
        clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
    }

    .nav-header-logo-trapezoid {
        width: 55px !important;
        height: 55px !important;
    }

    .nav-logo-zone-content {
        padding: 0 15px;
        padding-right: 35px;
    }

    .nav-logo-container-header {
        margin-left: 12px;
    }

    .brand-link h2 {
        font-size: 1.2rem;
    }

    .brand-link small {
        font-size: 0.7rem;
    }

    .v-btn:not(.social-btn):not(.v-btn--icon) {
        font-size: 0.875rem !important;
        padding: 8px 16px !important;
    }

    /* Header Mobile */
    .contact-item span {
        display: none;
    }

    .contact-info {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .nav-logo-zone-trapezoid {
        min-width: 160px;
        clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    }

    .nav-header-logo-trapezoid {
        width: 50px !important;
        height: 50px !important;
    }

    .nav-logo-zone-content {
        padding: 0 12px;
        padding-right: 30px;
    }

    .nav-logo-container-header {
        margin-left: 8px;
    }

    .main-nav-bar {
        top: 40px !important;
    }

    /* Contact bar completely hidden on mobile */
    .contact-info {
        display: none;
    }

    .contact-bar-content {
        justify-content: center;
    }

    .top-social-links {
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    .top-contact-bar {
        height: 40px;
    }

    .logo-container-main {
        width: 60px;
        height: 45px;
    }

    .header-logo-main {
        width: 45px;
        height: 35px;
    }

    .logo-container {
        width: 45px;
        height: 45px;
    }

    .header-logo {
        width: 35px;
        height: 35px;
    }
}
