/* ==========================================
   EVERYDAY INSIGHT
   NAVIGATION.CSS
========================================== */

/* ========= HEADER ========= */

.site-header{

    position:sticky;

    top:0;

    z-index:1000;

    background:#ffffff;

    border-bottom:1px solid #e7e1d8;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

/* ========= NAV CONTAINER ========= */

.nav-container{

    width:92%;

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:90px;

    padding:18px 0;

}

/* ========= LOGO ========= */

.logo{

    font-family:"Playfair Display",serif;

    font-size:1.9rem;

    font-weight:700;

    color:#4f463f;

    text-decoration:none;

    letter-spacing:1px;

}

.logo span{

    color:#9c8061;

}

/* ========= NAVIGATION ========= */

.nav-menu{

    display:flex;

    align-items:center;

    gap:35px;

    list-style:none;

}

.nav-menu a{

    color:#4b4b4b;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

    position:relative;

}

.nav-menu a:hover{

    color:#9c8061;

}

/* Underline Animation */

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#9c8061;

    transition:.3s;

}

.nav-menu a:hover::after{

    width:100%;

}

/* Current Page */

.nav-menu a.active{

    color:#9c8061;

    font-weight:600;

}

.nav-menu a.active::after{

    width:100%;

}
.nav-links a {
    position: relative;
    text-decoration: none;
    color: #444;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #9c8061;
    transform: scaleX(0);
    transition: transform .3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ========= TOOLS BUTTON ========= */

.nav-btn{

    background:#9c8061;

    color:white;

    padding:10px 20px;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.nav-btn:hover{

    background:#7f6750;

    transform:translateY(-2px);

}

/* ========= MOBILE MENU BUTTON ========= */

.menu-toggle{

    display:none;

    font-size:2rem;

    background:none;

    border:none;

    cursor:pointer;

}

/* ========= FOOTER ========= */

.site-footer{

    background:#4f463f;

    color:white;

    margin-top:80px;

    padding:50px 20px;

}

.footer-container{

    width:92%;

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:40px;

}

.footer-container h3{

    color:white;

    margin-bottom:15px;

}

.footer-container p{

    color:#d8d8d8;

}

.footer-container ul{

    list-style:none;

}

.footer-container li{

    margin-bottom:10px;

}

.footer-container a{

    color:#d8d8d8;

    text-decoration:none;

    transition:.3s;

}

.footer-container a:hover{

    color:white;

}

.footer-bottom{

    text-align:center;

    margin-top:40px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.15);

    font-size:.9rem;

}

/* ========= MOBILE ========= */

@media(max-width:768px){

.nav-container{

    flex-wrap:wrap;

}

.menu-toggle{

    display:block;

}

.nav-menu{

    width:100%;

    display:none;

    flex-direction:column;

    gap:20px;

    padding:25px 0;

}

.nav-menu.show{

    display:flex;

}

.nav-btn{

    width:100%;

    text-align:center;

}

.logo{

    font-size:1.6rem;

}

}


/* ==========================================
   LOGO
========================================== */

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 140px;
    height: auto;
}

.logo-tagline {
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #7a6b58;
    text-transform: uppercase;
}

.logo:hover img {
    transform: scale(1.03);
}

.logo-text{

    display:flex;

    flex-direction:column;

    line-height:1;

}

.logo-script{

    font-family:'Great Vibes', cursive;

    font-size:1.8rem;

    color:var(--primary);

}

.logo-title{

    font-family:'Playfair Display', serif;

    font-size:1.5rem;

    font-weight:700;

    color:var(--secondary);

}