﻿
/* =========================================
   MODULAR NAVIGATION ARCHITECTURE
   ========================================= */

:root {
    --nav-height: 110px;
}

/* Retire the stretched navigation artwork */

.site-header::before,
.site-header::after {
    content: none;
    display: none;
}

/* Navigation structure */

.site-header {
    position: relative;
    isolation: isolate;
    min-height: var(--nav-height);
    padding: 12px 8%;
    background: none;
    overflow: visible;
    box-sizing: border-box;
}

.nav-architecture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    filter: drop-shadow(0 10px 12px rgba(0,0,0,0.65));
}

/* Repeating horizontal timber */

.nav-timber {
    position: absolute;
    inset: 0 5%;
    background-image:
        url("../images/rustic-nav-beam-extension.png");
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-position: center;
}

/* Independent endcaps */

.nav-endcap {
    position: absolute;
    top: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-endcap-left {
    left: 0;
}

.nav-endcap-right {
    right: 0;
    transform: scaleX(-1);
}

/* Central sapphire ornament */

.nav-ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(100px, 15vw, 245px);
    height: auto;
    transform: translate(-50%, -50%);
}

/* Independent decorative ivy */

.nav-ivy {
    position: absolute;
    top: -8px;
    width: 230px;
    height: auto;
}

.nav-ivy-left {
    left: 0;
}

.nav-ivy-right {
    right: 0;
    transform: scaleX(-1);
}

/* Official InnKeeper branding */

.site-header .brand {
    position: relative;
    flex-shrink: 0;
}

.site-header .brand img {
    display: block;
    width: clamp(190px, 20vw, 310px);
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.7));
}

/* Navigation links */

.site-header nav {
    position: relative;
    gap: clamp(14px, 2vw, 30px);
}

.site-header nav a {
    font-size: 15px;
    font-weight: 600;
    color: #fff0ce;
}

/* Correct structural pillar connections */

.architecture-pillar {
    top: -18px;
}

.pillar-capital {
    width: 125%;
    max-width: none;
    margin-bottom: -16px;
}

/* Responsive navigation */

@media (max-width: 1100px) {
    .nav-ornament {
        display: none;
    }

    .site-header {
        padding-inline: 6%;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 140px;
        padding: 12px 5% 20px;
    }

    .site-header .brand img {
        width: 230px;
        max-width: 100%;
    }

    .nav-ivy {
        width: 100px;
    }

    .site-header nav {
        justify-content: center;
        gap: 14px;
    }

    .site-header nav a {
        font-size: 13px;
    }

    .nav-endcap {
        height: 80px;
    }
}
