/*
Theme Name: Umberto Modern
Theme URI: https://umberto.com.pl/
Author: Umberto
Description: A warm, modern, responsive theme for Umberto Cafe & Ristorante in Park Cytadela.
Version: 1.0.7
Text Domain: umberto-modern
*/

@font-face {
  font-family: "Umberto Bookman";
  src: url("assets/fonts/bookman.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #2d211d;
  --paper: #fbf4e4;
  --cream: #fffaf0;
  --wine: #7b1f2d;
  --wine-dark: #54121d;
  --leaf: #536a3a;
  --gold: #c9903e;
  --line: rgba(45, 33, 29, .14);
  --serif: "Umberto Bookman", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wide: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
p { margin-top: 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(45, 25, 22, .96); box-shadow: 0 10px 30px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - 40px), var(--wide)); min-height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 168px; max-height: 72px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: #ffd996; }
.nav-cta { padding: 12px 19px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; color: white; font: inherit; }
.social-links { display: flex; align-items: center; gap: 9px; }
.social-links a { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; transition: color .2s, background .2s, transform .2s; }
.social-links a:hover { color: var(--wine-dark); background: #f6ce8a; transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links .fill-icon { fill: currentColor; stroke: none; }
.social-links--header { gap: 6px; }
.social-links--header a { width: 32px; height: 32px; }
.social-links a[href*="instagram.com"] { order: 1; }
.social-links a[href*="facebook.com"] { order: 2; }
.social-links a[href*="embargoapp.com"] { order: 3; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-main { overflow: hidden; }
.hero { position: relative; isolation: isolate; min-height: 96vh; display: grid; align-items: end; color: #fff; overflow: hidden; background: #1a1310; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(26,19,16,.84) 0%, rgba(26,19,16,.46) 48%, rgba(26,19,16,.12) 78%); }
.hero-slides { position: absolute; z-index: -2; inset: 0; }
.hero-slide { position: absolute; inset: -2%; opacity: 0; background-position: center; background-size: cover; animation: umberto-hero 24s infinite; transform: scale(1.03); }
.hero-slide--1 { background-image: url("assets/images/garden.jpg"); animation-delay: 0s; }
.hero-slide--2 { background-image: url("assets/images/atmosphere.jpg"); animation-delay: 6s; }
.hero-slide--3 { background-image: url("assets/images/interior.jpg"); animation-delay: 12s; }
.hero-slide--4 { background-image: url("assets/images/playground.jpg"); animation-delay: 18s; }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--wide)); margin: 0 auto; padding: 210px 0 104px; }
@keyframes umberto-hero {
  0% { opacity: 0; transform: scale(1.03); }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
.eyebrow { margin-bottom: 20px; color: #f6ce8a; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(3.6rem, 9vw, 8.3rem); color: #fff; }
.hero-copy { max-width: 630px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.9); }
.hero-actions, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.wp-block-button__link, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--wine); color: white; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .2s, background .2s; }
.wp-block-button__link:hover, .button:hover { transform: translateY(-2px); background: var(--wine-dark); }
.is-style-outline .wp-block-button__link { border: 1px solid currentColor; background: transparent; color: inherit; }
.button.is-outline { border: 1px solid rgba(255,255,255,.8); background: transparent; }
.button.is-outline:hover { background: rgba(255,255,255,.12); }

.quick-info { position: relative; z-index: 3; width: min(calc(100% - 40px), var(--wide)); margin: -46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--wine); color: white; border-radius: 22px; box-shadow: 0 28px 70px rgba(84,18,29,.26); }
.quick-info > div { padding: 30px 34px; border-right: 1px solid rgba(255,255,255,.18); }
.quick-info > div:last-child { border-right: 0; }
.quick-info strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 1.2rem; }
.quick-info span { color: rgba(255,255,255,.78); font-size: .9rem; }

.section { padding: clamp(88px, 11vw, 150px) 20px; }
.section-inner { width: min(100%, var(--wide)); margin: auto; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 180px 180px 24px 24px; }
.split-media::after { content: "Park Cytadela"; position: absolute; right: -24px; bottom: 40px; padding: 16px 22px; background: var(--paper); color: var(--wine); border-radius: 99px; font-family: var(--serif); box-shadow: 0 16px 36px rgba(0,0,0,.12); transform: rotate(-5deg); }
.section-copy { max-width: 600px; }
.section-copy p { color: #655852; font-size: 1.08rem; }
.section-label { color: var(--wine); font-size: .75rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }

.experience { background: var(--paper); }
.experience-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 56px; }
.experience-head h2 { max-width: 770px; margin-bottom: 0; }
.experience-head p { max-width: 390px; margin-bottom: 8px; color: #6d5e57; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 480px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; color: white; border-radius: 20px; overflow: hidden; background-position: center; background-size: cover; box-shadow: inset 0 -220px 130px -100px rgba(25,15,12,.88); }
.feature-card:nth-child(1) { background-image: url("assets/images/dish.jpg"); }
.feature-card:nth-child(2) { background-image: url("assets/images/garden-card.jpg"); }
.feature-card:nth-child(3) { background-image: url("assets/images/playground.jpg"); }
.feature-card h3 { margin-bottom: 10px; font-size: 2rem; }
.feature-card p { margin-bottom: 0; color: rgba(255,255,255,.82); }

.umberciaki { background: var(--wine-dark); color: #fff; }
.umberciaki .split-media img { border-radius: 24px; aspect-ratio: 4/3; }
.umberciaki .split-media::after { content: "Umberciaki"; background: #f4c95d; color: var(--wine-dark); }
.umberciaki .section-copy p { color: rgba(255,255,255,.76); }

.gallery-head { max-width: 830px; margin-bottom: 52px; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 310px 310px; gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 18px; }
.gallery-grid figure:first-child { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.035); }

.contact { padding-top: 0; }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; background: var(--ink); color: white; border-radius: 28px; }
.contact-copy { padding: clamp(46px, 7vw, 90px); }
.contact-copy h2 { max-width: 650px; color: white; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0; }
.contact-list strong { display: block; color: #f6ce8a; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a { text-decoration: none; }
.contact-image { min-height: 560px; background: url("assets/images/interior.jpg") center/cover; }
.social-block { margin-top: 34px; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.social-block > span { color: #f6ce8a; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.social-links--contact a { width: 46px; height: 46px; }

.site-footer { padding: 40px 20px; background: #211713; color: rgba(255,255,255,.68); }
.footer-inner { width: min(100%, var(--wide)); margin: auto; display: flex; justify-content: space-between; gap: 24px; }
.site-footer a { color: white; }

.entry-content > *:not(.alignfull) { width: min(calc(100% - 40px), 900px); margin-left: auto; margin-right: auto; }
.entry-content > .alignfull { width: 100%; }
.page-default { padding: 150px 20px 80px; }

@media (max-width: 900px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 135px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 28px 20px; flex-direction: column; align-items: flex-start; background: var(--wine-dark); }
  .site-nav.is-open { display: flex; }
  .hero { min-height: 86vh; }
  .hero-inner { padding-top: 170px; }
  .quick-info { grid-template-columns: 1fr; margin-top: -25px; }
  .quick-info > div { padding: 22px 26px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .split, .contact-card { grid-template-columns: 1fr; }
  .experience-head { display: block; }
  .cards { grid-template-columns: 1fr; }
  .feature-card { min-height: 380px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 240px 240px; }
  .gallery-grid figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .contact-image { min-height: 380px; order: -1; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 3.35rem; }
  .section { padding-left: 20px; padding-right: 20px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 280px); }
  .gallery-grid figure:first-child { grid-column: auto; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .social-block { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide--1 { opacity: 1; }
}

