/* ============ Dávodi Gyógyfürdő & Hotel Fortuna ============ */
:root {
    --primary: #0e7490;
    --primary-dark: #0c5d73;
    --accent: #f59e0b;
    --dark: #0f1f26;
    --text: #2c3e46;
    --muted: #5e7079;
    --bg: #ffffff;
    --bg-alt: #f2f8fa;
    --border: #dbe7ec;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(15, 31, 38, 0.08);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 { font-family: var(--font-head); color: var(--dark); line-height: 1.25; }

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d97706; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}
.logo-text { font-family: var(--font-head); font-weight: 700; color: var(--dark); font-size: 0.95rem; line-height: 1.15; }
.logo-text small { font-weight: 400; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav ul { display: flex; list-style: none; gap: 0.15rem; flex-wrap: wrap; }
.main-nav a {
    display: block;
    padding: 0.45rem 0.65rem;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.main-nav a.active { color: var(--primary); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-current {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text);
}
.lang-list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 150px;
    display: none;
    overflow: hidden;
}
.lang-list.open { display: block; }
.lang-list a { display: block; padding: 0.55rem 1rem; color: var(--text); font-size: 0.9rem; }
.lang-list a:hover { background: var(--bg-alt); }
.lang-list a.active { color: var(--primary); font-weight: 700; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: clamp(520px, 86vh, 820px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-media, .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media { background: linear-gradient(135deg, var(--primary-dark), var(--dark)); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,30,38,0.35) 0%, rgba(12,30,38,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-content h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 1.8rem; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.center-actions { justify-content: center; }

/* ---------- USP strip ---------- */
.usp-strip { background: var(--dark); color: #fff; padding: 2.2rem 0; }
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.usp-item h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.usp-item p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin: 0; }
.usp-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--primary-dark), var(--dark)); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,0.85); }
.section-title { text-align: center; margin-bottom: 2.5rem; }

/* Split layout */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-media { order: 1; }
.split-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
}

.highlight-quote {
    border-left: 4px solid var(--accent);
    padding: 0.8rem 1.2rem;
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--muted);
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--text);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(15,31,38,0.14); }
.card-img { height: 190px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: 0.93rem; color: var(--muted); flex: 1; }
.card-more { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature img {
    border-radius: var(--radius);
    height: 210px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}
.feature h2, .feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Lists & pills ---------- */
.check-list { list-style: none; margin-bottom: 1.2rem; }
.check-list li {
    padding-left: 1.9rem;
    position: relative;
    margin-bottom: 0.55rem;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    display: grid;
    place-items: center;
    margin-top: 0.2rem;
}

.pill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.pill {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow);
}

.disclaimer-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    font-size: 0.88rem;
    color: #92400e;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.25s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 0;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.page-hero-small { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,30,38,0.5), rgba(12,30,38,0.72));
}
.page-hero .container { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: 0.9rem; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.contact-list { list-style: none; margin: 1.2rem 0 1.5rem; }
.contact-list li { margin-bottom: 0.9rem; font-size: 0.96rem; }
.contact-list strong { color: var(--dark); }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: clamp(2.8rem, 6vw, 4.2rem) 0;
    text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3.2rem 0 2.4rem;
}
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col p { font-size: 0.92rem; }
.logo-footer { margin-bottom: 1rem; }
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-text small { color: rgba(255,255,255,0.6); }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.75); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.1rem 0; font-size: 0.82rem; }
.footer-bottom p { margin: 0; }
.disclaimer { opacity: 0.7; }

/* ---------- Floating call button ---------- */
.floating-call {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(245,158,11,0.45);
    transition: transform 0.15s ease;
}
.floating-call:hover { transform: scale(1.08); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .main-nav a { font-size: 0.8rem; padding: 0.4rem 0.5rem; }
}

@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    .btn-book { display: none; }
    .main-nav {
        position: fixed;
        top: 59px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; padding: 1.2rem 6%; gap: 0; }
    .main-nav a { font-size: 1.05rem; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--border); border-radius: 0; }

    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split-reverse .split-text { order: 1; }
    .split-reverse .split-media { order: 2; }
    .pill-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .usp-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .feature-grid, .feature-grid-2 { grid-template-columns: 1fr; }
    .pill-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 150px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .logo-text { font-size: 0.85rem; }
    .map-wrap iframe { height: 320px; }
}
