/* =========================================================
   SC Dubina – main.css
   Barvy řídí CSS proměnné plněné z Customizeru (wp_head):
   --accent, --accent-2, --accent-amber, --dark, --heading, --body
   ========================================================= */

:root {
	--accent: #6db8e8;
	--accent-2: #3d8fc4;
	--accent-light: #aee0ff;
	--accent-amber: #e8924a;
	--dark: #0a1628;
	--dark-2: #0e1d33;
	--card: #16243d;
	--card-soft: #28324a;
	--navy-line: rgba(255,255,255,.10);
	--heading: #ffffff;
	--body: #b9c3d2;
	--radius: 26px;
	--radius-sm: 16px;
	--max: 1200px;
	--font: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--body); line-height: 1.65; background: var(--dark); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Typografie ---------- */
.eyebrow {
	display: inline-block;
	font-size: .82rem; font-weight: 700;
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--accent-amber); margin-bottom: 18px;
}

.section-title {
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 800; line-height: 1.05;
	letter-spacing: -.02em; margin-bottom: 26px;
	color: var(--heading);
}
.section-title .line2, .hero-title .line2 { color: var(--accent); }

h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; color: var(--heading); }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--heading); }
p { margin-bottom: 14px; color: var(--body); }
p.light { color: var(--body); }

/* ---------- Tlačítka ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 15px 32px; border-radius: 999px;
	font-weight: 700; font-size: .92rem; cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform .15s ease, box-shadow .2s, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .05em; }
.btn-accent {
	background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 45%, var(--accent-2) 100%);
	color: #08243b; box-shadow: 0 10px 28px rgba(61,143,196,.4);
}
.btn-accent:hover { box-shadow: 0 14px 36px rgba(61,143,196,.55); }
.btn-outline { background: transparent; border-color: rgba(110,184,232,.5); color: var(--accent); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; }
.btn-outline:hover { border-color: var(--accent); background: rgba(110,184,232,.12); color: var(--heading); }
.btn-pill { background: var(--card-soft); color: var(--heading); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; padding: 14px 26px; }
.btn-pill:hover { background: #34405c; }

.mail-link { color: var(--accent); font-weight: 700; }
.mail-link:hover { text-decoration: underline; }

/* ---------- Karty ---------- */
.card-box { background: var(--card); border-radius: var(--radius); padding: 40px; }
.card-box.bordered { background: transparent; border: 1px solid var(--navy-line); }
.card-box.soft { background: var(--card-soft); }

/* ---------- Hlavička ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	background: rgba(10,22,40,.85); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--navy-line);
}
/* Hlavička jde přes celou šířku okna – nedrží se úzkého kontejneru */
.site-header .container {
	max-width: none;
	width: 100%;
	padding-left: 32px;
	padding-right: 32px;
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	height: 80px; gap: 24px;
	flex-wrap: nowrap;          /* nic se nezalomí pod sebe */
}
.logo { flex-shrink: 0; }
.logo img { max-height: 52px; width: auto; }
.logo-text {
	font-weight: 900; font-size: 1.25rem; letter-spacing: .03em;
	color: var(--heading);
	white-space: nowrap;        /* "SC Dubina" na jednom řádku */
}
.main-nav {
	display: flex; align-items: center;
	gap: 2px; margin: 0 auto;
	flex-wrap: nowrap;
}
.main-nav a {
	font-size: .95rem; font-weight: 500; color: var(--body);
	padding: 9px 15px; border-radius: 999px; border: 1px solid transparent;
	transition: color .2s, border-color .2s;
	white-space: nowrap;        /* "Akce a turnaje" na jednom řádku */
}
.main-nav a:hover { color: var(--heading); }
.main-nav a.active { border-color: var(--accent); color: var(--heading); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-actions .btn { white-space: nowrap; }
.lang-switch { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; flex-shrink: 0; }
.lang-btn { background: none; border: none; padding: 7px 15px; font-size: .82rem; font-weight: 700; cursor: pointer; color: var(--body); border-radius: 999px; white-space: nowrap; }
.lang-btn.is-active { background: #fff; color: var(--dark); }
.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(--heading); transition: .25s; }

/* Na užších obrazovkách zmenšíme mezery a písmo, ať se menu pořád vejde */
@media (max-width: 1400px) {
	.main-nav a { padding: 9px 11px; font-size: .9rem; }
	.header-actions .btn-accent { padding: 13px 22px; font-size: .85rem; }
}
@media (max-width: 1150px) {
	.main-nav a { padding: 8px 8px; font-size: .85rem; }
	.header-actions .btn-accent { padding: 12px 18px; font-size: .8rem; }
	.header-inner { gap: 14px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	text-align: center;
	background-color: var(--dark);
	background-size: cover; background-position: center; background-repeat: no-repeat;
	padding: 80px 0;
}
.hero-inner { max-width: 1050px; }
.hero .eyebrow { letter-spacing: .3em; }
.hero-title {
	font-weight: 800; font-size: clamp(3.4rem, 11vw, 9rem);
	line-height: .95; letter-spacing: -.01em; margin: 4px 0 24px;
	color: var(--heading); text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--body); margin-bottom: 36px; }
.scroll-hint {
	position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
	font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--body);
}
.scroll-hint::after { content: ''; display: block; width: 1px; height: 40px; background: rgba(255,255,255,.4); margin: 12px auto 0; }

/* ---------- Sekce ---------- */
.section { padding: 100px 0; }
.dark-section { background: var(--dark); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }

/* ---------- O nás ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-badge {
	position: absolute; left: 22px; bottom: 22px;
	background: rgba(10,22,40,.82); backdrop-filter: blur(6px);
	border-radius: var(--radius-sm); padding: 18px 26px; max-width: 70%;
}
.about-badge-num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--accent-amber); line-height: 1; }
.about-badge-text { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--heading); margin-top: 4px; }

/* ---------- Sporty ---------- */
.sports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.sport-card {
	display: flex; align-items: center; gap: 16px;
	background: var(--card); border-radius: var(--radius-sm);
	padding: 24px 26px;
	transition: transform .15s ease, background .2s;
}
.sport-card:hover { transform: translateY(-3px); background: var(--card-soft); }
.sport-ico {
	width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	color: #08243b; display: flex; align-items: center; justify-content: center;
}
.sport-ico svg { width: 22px; height: 22px; }
.sport-name { font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.sports-note { max-width: 560px; margin: 0 auto; }

/* ---------- Ceník (zpráva) ---------- */
.pricing-message { max-width: 760px; margin: 0 auto; padding: 56px 44px; }
.pricing-ico {
	width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 22px;
	background: rgba(110,184,232,.15); color: var(--accent);
	display: flex; align-items: center; justify-content: center;
}
.pricing-ico svg { width: 26px; height: 26px; }
.pricing-msg { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.pricing-note { margin-bottom: 26px; }

/* ---------- Akce a turnaje ---------- */
.tour-card .section-title { margin-top: 4px; margin-bottom: 12px; }
.tour-text { font-size: 1.1rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--dark-2); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
	background: var(--card); border-radius: var(--radius-sm);
	border: 1px solid transparent;
	overflow: hidden;
}
.faq-item[open] { border-color: rgba(110,184,232,.35); }
.faq-item summary {
	list-style: none; cursor: pointer;
	padding: 22px 56px 22px 26px;
	font-weight: 700; color: var(--heading); font-size: 1.02rem;
	position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+'; position: absolute; right: 24px; top: 50%;
	transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%;
	background: rgba(110,184,232,.15); color: var(--accent);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 1.1rem;
	transition: transform .2s;
}
.faq-item[open] summary::after { content: '–'; }
.faq-a { padding: 0 26px 22px; }
.faq-a p { margin-bottom: 0; }

/* ---------- Stacked karty ---------- */
.stacked-wrap { display: grid; gap: 30px; }
.rental-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.rental-list li { display: flex; gap: 10px; font-size: 1.05rem; color: var(--body); }
.rental-list strong { color: var(--accent-amber); }
.row-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.row-card-text { flex: 1; }
.row-card-text p { margin-bottom: 0; }
.row-card .btn { flex-shrink: 0; }

.hours-head { display: flex; align-items: center; gap: 22px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--navy-line); }
.hours-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(110,184,232,.15); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.hours-icon svg { width: 22px; height: 22px; }
.hours-head-text { flex: 1; }
.hours-head-text h3 { margin-bottom: 2px; }
.hours-head-text p { margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.contact-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--body); margin-bottom: 4px; opacity: .8; }
.contact-item a { display: block; font-size: 1.15rem; font-weight: 600; color: var(--heading); }
.contact-item a:hover { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--navy-line); }
.contact-map { position: relative; }
.contact-map img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.map-marker {
	position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%);
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--accent); color: #08243b;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 8px rgba(110,184,232,.25);
}
.map-marker svg { width: 24px; height: 24px; }
.map-pin-label {
	position: absolute; top: calc(42% + 40px); left: 50%; transform: translateX(-50%);
	background: var(--dark); color: var(--heading); font-size: .8rem; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: 10px;
	white-space: nowrap;
}

/* ---------- Patička ---------- */
.site-footer { background: var(--dark); padding: 80px 0 34px; border-top: 1px solid var(--navy-line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-line); }
.footer-brand .logo img { max-height: 50px; margin-bottom: 18px; }
.footer-tagline { color: var(--body); max-width: 320px; }
.footer-col h4 { color: var(--heading); }
.footer-col a { display: block; color: var(--body); font-size: .92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 14px; }
.footer-copy { color: var(--body); font-size: .88rem; opacity: .75; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: var(--body); font-size: .9rem; }
.footer-social a:hover { color: var(--accent); }

/* ---------- Stránky ---------- */
.page-content { padding-top: 170px; background: var(--dark); min-height: 60vh; }
.entry-content { font-size: 1.05rem; color: var(--body); }
.entry-content h2 { margin: 30px 0 14px; color: var(--heading); }
.entry-content ul { margin: 0 0 18px 22px; }
.entry-content a { color: var(--accent); }

/* ---------- Responzivita ---------- */
@media (max-width: 980px) {
	.about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
	.sports-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.site-header .container { padding-left: 20px; padding-right: 20px; }
	.main-nav {
		position: fixed; top: 80px; left: 0; right: 0; background: var(--dark);
		flex-direction: column; gap: 0; padding: 10px 24px 24px; margin: 0;
		border-bottom: 1px solid var(--navy-line);
		transform: translateY(-150%); transition: transform .3s ease;
		box-shadow: 0 10px 30px rgba(0,0,0,.4);
	}
	.main-nav.is-open { transform: translateY(0); }
	.main-nav a { padding: 14px 0; border-radius: 0; border: none; border-bottom: 1px solid var(--navy-line); font-size: 1rem; white-space: normal; }
	.nav-toggle { display: flex; }
	.header-actions .btn-accent { display: none; }
	.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
	.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.section { padding: 70px 0; }
	.card-box { padding: 28px; }
	.pricing-message { padding: 36px 24px; }
	.sports-grid { grid-template-columns: 1fr; }
	.row-card { flex-direction: column; align-items: flex-start; }
	.hours-head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.footer-grid { grid-template-columns: 1fr; }
}
