/* ============================================================
   Domeček Hořovice – Frontend CSS
   ============================================================ */

:root {
	--primary:     #e8882a;   /* oranžová z loga */
	--primary-dark:#c96e18;
	--secondary:   #3a8c8a;   /* teal z loga – hlavní text */
	--secondary-dark:#2a6b69;
	--teal:        #3a8c8a;
	--teal-light:  #7ecbca;   /* světlý tyrkys z loga */
	--purple:      #c0417a;   /* fialová/magenta ze střechy */
	--yellow:      #f5c842;   /* žlutá z loga */
	--green:       #8cc63f;   /* zelená z loga */
	--navy:        #1e4d6b;   /* tmavě modrá z loga */
	--text:        #2c3e50;
	--text-muted:  #6c7a89;
	--bg-light:    #fafafa;
	--bg-section:  #f0f7f7;   /* velmi světlý teal */
	--bg-warm:     #fdf4ec;   /* velmi světlá oranžová */
	--white:       #ffffff;
	--radius:      12px;
	--shadow:      0 4px 20px rgba(0,0,0,.08);
	--shadow-hover:0 8px 32px rgba(0,0,0,.15);
}

/* ── Base ─────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
	font-family: 'Nunito', 'Segoe UI', sans-serif;
	color: var(--text);
	background: var(--white);
}

h1, h2, h3, h4 { font-weight: 800; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.btn-primary {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
	font-weight: 700;
	border-radius: 50px;
	padding: .6rem 1.8rem;
	transition: all .2s;
}
.btn-primary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(244,160,34,.4);
}

.btn-outline-primary {
	border-color: var(--primary);
	color: var(--primary);
	font-weight: 700;
	border-radius: 50px;
	padding: .6rem 1.8rem;
	transition: all .2s;
}
.btn-outline-primary:hover {
	background: var(--primary);
	color: #fff;
	transform: translateY(-2px);
}

.section-title {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: .5rem;
}

.section-subtitle {
	color: var(--text-muted);
	font-size: 1.05rem;
	margin-bottom: 2.5rem;
}

.section-label {
	display: inline-block;
	background: var(--teal);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: .25rem .9rem;
	border-radius: 50px;
	margin-bottom: .75rem;
}

/* ── Navbar ───────────────────────────────────────────── */
.navbar-domecek {
	background: var(--white);
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
	padding: .75rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar-domecek .navbar-brand {
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--primary);
	display: flex;
	align-items: center;
	gap: .5rem;
}

.navbar-logo {
	height: 72px;
	width: auto;
	object-fit: contain;
}

.footer-logo {
	height: 56px;
	width: auto;
	object-fit: contain;
	display: block;
}

.navbar-domecek .navbar-brand .brand-sub {
	font-weight: 400;
	color: var(--text-muted);
	font-size: .9rem;
}

.navbar-domecek .nav-link {
	color: var(--text) !important;
	font-weight: 600;
	font-size: .95rem;
	padding: .4rem .9rem !important;
	border-radius: 8px;
	transition: all .15s;
}

.navbar-domecek .nav-link:hover,
.navbar-domecek .nav-link.active {
	color: var(--primary) !important;
	background: rgba(244,160,34,.08);
}

.navbar-domecek .btn-nav {
	background: var(--teal);
	color: #fff !important;
	border-radius: 50px;
	padding: .4rem 1.2rem !important;
	font-weight: 700;
}

.navbar-domecek .btn-nav:hover {
	background: var(--secondary-dark);
	transform: translateY(-1px);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 55%, var(--primary) 100%);
}

.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: .5;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(30,77,107,.85) 0%, rgba(58,140,138,.6) 60%, rgba(232,136,42,.25) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero h1 {
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 900;
	color: #fff;
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero h1 span {
	color: var(--primary);
}

.hero .lead {
	color: rgba(255,255,255,.9);
	font-size: 1.2rem;
	max-width: 540px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.3);
	backdrop-filter: blur(8px);
	border-radius: 50px;
	padding: .4rem 1rem;
	color: #fff;
	font-size: .85rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.hero-stats {
	display: flex;
	gap: 2rem;
	margin-top: 2.5rem;
}

.hero-stat {
	text-align: center;
}

.hero-stat .number {
	font-size: 2rem;
	font-weight: 900;
	color: var(--primary);
	line-height: 1;
}

.hero-stat .label {
	color: rgba(255,255,255,.8);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.hero-image-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-hover);
	transform: rotate(2deg);
	transition: transform .3s;
}

.hero-image-card:hover { transform: rotate(0deg) scale(1.02); }

.hero-image-card img {
	width: 100%;
	height: 380px;
	object-fit: cover;
}

/* ── O nás ────────────────────────────────────────────── */
.about {
	padding: 6rem 0;
	background: var(--white);
}

.about-image {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	position: relative;
}

.about-image img {
	width: 100%;
	height: 440px;
	object-fit: cover;
}

.about-image-badge {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	background: var(--primary);
	color: #fff;
	border-radius: var(--radius);
	padding: .75rem 1.25rem;
	font-weight: 700;
	box-shadow: var(--shadow);
}

.about-features {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
}

.about-feature {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-weight: 600;
}

.about-feature-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
	flex-shrink: 0;
}

/* ── Aktivity ─────────────────────────────────────────── */
.activities {
	padding: 6rem 0;
	background: var(--bg-warm);
}

.activity-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all .3s;
	height: 100%;
}

.activity-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.activity-card-img {
	height: 200px;
	overflow: hidden;
}

.activity-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}

.activity-card:hover .activity-card-img img {
	transform: scale(1.05);
}

.activity-card-body {
	padding: 1.5rem;
}

.activity-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.activity-card-body h4 {
	font-size: 1.1rem;
	margin-bottom: .4rem;
}

.activity-card-body p {
	color: var(--text-muted);
	font-size: .9rem;
	margin-bottom: 1rem;
}

.activity-tag {
	display: inline-block;
	background: var(--bg-section);
	color: var(--text-muted);
	font-size: .75rem;
	font-weight: 600;
	padding: .2rem .7rem;
	border-radius: 50px;
}

/* ── Aktivity – taby ─────────────────────────────────── */
.act-tabs {
	display: flex;
	gap: .75rem;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.act-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .3rem;
	padding: 1rem 2rem;
	background: var(--white);
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all .2s;
	box-shadow: var(--shadow);
	min-width: 160px;
	text-align: center;
	color: var(--text);
	font-family: inherit;
}

.act-tab:hover {
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.act-tab.active {
	border-color: var(--primary);
	background: var(--primary);
	color: #fff;
	box-shadow: 0 6px 24px rgba(244,160,34,.4);
}

.act-tab-icon {
	font-size: 2rem;
	line-height: 1;
}

.act-tab-label {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.act-tab-sub {
	font-size: .75rem;
	font-weight: 600;
	opacity: .7;
	letter-spacing: .02em;
}

.act-tab.active .act-tab-sub {
	opacity: .85;
}

/* ── Aktuality ────────────────────────────────────────── */
.news {
	padding: 6rem 0;
	background: var(--white);
}

.news-card {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all .3s;
	height: 100%;
	background: var(--white);
	border: 1px solid #eef0f3;
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.news-card-img {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.news-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-date {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--primary);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	padding: .3rem .7rem;
	border-radius: 50px;
}

.news-card-body {
	padding: 1.5rem;
}

.news-card-body h4 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: .5rem;
	line-height: 1.4;
}

.news-card-body p {
	color: var(--text-muted);
	font-size: .88rem;
	margin-bottom: 0;
}

/* ── Kontakt ──────────────────────────────────────────── */
.contact {
	padding: 6rem 0;
	background: var(--bg-section);   /* světlý teal */
}

.contact-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 2.5rem;
	box-shadow: var(--shadow);
	height: 100%;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.contact-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(244,160,34,.1);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.contact-item .label {
	font-size: .75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
}

.contact-item .value {
	font-weight: 700;
	color: var(--text);
}

/* ── Kontakt – barevná sekce ─────────────────────────── */
.contact-dark {
	background: linear-gradient(135deg, var(--navy) 0%, var(--secondary) 100%);
	color: rgba(255,255,255,.85);
	padding: 5rem 0 0;
}

.contact-dark h2 {
	color: #fff;
	font-size: 2.2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 3.5rem;
}

.contact-dark h4 {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 1.5rem;
}

.contact-dark p,
.contact-dark address {
	color: rgba(255,255,255,.65);
	font-size: .95rem;
	line-height: 1.7;
	font-style: normal;
}

.contact-dark strong {
	color: rgba(255,255,255,.9);
}

.contact-dark a {
	color: var(--primary);
}

.contact-dark a:hover {
	color: var(--primary-dark);
}

.hours-row {
	display: flex;
	justify-content: space-between;
	padding: .35rem 0;
	border-bottom: 1px solid rgba(255,255,255,.12);
	font-size: .9rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-row .day { color: rgba(255,255,255,.55); }
.hours-row .time { color: rgba(255,255,255,.9); font-weight: 600; }
.hours-row .time.closed { color: rgba(255,255,255,.35); font-weight: 400; }

.contact-dark-divider {
	border: none;
	border-top: 1px solid rgba(255,255,255,.08);
	margin: 3.5rem 0 0;
}

.contact-map-wrap {
	position: relative;
}

.contact-map-wrap iframe {
	width: 100%;
	height: 380px;
	display: block;
	filter: grayscale(20%) brightness(0.95);
}

.contact-map-btn {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	color: var(--text) !important;
	font-weight: 700;
	font-size: .9rem;
	padding: .7rem 1.8rem;
	border-radius: 50px;
	box-shadow: 0 4px 20px rgba(0,0,0,.3);
	display: flex;
	align-items: center;
	gap: .5rem;
	white-space: nowrap;
	transition: all .2s;
}

.contact-map-btn:hover {
	background: var(--primary);
	color: #fff !important;
	transform: translateX(-50%) translateY(-2px);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
	background: #3d2455;   /* fialová */
	color: rgba(255,255,255,.75);
	padding: 4rem 0 2rem;
}

.footer h5 {
	color: #fff;
	font-weight: 700;
	margin-bottom: 1.2rem;
}

.footer a {
	color: rgba(255,255,255,.65);
	text-decoration: none;
	display: block;
	margin-bottom: .4rem;
	transition: color .15s;
}

.footer a:hover { color: var(--primary); }

.footer-brand {
	font-size: 1.4rem;
	font-weight: 900;
	color: #fff;
	margin-bottom: .5rem;
}

.footer-brand span { color: var(--primary); }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	margin-top: 3rem;
	padding-top: 1.5rem;
	font-size: .85rem;
	color: rgba(255,255,255,.4);
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255,255,255,.1);
	color: rgba(255,255,255,.7) !important;
	font-size: 1rem;
	transition: all .2s;
	margin-right: .5rem;
}

.social-link:hover {
	background: var(--primary);
	color: #fff !important;
	transform: translateY(-2px);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
	.hero { min-height: 70vh; }
	.hero h1 { font-size: 2rem; }
	.hero-stats { gap: 1.2rem; }
	.about, .activities, .news, .contact { padding: 4rem 0; }
	.section-title { font-size: 1.6rem; }
}
