/* ============================= */
/* NAVBAR.CSS - Luxurious & Professional */
/* ============================= */

/* Import luxurious fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lora:wght@400;700&family=Montserrat:wght@400;700&display=swap');

/* Basic Navbar Styling */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    /* translucent luxury feel */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    font-family: 'Lora', serif;
    transition: all 0.4s ease-in-out;
}

/* Sticky effect */
.navbar.sticky {
    background: rgba(255, 255, 255, 1);
    padding: 0.8rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Logo */
.navbar .logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #5C4033;
    /* rich coffee brown */
    text-decoration: none;
    letter-spacing: 1px;
}

/* Nav menu links */
.navbar .nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-menu a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover underline effect */
.navbar .nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #5C4033;
    transition: width 0.3s ease;
}

.navbar .nav-menu a:hover::after,
.navbar .nav-menu a.active::after {
    width: 100%;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 25px;
    height: 20px;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #5C4033;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.is-active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile Menu */
@media screen and (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        font-size: 1.5rem;
    }

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

    .nav-menu a::after {
        display: none;
        /* remove hover underline for mobile */
    }
}

/* Smooth scrolling highlight effect */
.nav-menu a.active {
    color: #5C4033;
    font-weight: 700;
}

/* Add subtle hover shadow */
.nav-menu a:hover {
    color: #8B5E3C;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Optional: smooth transition for navbar */
.navbar,
.nav-menu a {
    transition: all 0.4s ease-in-out;
}

/* ===== HEADER LOGO - LUXURY & PROFESSIONAL ===== */
header .logo img {
    display: block;
    width: 130px;
    /* balanced size for header */
    height: auto;
    object-fit: contain;
    /* keeps proportions perfect */
    border-radius: 0;
    /* removes any rounded edges */
    background: transparent;
    /* clean transparent background */
    box-shadow: none;
    /* remove unwanted shadows */
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
    transition: all 0.4s ease;
}

/* Hover: subtle lift and clarity effect */
header .logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2) saturate(1.15);
}

/* Keep logo and name aligned perfectly */
header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Add brand name beside logo */
header .logo span {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #4b2e1e;
    /* deep coffee tone */
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Hover color change */
header .logo:hover span {
    color: #b47b3a;
}

/* Adjust logo for smaller screens */
@media (max-width: 768px) {
    header .logo img {
        width: 100px;
    }

    header .logo span {
        font-size: 1.3rem;
    }
}