/* --- General & Variables --- */
:root {
    --primary-color: #005B5B;
    --secondary-color: #222222;
    --accent-color: #c5a47e;
    --light-gray: #f8f8f8;
    --white: #fff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: var(--font-primary); 
    color: var(--secondary-color); 
    line-height: 1.7; 
    background-color: var(--white); 
}

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

/* ============================================= */
/* ==         NEW HEADER STYLES               == */
/* ============================================= */

.main-header.new-style {
    position: relative;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- Top Section: Logo, Search, Hamburger --- */
.header-top {
    padding: 15px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.logo-img {
    height: 35px;
    margin-right: 15px;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.header-search input {
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    outline: none;
    width: 250px;
}

.header-search button {
    background-color: #666;
    color: var(--white);
    border: none;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-search button:hover {
    background-color: var(--secondary-color);
}

/* --- Bottom Section: Navigation --- */
.header-bottom {
    background-color: var(--white);
    border-top: 1px solid #eaeaea;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.nav-menu-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-desktop li {
    margin: 0 20px;
    position: relative;
}

.nav-menu-desktop a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 60px;
}

.nav-menu-desktop a:hover {
    color: var(--primary-color);
}

.dropdown-icon {
    font-size: 0.6rem;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* --- Dropdown Menu --- */
.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}
.has-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 240px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    padding: 10px 20px;
    width: 100%;
    height: auto;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* --- Hamburger & Mobile Menu --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.mobile-nav-menu {
    display: none;
    background-color: var(--white);
    border-top: 1px solid #eaeaea;
}
.mobile-nav-menu.active {
    display: flex;
    flex-direction: column;
}
.mobile-nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-menu a:last-child {
    border-bottom: none;
}

/* ============================================= */
/* ==         RESPONSIVE STYLES               == */
/* ============================================= */

@media (max-width: 992px) {
    /* Hide desktop-only elements */
    .header-bottom {
        display: none;
    }
    .header-search {
        display: none;
    }

    /* Show mobile-only elements */
    .hamburger {
        display: block;
    }
    
    /* Adjust logo and text for mobile */
    .logo-img {
        height: 30px;
        margin-right: 12px;
    }
    .logo-text {
        font-size: 1.5rem;
    }
}