﻿
/* =========================================
   VRITHANTHAM STICKY HEADER
========================================= */

.vrithantham-header {
    width: 100%;
    min-height: 85px;
    background: #fffaf5;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-container {
    width: 92%;
    max-width: 1300px;
    min-height: 85px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   BRAND SECTION
========================================= */

.header-brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* LOGO AND NAME */

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.logo-image {
    display: block;
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #e6d5c3;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    white-space: nowrap;
}

.logo-name {
    font-family: font-family: art nouveau by Marta van Eck;
    
    font-size: 27px;
    line-height: 1.2;
    font-weight: bold;
    color: #70452d;
    letter-spacing: 1px;
    margin: 0;
}

.logo-tagline {
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #8b735e;
    margin-top: 4px;
    white-space: nowrap;
}

/* =========================================
   SOCIAL MEDIA ICONS
========================================= */

.social-icons {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

    .social-icons a {
        color: #75452f;
        font-size: 15px;
        text-decoration: none;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .social-icons a:hover {
            color: #e6b875;
            transform: translateY(-2px);
        }

/* =========================================
   DESKTOP NAVIGATION
========================================= */

.header-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

    .header-nav > a,
    .dropdown-toggle {
        position: relative;
        font-family: Arial, sans-serif;
        font-size: 15px;
        color: #444;
        text-decoration: none;
        padding: 5px 0 7px;
        transition: color 0.3s ease;
    }

        /* NAVIGATION UNDERLINE */

        .header-nav > a::after,
        .nav-shop > .dropdown-toggle::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: #a65c38;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.35s ease;
        }

        .header-nav > a:hover,
        .nav-shop > .dropdown-toggle:hover {
            color: #a65c38;
        }

            .header-nav > a:hover::after,
            .nav-shop:hover > .dropdown-toggle::after {
                transform: scaleX(1);
            }

        /* ACTIVE PAGE */

        .header-nav > a.active,
        .nav-shop > .dropdown-toggle.active {
            color: #a65c38;
        }

            .header-nav > a.active::after,
            .nav-shop > .dropdown-toggle.active::after {
                transform: scaleX(1);
            }

/* =========================================
   SHOP DROPDOWN
========================================= */

.nav-shop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #75452f;
}

.shop-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fffaf5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    border-top: 2px solid #a65c38;
    z-index: 10000;
    padding: 8px 0;
}

    .shop-dropdown a {
        display: block;
        padding: 12px 16px;
        font-family: Arial, sans-serif;
        font-size: 13px;
        color: #444;
        text-decoration: none;
        white-space: nowrap;
    }

.shop-dropdown a:hover {
    background: #f3e8df;
    color: #a65c38;
}

/* DESKTOP DROPDOWN */

@media screen and (min-width: 769px) {
    .nav-shop:hover .shop-dropdown,
    .nav-shop:focus-within .shop-dropdown {
        display: block;
    }
}

/* =========================================
   SPECIAL OFFERS HIGHLIGHT
========================================= */

.special-offers-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8B4513 !important;
    font-weight: bold;
}

.offer-badge {
    background: #a64b32;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 3px 5px;
    border-radius: 3px;
    line-height: 1;
}

/* =========================================
   HAMBURGER MENU
========================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #75452f;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

/* =========================================
   TABLET AND MOBILE HEADER
========================================= */

@media screen and (max-width: 768px) {

    .vrithantham-header {
        min-height: 0;
        height: auto;
    }

    .header-container {
        width: 94%;
        min-height: 0;
        height: auto;
        padding: 10px 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    /* BRAND AND SOCIAL ICONS */

    .header-brand-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        flex: 1;
    }

    .header-logo {
        gap: 8px;
        justify-content: center;
    }

    .logo-image {
        width: 46px;
        height: 46px;
        min-width: 46px;
        object-position: center 25%;
    }

    .logo-name {
        font-size: 19px;
        letter-spacing: 0.5px;
    }

    .logo-tagline {
        font-size: 7px;
        letter-spacing: 1px;
        margin-top: 3px;
    }

    /* SOCIAL ICONS BELOW BRAND */

    .social-icons {
        display: flex;
        margin-top: 10px;
        gap: 22px;
    }

        .social-icons a {
            font-size: 16px;
        }

    /* HAMBURGER */

    .menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 20px;
        z-index: 10002;
    }

    /* MOBILE NAVIGATION PANEL */

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 220px;
        background: #fffaf5;
        box-shadow: 0 5px 15px rgba(0,0,0,0.12);
        padding: 12px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 10001;
    }

        .header-nav.open {
            display: flex;
        }

        .header-nav > a,
        .nav-shop > .dropdown-toggle {
            display: block;
            width: 100%;
            box-sizing: border-box;
            text-align: left;
            padding: 12px 18px;
            font-size: 14px;
        }

            .header-nav > a::after,
            .nav-shop > .dropdown-toggle::after {
                display: none;
            }

            .header-nav > a:hover,
            .nav-shop > .dropdown-toggle:hover {
                background: #f3e8df;
            }

    /* MOBILE SHOP DROPDOWN */

    .nav-shop {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .shop-dropdown {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid #a65c38;
        margin-left: 12px;
        padding: 0;
        background: #fdf5ee;
    }

    .nav-shop.open .shop-dropdown {
        display: block;
    }

    .shop-dropdown a {
        padding: 11px 18px;
        font-size: 12px;
        white-space: normal;
    }

    /* SPECIAL OFFERS */

    .offer-badge {
        font-size: 7px;
        padding: 2px 4px;
    }
}

/* =========================================
   SMALL MOBILE SCREENS
========================================= */

@media screen and (max-width: 380px) {

    .logo-image {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .logo-name {
        font-size: 22px;
    }

    .logo-tagline {
        font-size: 6px;
        letter-spacing: 0.8px;
    }

    .social-icons {
        gap: 18px;
    }

    .menu-toggle {
        font-size: 25px;
    }
}
@media screen and (max-width: 768px) {

    /* Divider between menu items */

    .header-nav > a {
        border-bottom: 1px solid #eadfd4;
    }

    /* Divider after Shop dropdown */

    .header-nav .nav-shop {
        border-bottom: 1px solid #eadfd4;
    }

    /* Remove extra divider from last menu item */

    .header-nav > a:last-child {
        border-bottom: none;
    }

    /* Dropdown submenu separators */

    .shop-dropdown a {
        border-bottom: 1px solid #eee3d9;
    }

        .shop-dropdown a:last-child {
            border-bottom: none;
        }
}