/* Navigation Styles */

.primary-navigation {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0;
}

.primary-navigation > li {
    position: relative;
}

.primary-navigation > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.primary-navigation > li > a:hover,
.primary-navigation > li.active > a {
    color: var(--gold-accent);
    border-bottom-color: var(--gold-accent);
}

/* Mega Menu / Submenu */
.primary-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-white);
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: var(--shadow-medium);
    z-index: 999;
    border-top: 3px solid var(--gold-accent);
}

.primary-navigation li:hover > ul {
    display: flex;
}

.primary-navigation ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.primary-navigation ul li a:hover {
    color: var(--gold-accent);
    background-color: var(--primary-beige);
    padding-left: 2rem;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 1rem 0;
    box-shadow: var(--shadow-medium);
    max-height: 500px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-menu li a:hover {
    background-color: var(--primary-beige);
    border-left-color: var(--gold-accent);
    color: var(--gold-accent);
}

.mobile-menu li.menu-item-has-children > a::after {
    content: '';
    float: right;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    margin-right: 1rem;
    transform: rotate(-45deg);
    margin-top: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--gold-accent);
}

.breadcrumbs a:hover {
    color: var(--gold-hover);
    text-decoration: underline;
}

/* Sticky Navigation */
.site-header.sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--border-color);
}

body.sticky-header-active {
    padding-top: 80px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--gold-accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 99;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 98;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gold-accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

.floating-btn:hover {
    background-color: var(--gold-hover);
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background-color: #25d366;
}

.floating-btn.whatsapp:hover {
    background-color: #20ba5a;
}

/* Responsive */
@media (max-width: 768px) {
    .primary-navigation {
        display: none;
    }
    
    .floating-buttons {
        right: 1rem;
        bottom: 1rem;
    }
    
    .back-to-top {
        right: 1rem;
        bottom: 80px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
