/* Hermes Studio — glass, transparent nav, image/perf helpers */

.navbar.absolute.transparent {
    background: linear-gradient(180deg, rgba(15, 12, 8, 0.7) 0%, rgba(15, 12, 8, 0.4) 60%, rgba(15, 12, 8, 0) 100%) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.navbar.absolute.transparent .navbar-collapse {
    background: rgba(255, 255, 255, 0.14) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 12px;
}

@media (min-width: 992px) {
    .navbar.absolute.transparent .navbar-collapse {
        background: transparent !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border-radius: 0;
    }

    .navbar.absolute.transparent .navbar-nav .nav-link {
        color: #fff;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    }

    .navbar.absolute.transparent .navbar-nav .nav-link:hover,
    .navbar.absolute.transparent .navbar-nav .nav-link.active {
        color: #e8eef8;
    }

    .navbar.absolute.transparent .dropdown-menu {
        background: rgba(255, 255, 255, 0.88);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }
}

.navbar.glass-nav .navbar-collapse,
.navbar-collapse.glass-bar {
    background: rgba(255, 255, 255, 0.78) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.glass-card {
    background: rgba(255, 255, 255, 0.72) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(27, 27, 27, 0.06);
}

.overlay.caption figcaption,
.overlay.caption .figcaption {
    background: rgba(15, 18, 24, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.overlay.caption:hover figcaption,
.overlay.caption:hover .figcaption {
    background: rgba(15, 18, 24, 0.45);
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
    background: currentColor;
}

.navbar.absolute.transparent .hamburger {
    color: #fff;
}

/* The Revolution Slider "revicons" icon font files were never vendored, so its arrow
   buttons render an empty glyph box; fall back to Font Awesome chevrons instead. */
.tp-leftarrow:before,
.tp-rightarrow:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.tp-leftarrow:before {
    content: "\f053" !important;
}

.tp-rightarrow:before {
    content: "\f054" !important;
}

img {
    max-width: 100%;
    height: auto;
}

.main-image-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(27, 27, 27, 0.14);
}

.main-image {
    border-radius: 12px;
    transition: transform .5s ease;
}

.main-image-link:hover .main-image {
    transform: scale(1.03);
}

/* Images embedded in rich text content (post body, static pages) — the raw <img> tags
   coming back from the CMS editor otherwise sit flat on the page with no framing. */
.ck-content img {
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(27, 27, 27, 0.12);
    margin: 1.25rem auto;
    display: block;
}

.ck-content figure {
    margin: 1.25rem auto;
}

.ck-content figure img {
    margin: 0 auto;
}

.ck-content figcaption {
    text-align: center;
    font-size: .85rem;
    color: #8a8a8a;
    margin-top: .5rem;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Brand accent utilities ---------- */

.text-primary-hover {
    transition: color .25s ease;
}

.text-primary-hover:hover,
.text-primary-hover:focus {
    color: #d7ac6c !important;
}

.hover-underline-animation {
    position: relative;
    display: inline-block;
    text-decoration: none !important;
}

.hover-underline-animation::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.hover-underline-animation:hover::after,
.hover-underline-animation:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---------- Footer ---------- */

.footer-hermes {
    position: relative;
    border-top: 3px solid #b8874a;
    padding-top: 10px;
}

.footer-hermes .footer-logo-link {
    display: inline-block;
}

.footer-hermes .footer-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.9;
    max-width: 360px;
}

.footer-hermes .footer-heading {
    color: #d7ac6c;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-hermes .footer-links li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-hermes .footer-links li i {
    color: #d7ac6c;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.footer-hermes .footer-links a {
    color: rgba(255, 255, 255, 0.72);
    transition: color .2s ease;
}

.footer-hermes .footer-links a:hover {
    color: #d7ac6c;
}

.footer-hermes .footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Bootstrap's .text-body forces a near-black color, invisible on the dark footer; override it. */
.footer-hermes .footer-bottom a.text-body {
    color: rgba(255, 255, 255, 0.85) !important;
    direction: ltr;
}

.footer-hermes .footer-bottom a.text-body:hover,
.footer-hermes .footer-bottom a.text-body:focus {
    color: #d7ac6c !important;
}

/* ---------- Contact map ---------- */

.map-elegant {
    position: relative;
    height: 380px;
    min-height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(27, 27, 27, 0.1);
}

.map-elegant #mapContainer {
    height: 100%;
    width: 100%;
    filter: saturate(1.05);
}

.map-elegant-placeholder {
    height: 100%;
    background: #f7eee0;
    color: #b8874a;
    font-size: 2.5rem;
}

.map-elegant .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(27, 27, 27, 0.18);
}

.map-elegant .leaflet-popup-content {
    font-family: inherit;
    color: #2a2a2a;
    margin: 12px 16px;
}

.map-elegant .leaflet-control-zoom a {
    color: #b8874a;
}

.map-elegant .leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.75);
}

.map-pin {
    position: relative;
}

.map-pin-dot {
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    background: #b8874a;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.map-pin-pulse {
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    background: rgba(184, 135, 74, 0.45);
    border-radius: 50%;
    animation: map-pin-pulse 2.2s ease-out infinite;
}

@keyframes map-pin-pulse {
    0% {
        transform: scale(0.4);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-pin-pulse {
        animation: none;
        opacity: 0;
    }
}
