/* ===================================
   Header Component Styles
   =================================== */

/* Main Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    height: var(--header-height);
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .site-header {
        height: var(--header-height-mobile);
    }
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo-link:hover {
    opacity: 0.8;
}

/* Company Logo */
.company-logo {
    height: var(--logo-height, 50px);
    width: auto;
    max-width: 300px; /* Simpele max breedte voor te brede logos */
    object-fit: contain;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .company-logo {
        height: var(--logo-height-mobile, 50px);
        max-width: 250px;
    }
}

/* Text Logo Fallback */
.logo-text {
    display: flex;
    align-items: center;
}

.logo-name {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    font-family: var(--font-family-elegant);
}

/* Navigation Menu */
.header-nav {
    display: none;
    flex-grow: 1;
    margin: 0 var(--spacing-2xl);
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
        justify-content: center;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-2xl);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA Button */
.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

.book-taxi-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.book-taxi-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-text {
    display: inline-block;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.book-taxi-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition-base);
    transform-origin: center;
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .mobile-nav {
        display: flex;
        flex-direction: column;
    }
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Company Logo */
.mobile-company-logo {
    height: var(--logo-height-mobile, 50px);
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

/* Mobile Text Logo Fallback */
.mobile-logo-text {
    display: flex;
    align-items: center;
}

.mobile-logo-name {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-family-elegant);
}

.close-menu-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.close-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    transform-origin: center;
}

.close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
}

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

.mobile-nav-item {
    margin-bottom: 30px;
}

.mobile-nav-link {
    color: var(--brand-color);
    text-decoration: none;
    font-size: 32px;
    font-weight: 300;
    font-family: var(--font-family-elegant);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--brand-hover);
}

.mobile-nav-footer {
    padding: 30px;
    margin-top: auto;
}

.mobile-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mobile-btn-primary {
    background: var(--brand-color);
    color: var(--white);
}

.mobile-btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
}

.mobile-btn-secondary {
    background: var(--brand-color);
    color: var(--white);
}

.mobile-btn-secondary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
}

.mobile-btn-icon {
    width: 20px;
    height: 20px;
}

/* Sticky Contact Buttons */
.whatsapp-sticky {
    position: fixed;
    bottom: 25px;   /* Paar pixels hoger op desktop */
    right: 20px;    /* WhatsApp nu rechts */
    z-index: 1000;
    animation: fadeInUp 0.5s ease-out;
    animation-delay: 0.1s;
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 15px;
        right: 15px;
    }
}

.call-sticky {
    position: fixed;
    bottom: 25px;   /* Paar pixels hoger op desktop */
    left: 20px;     /* Bel nu links */
    z-index: 1000;
    animation: fadeInUp 0.5s ease-out;
}

@media (max-width: 768px) {
    .call-sticky {
        bottom: 15px;
        left: 15px;
    }
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;  /* Iets meer padding - was 50px */
    height: 54px; /* Iets meer padding - was 50px */
    background: var(--brand-color);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* WhatsApp specific color */
.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #20BD5A;
}

@media (max-width: 768px) {
    .sticky-btn {
        width: 60px;  /* Veel groter op mobiel */
        height: 60px;
    }
}

.sticky-btn:hover {
    transform: scale(1.1);
    background: var(--brand-hover);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.sticky-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.sticky-btn:hover::before {
    width: 100px;
    height: 100px;
}

.sticky-btn-icon {
    width: 34px;  /* Klein beetje groter */
    height: 34px;
    fill: white;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .sticky-btn-icon {
        width: 36px;  /* Nog iets groter op mobiel */
        height: 36px;
    }
}

/* Button pulse animations */
.call-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--brand-color);
    z-index: -1;
    animation: pulse 2s infinite;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: pulse 2s infinite;
}

.call-btn::after {
    animation-delay: 1s;
}

/* Tooltips */
.btn-tooltip {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

.sticky-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 75px;
}