/* HolaChevvi Custom Header and Footer Styles */

:root {
    --chevvi-teal: #2DD4BF;
    --warm-charcoal: #374151;
    --sunset-orange: #FB7C37;
    --adventure-green: #10B981;
    --cloud-gray: #F3F4F6;
    --slate-blue: #6B7280;
    --alert-coral: #EF4444;
}

/* Hide Astra default elements */
.main-header-bar,
.ast-mobile-header-wrap,
.site-footer,
.ast-header-break-point .main-header-bar,
.ast-header-break-point .ast-mobile-header-wrap {
    display: none !important;
}

/* Custom Navigation Styles */
.holachevvi-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.holachevvi-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--chevvi-teal);
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.holachevvi-logo::after {
    content: '';
    position: absolute;
    top: 5px;
    right: -18px;
    width: 12px;
    height: 10px;
    background: var(--chevvi-teal);
    border-radius: 8px 8px 8px 2px;
    transition: all 0.3s ease;
}

.holachevvi-logo::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--chevvi-teal), var(--sunset-orange));
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s ease;
}

.holachevvi-logo:hover::before {
    opacity: 1;
}

.holachevvi-logo:hover::after {
    background: var(--sunset-orange);
    transform: scale(1.1);
}

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

.holachevvi-nav-links li {
    position: relative;
}

.holachevvi-nav-links a {
    text-decoration: none;
    color: var(--warm-charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
}

.holachevvi-nav-links a:hover {
    color: var(--chevvi-teal);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.holachevvi-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 10000;
}

.holachevvi-nav-links li.has-dropdown:hover .holachevvi-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.holachevvi-nav-links li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.holachevvi-dropdown a {
    padding: 10px 20px;
    display: block;
    color: var(--warm-charcoal);
    border-radius: 0;
    transition: background 0.3s ease;
}

.holachevvi-dropdown a:hover {
    background: var(--cloud-gray);
    color: var(--chevvi-teal);
}

.dropdown-section {
    padding: 5px 0;
    border-bottom: 1px solid var(--cloud-gray);
    margin-bottom: 5px;
}

.dropdown-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dropdown-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-blue);
    padding: 5px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.holachevvi-cta-nav {
    background: var(--sunset-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.holachevvi-cta-nav:hover {
    background: #e56b2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 124, 55, 0.4);
    color: white;
}

.holachevvi-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--warm-charcoal);
    cursor: pointer;
}

/* Custom Footer Styles */
.holachevvi-footer {
    background: var(--warm-charcoal);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.holachevvi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.holachevvi-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.holachevvi-footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--chevvi-teal);
    font-family: 'Inter', sans-serif;
}
.holachevvi-footer-logo {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--chevvi-teal) !important;
    margin-bottom: 15px !important;
    font-family: 'Inter', sans-serif !important;
    position: relative !important; /* ← RELATIVE, não absolute */
    display: inline-block !important; /* ← Importante para o ::after funcionar */
}

.holachevvi-footer-logo::after {
    content: '';
    position: absolute;
    top: 6px;
    right:-18px;
    width: 14px;
    height: 12px;
    background: var(--chevvi-teal);
    border-radius: 10px 10px 10px 3px;
}

.holachevvi-footer-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.holachevvi-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.holachevvi-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.holachevvi-footer-links a:hover {
    color: var(--chevvi-teal);
}

.holachevvi-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.6;
}

/* Page Content Spacing */
.site-main,
.ast-container {
    margin-top: 80px; /* Account for fixed header */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .holachevvi-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }

    .holachevvi-nav-links.mobile-open {
        display: flex;
    }

    .holachevvi-mobile-toggle {
        display: block;
    }

    .holachevvi-dropdown {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--cloud-gray);
        margin: 10px 0;
        border-radius: 5px;
    }

    .holachevvi-nav-container {
        flex-wrap: wrap;
    }

    .holachevvi-cta-nav {
        order: -1;
        margin-right: 10px;
    }

    .holachevvi-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-main,
    .ast-container {
        margin-top: 70px;
    }
}

/* Ensure proper stacking */
.holachevvi-nav {
    z-index: 999999 !important;
}

/* Override any Astra specific styles */
.ast-theme-transparent-header .holachevvi-nav {
    background: rgba(255, 255, 255, 0.95);
}

/* Make sure content doesn't hide behind fixed header */
body {
    padding-top: 0 !important;
}

.ast-single-post .entry-header,
.ast-page-builder-template .entry-header {
    margin-top: 80px;
}

/* Additional utility classes */
.holachevvi-hidden {
    display: none !important;
}

.holachevvi-visible {
    display: block !important;
}