/*
Theme Name: Kane
Theme URI: https://instagram.com/kanecafemalang
Author: Kane Malang
Description: One-page theme for Kane Tasty & Comfy and the Cozycoff by Kane cafes in Malang. Contact details and photos are editable under Appearance → Customize.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kane
*/

:root {
	--navy-900: #091124;
	--navy-800: #0e1c38;
	--navy-700: #14274e;
	--gold: #c9a24b;
	--gold-light: #d9b968;
	--gold-dark: #b78a2a;
	--cream: #f7f1e6;
	--cream-dark: #efe6d5;
	--line: #e7ddc9;
	--ink: #26304a;
	--muted: #5a637a;
	--muted-warm: #8a7a55;
	--pale: #cdd6ea;
	--pale-2: #aab6d0;
	--gutter: 6vw;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--navy-800); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
@keyframes floatUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.site { overflow-x: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.kane-img { width: 100%; height: 100%; object-fit: cover; }

/* Shared bits */
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 4vw, 46px); font-weight: 600; margin: 0; color: var(--navy-700); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }
.section-head--center { display: block; text-align: center; max-width: 620px; margin: 0 auto 54px; }

.btn { display: inline-block; padding: 15px 30px; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.btn--gold { background: var(--gold); color: var(--navy-800); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-800); }
.btn--ghost { border: 1px solid rgba(247,241,230,0.4); color: var(--cream); font-weight: 600; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { padding: 15px 40px; border: 1.5px solid var(--navy-700); color: var(--navy-700); font-weight: 600; }
.btn--outline:hover { background: var(--navy-700); color: var(--cream); }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); background: rgba(14,28,56,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(201,162,75,0.25); }
.admin-bar .site-nav { top: 32px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand__name { font-size: 26px; letter-spacing: 4px; }
.brand__sub { font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.custom-logo-link img { max-height: 44px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--pale); }
.nav-links a:hover { color: var(--gold); }
.nav-reserve { padding: 11px 22px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--cream); }
.nav-toggle svg { display: block; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 90px var(--gutter) 70px; background: var(--navy-800); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,17,36,0.92) 0%, rgba(9,17,36,0.72) 45%, rgba(9,17,36,0.35) 100%); pointer-events: none; }
.hero__content { position: relative; max-width: 620px; color: var(--cream); animation: floatUp 0.8s ease both; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.hero__kicker::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 600; margin: 0 0 22px; }
.hero p { font-size: 18px; line-height: 1.6; color: #c6cfe4; max-width: 500px; margin: 0 0 36px; }
.hero p strong { color: var(--cream); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Reserve bar */
.reserve-bar { position: relative; z-index: 5; margin: -42px var(--gutter) 0; background: var(--navy-700); border-radius: 18px; box-shadow: 0 24px 60px rgba(9,17,36,0.35); padding: 26px 32px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; color: var(--cream); }
.reserve-bar__field { flex: 1; min-width: 200px; }
.reserve-bar__field--sm { min-width: 160px; }
.reserve-bar label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.reserve-bar select { width: 100%; padding: 12px 14px; background: var(--navy-800); color: var(--cream); border: 1px solid rgba(201,162,75,0.4); border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 15px; }
.reserve-bar .btn { padding: 14px 28px; border-radius: 10px; white-space: nowrap; }

/* Menu */
.menu { padding: 96px var(--gutter); }
.menu__more { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.menu-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.dish__img { height: 260px; border-radius: 14px; overflow: hidden; }
.dish__head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 10px; }
.dish h3 { font-size: 20px; font-weight: 600; margin: 0; color: var(--navy-700); }
.dish__price { color: var(--gold-dark); font-weight: 700; font-size: 15px; white-space: nowrap; }
.dish p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.menu-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 56px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.menu-list h3 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 18px; }
.menu-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; }
.menu-list__name { color: var(--ink); font-weight: 500; }
.menu-list__dots { flex: 1; border-bottom: 1px dotted #cbb98f; transform: translateY(-4px); }
.menu-list__price { color: var(--navy-700); font-weight: 600; }
.menu__cta { text-align: center; margin-top: 52px; }

/* Full menu page */
.menu-page { padding: 72px var(--gutter) 96px; }
.menu-page .section-head { margin-bottom: 32px; }
.menu-page .section-head p { max-width: 420px; margin: 0; color: var(--muted); }
.outlet-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.outlet-tabs a { padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy-700); transition: background .2s, color .2s, border-color .2s; }
.outlet-tabs a:hover { border-color: var(--gold); color: var(--navy-700); }
.outlet-tabs a.is-active { background: var(--navy-700); border-color: var(--navy-700); color: var(--cream); }
.menu-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.menu-cats::-webkit-scrollbar { display: none; }
.menu-cats a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--cream-dark); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); }
.menu-cats a:hover { background: var(--gold); color: var(--navy-800); }
.menu-list--full { display: block; columns: 2 320px; column-gap: 56px; margin-top: 32px; }
.menu-list__cat { break-inside: avoid; margin-bottom: 44px; scroll-margin-top: 110px; }
.menu-list--full h2 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 18px; }
.menu-list--full li { display: block; }
.menu-list__row { display: flex; align-items: baseline; gap: 10px; }
.menu-list__price { white-space: nowrap; }
.menu-list__desc, .menu-list__variants { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.menu-list__new { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: var(--navy-800); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; vertical-align: 2px; }
.menu-page__note { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--muted-warm); }
.menu-page__empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* Facilities */
.facilities { padding: 80px var(--gutter); background: var(--navy-800); color: var(--cream); margin-top: 60px; }
.facilities .section-title { color: var(--cream); margin-bottom: 14px; }
.facilities .section-head--center p { font-size: 16px; line-height: 1.6; color: var(--pale-2); margin: 0; }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.facility { position: relative; overflow: hidden; min-height: 250px; border: 1px solid rgba(201,162,75,0.22); border-radius: 14px; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease; }
.facility:hover { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(0,0,0,0.5); border-color: var(--gold); }
.facility__bg { position: absolute; inset: 0; }
.facility__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,28,56,0.45) 0%, rgba(14,28,56,0.82) 60%, rgba(9,17,36,0.92) 100%); pointer-events: none; }
.facility__body { position: relative; padding: 30px 26px; display: flex; flex-direction: column; height: 100%; min-height: 250px; }
.facility h3 { font-size: 20px; font-weight: 600; margin: auto 0 8px; color: var(--cream); }
.facility p { font-size: 14px; line-height: 1.55; color: var(--pale); margin: 0; }

/* Locations */
.locations { padding: 96px var(--gutter) 40px; }
.locations .section-head p { max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.location { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.location__img { position: relative; height: 220px; }
.location__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: var(--gold); color: var(--navy-800); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 999px; }
.location__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.location h3 { font-size: 22px; font-weight: 600; margin: 0; color: var(--navy-700); }
.location__meta { font-size: 13px; color: var(--muted-warm); margin: 0; }
.location__desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 4px 0 0; }
.location__links { display: flex; gap: 16px; margin-top: auto; padding-top: 14px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.location__links a { color: var(--muted); }
.location__links a.location__reserve { color: var(--gold-dark); font-weight: 700; }
.location__links a:hover { color: var(--gold); }
.location--featured { background: var(--navy-700); border: 0; color: var(--cream); }
.location--featured h3 { color: var(--cream); }
.location--featured .location__meta { color: var(--pale-2); }
.location--featured .location__desc { color: var(--pale); }
.location--featured .location__links a { color: var(--pale); }
.location--featured .location__links a.location__reserve { color: var(--gold); }

/* About */
.about { padding: 30px var(--gutter) 96px; }
.about__card { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; background: var(--cream-dark); border-radius: 22px; padding: 54px; }
.about .eyebrow { color: var(--gold-dark); margin-bottom: 14px; }
.about h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 600; margin: 0 0 20px; color: var(--navy-700); line-height: 1.15; }
.about p { font-size: 16px; line-height: 1.7; color: #4a5268; margin: 0 0 16px; }
.about p:last-of-type { margin-bottom: 28px; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat__num { font-size: 38px; color: var(--navy-700); }
.stat__label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-warm); }
.about__img { height: 420px; border-radius: 16px; overflow: hidden; }

/* Testimonials */
.testimonials { padding: 20px var(--gutter) 96px; }
.testimonials .section-head--center { margin-bottom: 46px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.testimonial { margin: 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.testimonial__stars { color: var(--gold); font-size: 20px; margin-bottom: 12px; }
.testimonial p { font-size: 16px; line-height: 1.65; color: #3a4256; margin: 0 0 20px; }
.testimonial footer { font-size: 14px; color: var(--muted-warm); }

/* Contact */
.contact { padding: 84px var(--gutter); background: var(--navy-800); color: var(--cream); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.contact .eyebrow { margin-bottom: 14px; }
.contact h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; margin: 0 0 26px; line-height: 1.1; }
.contact__lead { font-size: 16px; line-height: 1.6; color: var(--pale-2); margin: 0 0 30px; max-width: 440px; }
.contact__details { display: grid; gap: 18px; font-size: 15px; margin: 0 0 32px; }
.contact__row { display: flex; gap: 14px; align-items: flex-start; }
.contact__row dt { color: var(--gold); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; min-width: 74px; padding-top: 2px; }
.contact__row dd { color: var(--pale); margin: 0; }
.contact .btn { padding: 16px 34px; }
.contact__img { height: 380px; border-radius: 18px; overflow: hidden; }
.contact__img iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: #8a97b3; padding: 44px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand__name { font-size: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #8a97b3; }
.footer-links a:hover { color: var(--gold); }
.site-footer__copy { font-size: 12px; }

/* Generic pages / posts */
.content { max-width: 760px; margin: 0 auto; padding: 80px 24px 96px; line-height: 1.7; }
.content h1 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 600; color: var(--navy-700); line-height: 1.1; margin: 0 0 24px; }
.content h2 { color: var(--navy-700); }
.content .entry + .entry { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.content .entry-title a { color: var(--navy-700); }
.content .entry-meta { font-size: 13px; color: var(--muted-warm); text-transform: uppercase; letter-spacing: 1px; margin: -12px 0 24px; }
.content img { height: auto; border-radius: 14px; }
.content .pagination { margin-top: 48px; }

/* Responsive */
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy-800); border-bottom: 1px solid rgba(201,162,75,0.25); padding: 8px var(--gutter) 16px; }
	.nav-links a { display: block; padding: 12px 0; }
	.site-nav.is-open .nav-links { display: flex; }
	.nav-right { gap: 14px; }
}
@media (max-width: 782px) {
	.admin-bar .site-nav { top: 46px; }
}
@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.nav-reserve { padding: 9px 16px; font-size: 12px; }
	.reserve-bar { padding: 22px 20px; }
	.reserve-bar .btn { width: 100%; text-align: center; }
	.about__card { padding: 28px 20px; }
	.about__img { height: 300px; }
	.contact__img { height: 280px; }
	.menu-list { grid-template-columns: 1fr; }
	.facility-grid, .location-grid, .testimonial-grid, .menu-highlights, .about__card, .contact__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero__content { animation: none; }
	.facility, .facility:hover { transition: none; transform: none; }
}
