:root {
    --shochu-gold: #d4af37;
    --bar-navy: #050a1a;
    --font-serif: "Sawarabi Mincho", "Noto Serif JP", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bar-navy);
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    overflow-x: hidden;
}

/* 1. HERO SECTION */
.p-bar-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.p-bar-hero__layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    pointer-events: none;
}

.p-bar-hero__layer--back {
    background-image: url('../images/bar_layer_back.png');
    z-index: 1;
}

.p-bar-hero__layer--mid {
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.p-bar-bartender-img {
    height: 85vh;
    width: auto;
    object-fit: contain;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
}

.p-bar-hero.is-active .p-bar-bartender-img {
    transform: translateY(5vh);
    opacity: 1;
}

.p-bar-hero__layer--front {
    background-image: url('../images/bar_layer_front_v41_minimal_transparent.png');
    background-color: #050a1a;
    z-index: 4;
    top: auto; 
    bottom: 0;
    height: 30vh;
    background-size: 130% auto;
    background-position: center bottom;
    -webkit-mask-image: linear-gradient(to top, black 90%, transparent 100%);
    mask-image: linear-gradient(to top, black 90%, transparent 100%);
}

.p-bar-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.7) 100%);
    z-index: 3;
}

.p-bar-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 35vh;
}

.p-bar-hero__copy {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: 0.2em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
    color: #fff;
}

.p-bar-hero__btn {
    display: inline-block;
    padding: 18px 50px;
    border: 1px solid var(--shochu-gold);
    color: var(--shochu-gold);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.2em;
    background: rgba(0,0,0,0.4);
    transition: all 0.4s;
    backdrop-filter: blur(5px);
}

.p-bar-hero__btn:hover {
    background: var(--shochu-gold);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

/* 2. TASTE MAP SECTION */
.p-search-map { padding: 120px 0; background: var(--bar-navy); }
.p-search-map__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.p-search-map__grid {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 80px auto;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(212,175,55,0.3);
    background: rgba(255,255,255,0.02);
    display: flex;
    flex-wrap: wrap;
}
.p-search-map__grid::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(212,175,55,0.2); z-index: 1; }
.p-search-map__grid::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: rgba(212,175,55,0.2); z-index: 1; }

.p-search-map__markers {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.p-taste-marker {
    position: absolute;
    width: 12px; height: 12px;
    background: var(--shochu-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 0 15px var(--shochu-gold);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-taste-marker:hover {
    transform: translate(-50%, -50%) scale(2);
    background: #fff;
    box-shadow: 0 0 25px #fff;
    z-index: 100;
}

.p-taste-marker__tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #050a1a;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.p-taste-marker:hover .p-taste-marker__tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

.p-search-map__axis-label {
    position: absolute;
    width: 110px; height: 110px;
    background: #0a0e1a;
    border: 1px solid var(--shochu-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shochu-gold);
    font-family: var(--font-serif);
    font-size: 1rem;
    z-index: 10;
    text-align: center;
    box-shadow: 0 0 20px rgba(212,175,55,0.2);
}
.p-search-map__axis-label.is-top { top: -55px; left: 50%; transform: translateX(-50%); }
.p-search-map__axis-label.is-bottom { bottom: -55px; left: 50%; transform: translateX(-50%); }
.p-search-map__axis-label.is-left { left: -55px; top: 50%; transform: translateY(-50%); }
.p-search-map__axis-label.is-right { right: -55px; top: 50%; transform: translateY(-50%); }

.p-search-map__quadrant {
    width: 50%; height: 50%; float: left;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.4s;
    text-align: center; padding: 20px;
}
.p-search-map__quadrant:hover { background: rgba(212,175,55,0.1); }
.p-search-map__quadrant-desc { 
    font-size: 1.4rem; 
    color: #fff; 
    font-family: var(--font-serif);
    line-height: 1.6;
    transition: all 0.3s ease;
    padding: 0 15px;
}
.p-search-map__quadrant:hover .p-search-map__quadrant-desc {
    color: var(--shochu-gold);
}

/* 3. BREWERY MAP SECTION */
/* Styles moved to components/brewery-map.php for better encapsulation */

/* UTIL */
.is-fullwidth { width: 100%; max-width: 100% !important; }

@media (max-width: 768px) {
    .p-search-map__grid { max-width: 90%; }
    .p-search-map__axis-label { width: 85px; height: 85px; font-size: 0.85rem; }
    .p-brewery-map__wrapper { aspect-ratio: 1 / 1; }
    .p-bar-hero__copy { font-size: 1.8rem; }
}

/* 4. FOOD PAIRING */
.p-food-pairing { padding: 120px 0; background: #050a1a; }

/* 5. HOW TO ENJOY */
.p-how-to-enjoy { padding: 120px 0; }

