/* nicepage.css — framework layer for warungnasiibuimas.com
   The original site was built with Nicepage 7.3.1. This file provides the
   utility/grid/nav framework needed by the original markup.
   Theme-specific values live in index.css. */

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.u-body {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: #2b2b2b;
  line-height: 1.55;
  background: #ffffff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6rem; font-weight: 700; line-height: 1.2; }
ul { margin: 0; padding: 0; list-style: none; }

.u-clearfix::after { content: ""; display: table; clear: both; }
.u-unstyled { list-style: none; margin: 0; padding: 0; }

/* ---------- Sheet / containers ---------- */
.u-sheet {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
}
.u-container-style { position: relative; }
.u-container-layout { position: relative; padding: 30px; }
.u-inner-container-layout { position: relative; }
.u-expanded-width { width: 100% !important; }

/* ---------- Colors (defaults; overridden in index.css) ---------- */
.u-white { background-color: #ffffff; }
.u-black { background-color: #000000; }
.u-text-white { color: #ffffff; }
.u-text-black { color: #222222; }
.u-text-body-color { color: #2b2b2b; }
.u-text-body-alt-color { color: #ffffff; }
.u-text-variant { color: rgba(255,255,255,.85); }

.u-opacity-70 { opacity: .70; }
.u-opacity-95 { opacity: .95; }
.u-radius, .u-shape-round { border-radius: 14px; }
.u-shape-rectangle { border-radius: 0; }

/* ---------- Alignment utilities ---------- */
.u-align-left { text-align: left; }
.u-align-center { text-align: center; }
.u-align-justify { text-align: justify; }

/* ---------- Header / nav ---------- */
.u-header {
  position: relative;
  width: 100%;
  z-index: 50;
}
.u-sticky { position: sticky; top: 0; left: 0; }
.u-header .u-sheet-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 16px;
}
.u-logo { display: inline-flex; align-items: center; }
.u-logo-image { height: 60px; width: auto; border-radius: 50%; }

.u-menu { display: flex; align-items: center; }
.u-nav { display: flex; align-items: center; }
.u-nav-1 { gap: 4px; }
.u-nav-item { position: relative; }
.u-nav-link {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .3px;
  color: #ffffff;
  transition: color .2s ease, background-color .2s ease;
}
.u-nav-1 .u-nav-link:hover { color: #ffe3c2; }

/* dropdown popups (kept harmless; placeholders removed from markup) */
.u-nav-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 8px 0;
  background: rgba(0,0,0,.85);
  border-radius: 8px;
  z-index: 60;
}
.u-nav-item:hover > .u-nav-popup { display: block; }
.u-h-spacing-20 { padding-left: 10px; padding-right: 10px; }
.u-v-spacing-10 li { margin: 4px 0; }

/* hamburger (mobile only) */
.menu-collapse { display: none; }
.u-hamburger-link { display: inline-flex; align-items: center; padding: 10px; color: #fff; }
.u-hamburger-link .u-svg-link { width: 28px; height: 28px; fill: currentColor; }

/* offcanvas sidenav */
.u-nav-container-collapse {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.u-sidenav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  max-width: 82vw;
  padding: 70px 22px 22px;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
  z-index: 210;
}
.u-menu-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .28s ease;
  z-index: 205;
}
.u-menu-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 26px; height: 26px;
  cursor: pointer;
}
.u-menu-close::before, .u-menu-close::after {
  content: ""; position: absolute; top: 12px; left: 0;
  width: 26px; height: 2px; background: #fff;
}
.u-menu-close::before { transform: rotate(45deg); }
.u-menu-close::after { transform: rotate(-45deg); }
.u-popupmenu-items .u-nav-link { display: block; padding: 12px 6px; font-size: 1.15rem; }
.u-popupmenu-items .u-nav-popup { position: static; display: block; background: transparent; padding: 0 0 0 14px; }
.u-popupmenu-items .u-nav-popup .u-nav-link { font-size: .95rem; opacity: .85; }

/* open state (toggled by nicepage.js) */
body.u-menu-open .u-nav-container-collapse { pointer-events: auto; visibility: visible; }
body.u-menu-open .u-sidenav { transform: translateX(0); }
body.u-menu-open .u-menu-overlay { opacity: .7; }

/* ---------- Sections & layout grid ---------- */
section { position: relative; }
.u-section-1, .u-section-2, .u-section-3, .u-section-4 { width: 100%; }

.u-layout-wrap { position: relative; }
.u-layout { width: 100%; }
.u-layout-row { display: flex; flex-wrap: wrap; align-items: stretch; }
.u-layout-col { display: flex; flex-direction: column; width: 100%; }
.u-layout-cell { position: relative; flex: 1 1 0; min-width: 0; }
.u-gutter-0 .u-layout-cell { padding: 0; }

.u-group { position: relative; width: 100%; }
.u-expanded-width-xs, .u-expanded-width-sm, .u-expanded-width-md { }

/* valign helpers */
.u-valign-top-lg, .u-valign-top-md, .u-valign-top-sm, .u-valign-top-xl { align-self: flex-start; }
.u-valign-middle, .u-valign-middle-lg, .u-valign-middle-xl, .u-valign-middle-xs { display: flex; flex-direction: column; justify-content: center; }
.u-valign-bottom, .u-valign-bottom-md, .u-valign-bottom-sm { display: flex; flex-direction: column; justify-content: flex-end; }

/* ---------- Buttons / inline links ---------- */
.u-btn, .u-button-style { display: inline-block; cursor: pointer; }
.u-button-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.u-button-link:hover { text-decoration: none; }

/* ---------- Background image sections ---------- */
.u-image { background-position: center center; background-size: cover; background-repeat: no-repeat; }
.u-shading::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 0;
}
.u-shading > * { position: relative; z-index: 1; }

/* ---------- Icons ---------- */
.u-icon { display: inline-flex; align-items: center; justify-content: center; }
.u-icon svg, .u-icon .u-svg-link, .u-icon .u-svg-content { width: 100%; height: 100%; display: block; fill: currentColor; }
.u-icon-circle {
  width: 74px; height: 74px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  fill: currentColor;
}
.u-social-icons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.u-social-icons .u-icon { width: 44px; height: 44px; padding: 10px; }
.u-social-url { display: inline-flex; }
.u-social-icon { background: rgba(255,255,255,.18); transition: background-color .2s ease, transform .2s ease; }
.u-social-url:hover .u-social-icon { background: rgba(255,255,255,.35); transform: translateY(-2px); }
.u-spacing-10 { gap: 10px; }

/* ---------- Footer ---------- */
.u-footer { width: 100%; }
.u-footer .u-sheet-1 { display: flex; align-items: center; justify-content: center; min-height: 64px; }
.u-small-text { font-size: .9rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .u-nav-1 { display: none; }
  .menu-collapse { display: inline-flex; }
}
@media (max-width: 768px) {
  .u-layout-row { flex-direction: column; }
  .u-layout-cell { flex: 1 1 100%; width: 100% !important; }
  .u-container-layout { padding: 22px; }
}
