/* ==========================================================================
   KAMIKI homepage facelift (EN + JP) - visual only, no content changes.
   Prepared 2026-11-12. Loaded last, after the theme CSS and products-slider.css.
   Palette and type follow the "Our Products" slider: cream, ink, gold, rust,
   Cinzel for headings, Cormorant Garamond (EN) / Noto Serif JP (JP) for copy.
   ========================================================================== */

:root {
    --kf-cream: #f5f1ee;
    --kf-cream-2: #efe9e3;
    --kf-ink: #1c1c1e;
    --kf-text: #4f4a45;
    --kf-muted: #77716a;
    --kf-gold: #b8873f;
    --kf-gold-soft: #d8c3a0;
    --kf-rust: #b0634a;
    --kf-night: #0f1114;
    --kf-serif: 'Cormorant Garamond', Georgia, serif;
    --kf-display: 'Cinzel', serif;
}

html[lang="ja"] {
    --kf-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
    --kf-display: 'Cinzel', 'Noto Serif JP', serif;
}

::selection { background: var(--kf-gold-soft); color: var(--kf-ink); }

/* photo sections have a 100px bottom margin; the page behind them shows there */
body { background-color: var(--kf-cream); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
/* The theme's header is transparent over the hero and changes on scroll;
   keep its background, font and size, only add the gold hover. */
#header-wrapper .navbar-nav > li > a,
#header-wrapper a.page-scroll {
    transition: color .25s ease;
}

#header-wrapper .navbar-nav > li > a:hover,
#header-wrapper .navbar-nav > li > a:focus,
#header-wrapper a.page-scroll:hover {
    color: var(--kf-gold);
    background: transparent;
}

/* --------------------------------------------------------------------------
   Section backgrounds: plain white sections become warm cream
   -------------------------------------------------------------------------- */
.page-content:not(.custom-img-background):not(.ky-products) {
    background-color: var(--kf-cream);
}

/* The zig-zag edge under the photo sections was a white PNG; repaint it cream */
.custom-img-background:before {
    background: var(--kf-cream) !important;
    -webkit-mask: url("../img/border-decor.png") repeat-x left bottom;
    mask: url("../img/border-decor.png") repeat-x left bottom;
}

/* --------------------------------------------------------------------------
   Headings, dividers, body copy (everything except the products slider)
   -------------------------------------------------------------------------- */
.page-content:not(.ky-products) .custom-heading h2,
.page-content:not(.ky-products) .custom-heading h3,
.page-content:not(.ky-products) .custom-heading h1 {
    font-family: var(--kf-display);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--kf-ink);
}

.page-content.dark .custom-heading h1,
.page-content.dark .custom-heading h2,
.page-content.dark .custom-heading h3 {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.page-content:not(.ky-products) h5 {
    font-family: var(--kf-display);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--kf-gold);
    margin-bottom: 6px;
}

.page-content:not(.ky-products) .divider .hr-simple {
    background-color: var(--kf-gold-soft);
    border-color: var(--kf-gold-soft);
}

.page-content:not(.ky-products) .divider .hr-icon {
    color: var(--kf-rust);
}

.page-content:not(.ky-products) p,
.page-content:not(.ky-products) li {
    font-family: var(--kf-serif);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--kf-text);
}

html[lang="ja"] .page-content:not(.ky-products) p,
html[lang="ja"] .page-content:not(.ky-products) li {
    font-size: 15px;
    line-height: 2;
}

.page-content.dark p,
.page-content.dark li {
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.page-content:not(.ky-products) a:not(.btn):not(.openVideo):not(.openModal) {
    color: var(--kf-rust);
}

/* Photo sections: a soft dark veil so the white copy always reads */
.page-content.dark.custom-img-background {
    position: relative;
}

.page-content.dark.custom-img-background > .container {
    position: relative;
    z-index: 1;
}

.page-content.dark.custom-img-background:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.10) 0%, rgba(10, 10, 12, 0.38) 55%, rgba(10, 10, 12, 0.20) 100%);
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   Framed cards (Kamiki Whisky intro, Private Cask): thin gold frame
   -------------------------------------------------------------------------- */
.frame-box {
    border: 1px solid var(--kf-gold) !important;
    outline: 10px solid rgba(255, 255, 255, 0.85);
    outline-offset: 0;
    box-shadow: 0 30px 60px rgba(28, 28, 30, 0.18) !important;
    background-color: #fbf9f6 !important;
}

/* --------------------------------------------------------------------------
   Photos in the City / Shrine / Name / Distillery sections
   -------------------------------------------------------------------------- */
.page-content img.border-img {
    border: 1px solid var(--kf-gold-soft);
    padding: 10px;
    background: #fff;
    box-shadow: 0 22px 44px rgba(28, 28, 30, 0.12);
}

/* Carousel dots (distillery) in the slider's gold */
#distillery-carousel .owl-controls .owl-page span {
    background-color: #e4d9cc !important;
}

#distillery-carousel .owl-controls .owl-page.active span {
    background-color: var(--kf-gold) !important;
}

/* --------------------------------------------------------------------------
   Products slider -> contact form: give the contact title room to breathe
   -------------------------------------------------------------------------- */
.ky-products + .page-content {
    padding-top: 90px;
    border-top: 1px solid rgba(184, 135, 63, 0.25);
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.contact-form-extended .wpcf7-text,
.contact-form-extended .wpcf7-textarea,
.contact-form-extended input[type="text"],
.contact-form-extended input[type="email"],
.contact-form-extended textarea {
    font-family: var(--kf-serif);
    font-size: 18px;
    color: var(--kf-ink);
    background: #fff;
    border: 1px solid #ddd2c4;
    border-radius: 0;
    min-height: 52px;
    padding: 12px 16px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-extended textarea,
.contact-form-extended .wpcf7-textarea {
    min-height: 160px;
}

.contact-form-extended .wpcf7-text:focus,
.contact-form-extended .wpcf7-textarea:focus,
.contact-form-extended input:focus,
.contact-form-extended textarea:focus {
    outline: none;
    border-color: var(--kf-gold);
    box-shadow: 0 0 0 3px rgba(184, 135, 63, 0.15);
}

.contact-form-extended ::placeholder {
    color: #9b9289;
    font-style: italic;
}

.page-content .contact-form-extended .btn,
.page-content .contact-form-extended button[type="submit"] {
    font-family: var(--kf-display);
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    background: #262626;
    border: 1px solid #262626;
    border-radius: 0;
    color: var(--kf-cream);
    min-width: 220px;
    min-height: 54px;
    padding: 0 30px;
    transition: background-color .25s ease, border-color .25s ease;
}

.page-content .contact-form-extended .btn:hover,
.page-content .contact-form-extended button[type="submit"]:hover {
    background: var(--kf-gold);
    border-color: var(--kf-gold);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footer-wrapper {
    background: var(--kf-night);
    border-top: 1px solid rgba(184, 135, 63, 0.35);
}

#footer-wrapper p,
#footer-wrapper li,
#footer-wrapper a {
    font-family: var(--kf-serif);
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #c9c0b4;
}

#footer-wrapper a:hover {
    color: var(--kf-gold);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Phone
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .page-content:not(.ky-products) p,
    .page-content:not(.ky-products) li {
        font-size: 18px;
        line-height: 1.65;
    }

    html[lang="ja"] .page-content:not(.ky-products) p,
    html[lang="ja"] .page-content:not(.ky-products) li {
        font-size: 15px;
    }

    .frame-box {
        outline-width: 6px;
    }

    .page-content img.border-img {
        padding: 6px;
    }

    .ky-products + .page-content {
        padding-top: 60px;
    }

    .page-content .contact-form-extended .btn,
    .page-content .contact-form-extended button[type="submit"] {
        width: 100%;
    }
}
