/*
Theme Name: UmuTea Villa
Theme URI: https://umuteavilla.com
Author: UmuTea Villa
Description: Website theme for UmuTea Villa, Kigali's destination for authentic East African food experiences and healthy, unprocessed cooking. Built for Elementor: every page is an Elementor page you can edit. Go to Appearance, UmuTea Setup, and click "Import the UmuTea website" to create the pages, photos, menu and colours in one step. Works with the UmuTea Ordering System (Book and Order buttons).
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.2
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: umutea-villa
Tags: elementor, restaurant, food, full-width-template, custom-logo, custom-menu
*/

/* Fonts are bundled with the theme (SIL Open Font License), so the site never depends on an outside font service. */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/playfair-display-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/playfair-display-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/playfair-display-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/open-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/open-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/open-sans-latin-700-normal.woff2) format('woff2'); }

:root {
	--ut-dark: var(--e-global-color-accent, #0E2B2C);
	--ut-dark-2: var(--e-global-color-utdark2, #133A3B);
	--ut-gold: var(--e-global-color-primary, #E3A73F);
	--ut-cream: var(--e-global-color-utcream, #F6F0E4);
	--ut-text: var(--e-global-color-text, #CFDAD6);
	--ut-leaf: #3E8E53;
	--ut-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--ut-sans: 'Open Sans', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0E2B2C; background: var(--ut-dark); color: var(--ut-text); font: 16px/1.8 var(--ut-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ut-gold); }
a:hover { color: var(--ut-cream); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; background: var(--ut-cream); color: #0E2B2C; padding: 10px 16px; border-radius: 8px; }

/* ── Header ─────────────────────────────────────────────── */
.ut-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 24px; transition: background .3s ease, padding .3s ease, box-shadow .3s ease; }
.admin-bar .ut-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ut-header { top: 46px; } }
.ut-header.is-solid, .ut-header.is-open { background: rgba(14, 43, 44, .97); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.ut-header__inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.ut-logo { display: inline-flex; align-items: center; line-height: 0; flex: none; }
.ut-logo img { height: 58px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); transition: height .3s ease; }
.ut-header.is-solid .ut-logo img { height: 48px; }
.ut-logo__text { font: 700 20px/1 var(--ut-serif); color: #0E2B2C; letter-spacing: 2px; line-height: 1.2; }
.ut-nav { margin-left: auto; background: rgba(14, 43, 44, .82); border: 1px solid rgba(227, 167, 63, .35); border-radius: 999px; padding: 6px 10px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ut-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.ut-nav li { position: relative; }
.ut-header .ut-nav a { display: block; padding: 9px 15px; color: var(--ut-cream); text-decoration: none; font: 400 14px/1 var(--ut-serif); letter-spacing: .5px; border-radius: 999px; transition: background .2s, color .2s; }
.ut-header .ut-nav a:hover, .ut-header .ut-nav .current-menu-item > a, .ut-header .ut-nav .current_page_item > a { background: var(--ut-gold); color: #0E2B2C; }
.ut-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #0E2B2C; border: 1px solid rgba(227, 167, 63, .35); border-radius: 14px; padding: 8px; flex-direction: column; }
.ut-nav li:hover > .sub-menu, .ut-nav li:focus-within > .sub-menu { display: flex; }
.ut-header .ut-book { flex: none; display: inline-block; background: var(--ut-gold); color: #0E2B2C; text-decoration: none; font: 600 13px/1 var(--ut-serif); letter-spacing: 2px; text-transform: uppercase; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ut-gold); transition: background .2s, color .2s; }
.ut-header .ut-book:hover { background: transparent; color: var(--ut-gold); }
.ut-burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(227, 167, 63, .5); background: rgba(14, 43, 44, .85); cursor: pointer; padding: 0; }
.ut-burger span, .ut-burger span::before, .ut-burger span::after { display: block; width: 20px; height: 2px; background: var(--ut-gold); margin: 0 auto; position: relative; transition: transform .25s, background .25s; }
.ut-burger span::before, .ut-burger span::after { content: ''; position: absolute; left: 0; }
.ut-burger span::before { top: -6px; }
.ut-burger span::after { top: 6px; }
.ut-header.is-open .ut-burger span { background: transparent; }
.ut-header.is-open .ut-burger span::before { transform: translateY(6px) rotate(45deg); }
.ut-header.is-open .ut-burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
	.ut-burger { display: block; }
	.ut-header .ut-book { padding: 12px 16px; letter-spacing: 1px; }
	.ut-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; border-radius: 20px; padding: 12px; background: rgba(14, 43, 44, .98); }
	.ut-header.is-open .ut-nav { display: block; }
	.ut-nav ul { flex-direction: column; }
	.ut-header .ut-nav a { padding: 14px 16px; font-size: 16px; }
	.ut-nav .sub-menu { display: flex; position: static; border: 0; padding: 0 0 0 14px; }
	.ut-header__inner { position: relative; flex-wrap: nowrap; }
	.ut-logo img, .ut-header.is-solid .ut-logo img { height: 44px; }
}
@media (max-width: 480px) {
	.ut-header { padding: 12px 14px; }
	.ut-logo img, .ut-header.is-solid .ut-logo img { height: 36px; }
	.ut-header .ut-book { font-size: 11px; padding: 11px 13px; }
}

/* ── Template details: rings, panels, framed photos ─────── */
.ut-rings, .ut-rings-left, .ut-hero, .ut-closing { position: relative; overflow: hidden !important; overflow: clip !important; }
body { overflow-x: hidden; }
.ut-rings::after, .ut-rings-left::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; pointer-events: none; z-index: 0;
	background: repeating-radial-gradient(circle, transparent 0 16px, rgba(120, 175, 170, .16) 16px 26px); }
.ut-rings::after { right: -110px; bottom: -110px; }
.ut-rings-left::after { left: -120px; top: 60px; }
.ut-rings > .e-con-inner, .ut-rings-left > .e-con-inner, .ut-rings > .e-con, .ut-rings-left > .e-con, .ut-rings > .elementor-element, .ut-rings-left > .elementor-element { position: relative; z-index: 1; }

/* the cream block behind the photo, as in the template */
.elementor .ut-panel-left { background-image: linear-gradient(90deg, var(--ut-cream) 0, var(--ut-cream) 16%, transparent 16%); }
.elementor .ut-panel-right { background-image: linear-gradient(270deg, var(--ut-cream) 0, var(--ut-cream) 14%, transparent 14%); }
@media (max-width: 1024px) {
	.elementor .ut-panel-left, .elementor .ut-panel-right { background-image: linear-gradient(180deg, var(--ut-cream) 0, var(--ut-cream) 150px, transparent 150px); }
	.elementor .ut-panel-right { background-image: linear-gradient(0deg, var(--ut-cream) 0, var(--ut-cream) 150px, transparent 150px); }
}

.ut-sec .elementor-widget-image img, .ut-card img { box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.ut-card { text-align: center; }
.ut-card .elementor-widget-text-editor { flex-grow: 1; }
.ut-chip .elementor-heading-title { white-space: nowrap; }
.ut-info { transition: transform .25s, border-color .25s; }
.ut-info:hover { transform: translateY(-4px); border-color: var(--ut-gold) !important; }
.ut-ceo-badge { margin: -80px 20px 0 auto !important; max-width: 300px; position: relative; z-index: 2; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
@media (max-width: 767px) { .ut-ceo-badge { margin: -60px 12px 0 auto !important; max-width: 82%; } }
.ut-gallery .gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s ease; }
.ut-gallery .gallery-item:hover img { transform: scale(1.03); }
.ut-gallery .gallery-icon { overflow: hidden; border-radius: 18px; }
.ut-map iframe { border-radius: 20px; display: block; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(227, 167, 63, .6); }
.ut-btn .elementor-button { transition: background .2s, color .2s, border-color .2s; }

/* ── Plain pages, posts and the fallback when Elementor is off ── */
.ut-main { min-height: 60vh; }
.ut-plain { max-width: 860px; margin: 0 auto; padding: 170px 24px 90px; }
.ut-plain h1, .ut-plain h2, .ut-plain h3 { font-family: var(--ut-serif); color: var(--ut-gold); text-transform: uppercase; letter-spacing: 1px; line-height: 1.15; }
.ut-plain h1 { font-size: clamp(36px, 6vw, 64px); margin: 0 0 24px; }
.ut-plain img { border-radius: 20px; border: 4px solid var(--ut-gold); }
.ut-plain .ut-entry { margin-bottom: 60px; }
.ut-plain .ut-entry h2 a { color: var(--ut-gold); text-decoration: none; }
.ut-pagination { display: flex; gap: 10px; justify-content: center; }

/* ── Footer ─────────────────────────────────────────────── */
.ut-footer { background: #0A2122; color: var(--ut-text); border-top: 3px solid var(--ut-gold); }
.ut-footer__grid { max-width: 1200px; margin: 0 auto; padding: 70px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ut-footer h4 { font: 600 14px/1.4 var(--ut-serif); color: var(--ut-gold); text-transform: uppercase; letter-spacing: 4px; margin: 0 0 18px; }
.ut-footer p { margin: 0 0 10px; font-size: 15px; }
.ut-footer a, .ut-footer .menu a { color: var(--ut-text); text-decoration: none; }
.ut-footer a:hover, .ut-footer .menu a:hover { color: var(--ut-gold); }
.ut-footer ul { list-style: none; margin: 0; padding: 0; }
.ut-footer li { margin-bottom: 8px; }
.ut-footer__logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.ut-footer__logo img { height: 64px; width: auto; }
.ut-footer__tag { font: italic 400 18px/1.5 var(--ut-serif); color: var(--ut-cream); }
.ut-social { display: flex; gap: 10px; margin-top: 14px; }
.ut-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid rgba(227, 167, 63, .5); border-radius: 999px; font-size: 13px; }
.ut-social a:hover { background: var(--ut-gold); color: #0E2B2C; }
.ut-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; padding: 20px 24px; font-size: 13px; color: #8FA6A1; }
@media (max-width: 900px) { .ut-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ut-footer__grid { grid-template-columns: 1fr; padding-top: 50px; } }
