/* Dominican Way Tours - Header Styles */

.dwt-header {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.dwt-header * {
    box-sizing: border-box;
}

/* Sticky Header */
.dwt-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.dwt-header-sticky + * {
    margin-top: 120px; /* Adjust based on header height */
}

/* Header Container */
.dwt-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.dwt-header-topbar {
    background: linear-gradient(135deg, var(--dwt-primary-color, #4ecdc4), var(--dwt-secondary-color, #ff6b6b));
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.dwt-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dwt-topbar-welcome {
    font-weight: 500;
}

.dwt-topbar-contacts {
    display: flex;
    gap: 20px;
    align-items: center;
}

.dwt-topbar-contact {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
}

.dwt-topbar-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    transform: translateY(-1px);
}

.dwt-contact-icon {
    font-size: 1rem;
}

.dwt-contact-text {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Main Header */
.dwt-header-main {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dwt-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo Section */
.dwt-header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.dwt-logo-image,
.dwt-header-logo-img {
    height: 60px;
    width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dwt-logo-text {
    display: flex;
    flex-direction: column;
}

.dwt-company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.dwt-tagline {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Navigation */
.dwt-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dwt-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

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

.dwt-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dwt-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.2), transparent);
    transition: left 0.5s ease;
}

.dwt-nav-link:hover::before {
    left: 100%;
}

.dwt-nav-link:hover {
    background: linear-gradient(135deg, var(--dwt-primary-color, #4ecdc4), #45b7d1);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.dwt-nav-icon {
    font-size: 1.1rem;
}

.dwt-nav-text {
    font-size: 0.95rem;
}

/* CTA Buttons */
.dwt-header-cta {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.dwt-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dwt-cta-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.dwt-cta-whatsapp:hover {
    background: #128C7E;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.dwt-cta-primary {
    background: linear-gradient(135deg, var(--dwt-secondary-color, #ff6b6b), #ee5a52);
    color: white;
    border-color: var(--dwt-secondary-color, #ff6b6b);
}

.dwt-cta-primary:hover {
    background: linear-gradient(135deg, #ee5a52, #e74c3c);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.dwt-btn-icon {
    font-size: 1rem;
}

.dwt-btn-text {
    font-size: 0.9rem;
}

/* Mobile Toggle */
.dwt-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dwt-mobile-toggle:hover {
    background: #f8f9fa;
}

.dwt-hamburger {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.dwt-mobile-toggle.active .dwt-hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.dwt-mobile-toggle.active .dwt-hamburger:nth-child(2) {
    opacity: 0;
}

.dwt-mobile-toggle.active .dwt-hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.dwt-mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dwt-mobile-menu.active {
    display: block;
}

.dwt-mobile-menu-content {
    padding: 20px;
}

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

.dwt-mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.dwt-mobile-nav-item:last-child {
    border-bottom: none;
}

.dwt-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dwt-mobile-nav-link:hover {
    color: var(--dwt-primary-color, #4ecdc4);
    text-decoration: none;
    padding-left: 10px;
}

.dwt-mobile-nav-icon {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.dwt-mobile-nav-text {
    font-size: 1rem;
}

.dwt-mobile-contacts {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 15px;
}

.dwt-mobile-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--dwt-primary-color, #4ecdc4), #45b7d1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
    justify-content: center;
    transition: all 0.3s ease;
}

.dwt-mobile-contact:hover {
    background: linear-gradient(135deg, #45b7d1, var(--dwt-primary-color, #4ecdc4));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.dwt-mobile-contact-icon {
    font-size: 1rem;
}

.dwt-mobile-contact-text {
    font-size: 0.9rem;
}

/* Header Layouts */
.dwt-header-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(10px);
}

.dwt-header-tropical .dwt-header-topbar {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.dwt-header-tropical .dwt-header-main {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.98));
}

.dwt-header-minimal .dwt-header-topbar {
    display: none;
}

.dwt-header-minimal .dwt-header-main {
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.dwt-header-classic .dwt-header-topbar {
    background: #2c3e50;
}

.dwt-header-classic .dwt-header-main {
    background: #34495e;
    color: white;
}

.dwt-header-classic .dwt-company-name,
.dwt-header-classic .dwt-nav-link {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dwt-nav-menu {
        gap: 20px;
    }
    
    .dwt-nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .dwt-header-cta {
        gap: 8px;
    }
    
    .dwt-cta-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .dwt-topbar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dwt-topbar-contacts {
        gap: 15px;
    }
    
    .dwt-header-nav,
    .dwt-header-cta {
        display: none;
    }
    
    .dwt-mobile-toggle {
        display: flex;
    }
    
    .dwt-header-content {
        gap: 15px;
    }
    
    .dwt-company-name {
        font-size: 1.5rem;
    }
    
    .dwt-tagline {
        font-size: 0.8rem;
    }
    
    .dwt-logo-image {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .dwt-header-container {
        padding: 0 15px;
    }
    
    .dwt-topbar-contacts {
        flex-direction: column;
        gap: 8px;
    }
    
    .dwt-topbar-contact {
        justify-content: center;
    }
    
    .dwt-header-logo {
        gap: 10px;
    }
    
    .dwt-company-name {
        font-size: 1.3rem;
    }
    
    .dwt-mobile-contacts {
        flex-direction: column;
    }
}