/* --- NAVIGATION --- */
#main-menu {
    min-height: 60px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    min-height: 60px;
    box-sizing: border-box;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.menu-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    margin-left: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.menu-links a:hover { color: var(--accent); }
.menu-links a.menu-active { color: var(--accent, #cfb186); }

.btn-contact {
    background-color: var(--primary);
    color: white !important;
    padding: 12px 25px;
    border-radius: 2px;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    margin-left: 30px;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-dark, #1a1a1a);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.3s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.menu-active {
    color: var(--accent, #cfb186);
}

.nav-dropdown-trigger i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-dropdown[data-open="true"] .nav-dropdown-trigger i {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 8px 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}

.nav-dropdown[data-open="true"] .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 12px 20px;
    margin: 0 !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark, #1a1a1a);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a.menu-active {
    background: var(--bg-light, #f9f9f9);
    color: var(--accent, #cfb186);
    border-left-color: var(--accent, #cfb186);
}

/* Mobile menu label */
.mobile-menu-label {
    display: block;
    padding: 12px 30px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 70px;
    overflow-y: auto;
    box-sizing: border-box;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 20px 30px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.mobile-menu .btn-contact {
    background-color: var(--primary);
    color: white !important;
    margin: 20px 30px;
    padding: 15px 25px;
    border-radius: 2px;
    text-align: center;
    border-bottom: none;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
}
