/* ===========================
   KPP Hotel — Global Styles
   =========================== */

:root {
  --navy: #0d2b57;
  --blue: #16468f;
  --blue-light: #2e6fd6;
  --gold: #c9a24b;
  --off-white: #f7f8fa;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 43, 87, 0.08);
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #1f2937;
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; color: #374151; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.tagline-script {
  font-family: 'Dancing Script', cursive;
  color: var(--blue-light);
  font-size: 1.15rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(22, 70, 143, 0.35);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201, 162, 75, 0.4); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(13, 43, 87, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.brand-text .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand-text .slogan {
  font-family: 'Dancing Script', cursive;
  color: var(--blue-light);
  font-size: 0.95rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  color: #374151;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--blue) 70%);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 110px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.3em;
}

.hero .tagline-script {
  color: #cfe0ff;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-skyline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  opacity: 0.18;
  z-index: 1;
}

/* small page-header variant for interior pages */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--blue) 70%);
  color: var(--white);
  padding: 64px 24px 70px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto; }

/* ---------- Section utilities ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--white); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Image placeholders ---------- */
.img-placeholder {
  background: linear-gradient(135deg, #dce6f7, #f0f4fb);
  border: 1.5px dashed #a9c0e6;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
  min-height: 220px;
}
.img-placeholder .icon { font-size: 2rem; display: block; margin-bottom: 8px; }

/* ---------- Grids / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .card-img { width: 100%; height: 240px; object-fit: cover; display: block; }
.card .card-body { padding: 22px 22px 26px; }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card .price {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.card ul { padding-left: 18px; margin: 0 0 16px; color: var(--gray); font-size: 0.92rem; }
.card ul li { margin-bottom: 4px; }

.feature {
  text-align: center;
  padding: 10px;
}
.feature .icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(22, 70, 143, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.notice-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Menu list (Cafe) ---------- */
.menu-list { max-width: 640px; margin: 0 auto; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 600; color: var(--navy); }
.menu-item .desc { color: var(--gray); font-size: 0.88rem; margin-top: 2px; }
.menu-item .price { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* ---------- Photo gallery grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* ---------- Video ---------- */
.video-frame {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  max-height: 520px;
  background: #000;
}

/* ---------- Lightbox ---------- */
.zoomable { cursor: zoom-in; transition: opacity 0.15s ease; }
.zoomable:hover { opacity: 0.9; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 43, 87, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 300;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(22, 70, 143, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-row .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); margin-bottom: 2px; }
.contact-row .value { font-weight: 600; color: var(--navy); }
.contact-row a.value:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrap.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: 0 12px 20px rgba(13,43,87,0.08);
    gap: 18px;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 20px 80px; }
}
