﻿/* Savaria – egységes megjelenés, karcsú fejléc. Verzió: 20261025-4 */

:root {
    --savaria-teal: #168c80;
    --savaria-teal-dark: #106e65;
    --savaria-mint: #e3f4ef;
    --savaria-ink: #24313f;
    --bs-primary: #168c80;
    --bs-primary-rgb: 22, 140, 128;
    --bs-link-color: #168c80;
    --bs-link-hover-color: #106e65;
}

html { scroll-behavior: smooth; }
body {
    background: #f6f9f8;
    color: var(--savaria-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}
a { color: var(--savaria-teal); }
a:hover { color: var(--savaria-teal-dark); }

/* FEJLÉC */
.site-header { position: relative; z-index: 1030; }
.top-info-bar { background: #fff; border: 0; }
.site-header .container, .main-nav .container { max-width: 1440px; }
.top-info-bar .container { padding-top: 10px; padding-bottom: 10px; }
.brand-header {
    display: grid;
    grid-template-columns: 96px minmax(170px, .8fr) minmax(205px, .95fr) minmax(600px, 2.5fr);
    gap: 16px;
    align-items: center;
}
.header-brand { display: block; text-align: center; }
.site-brand-logo { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 auto; }
.header-address {
    display: flex;
    gap: 12px;
    align-items: center;
    border-left: 1px solid #dfe6e4;
    padding-left: 18px;
    min-width: 0;
}
.header-main-icon { font-size: 32px; color: var(--savaria-teal); flex: 0 0 32px; text-align: center; }
.header-city, .header-street { display: block; font-size: 15px; line-height: 1.5; overflow-wrap: break-word; }
.header-city { color: #667480; }
.header-street { font-weight: 700; color: var(--savaria-ink); }
.header-contact-group { border-left: 1px solid #dfe6e4; padding-left: 18px; min-width: 0; }
.header-phone-row { display: flex; gap: 11px; align-items: center; margin-bottom: 8px; }
.header-phone-row > .fa { font-size: 29px; color: var(--savaria-teal); flex: 0 0 29px; text-align: center; }
.header-phone-label { display: block; font-size: 13px; color: #667480; line-height: 1.3; }
.header-phone-number { font-size: 23px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.header-email-row { display: flex; gap: 9px; align-items: baseline; margin: 4px 0; font-size: 15px; line-height: 1.35; }
.header-email-row > .fa { font-size: 16px; flex: 0 0 20px; text-align: center; color: var(--savaria-teal); }
.header-email-row a { color: var(--savaria-ink); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.header-email-row a:hover { text-decoration: underline; color: var(--savaria-teal-dark); }

/* Közös türkiz keret, két önálló világos panellel. */
.reception-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
    align-items: stretch;
    background: var(--savaria-teal);
    border-radius: 6px;
    padding: 10px;
    min-width: 0;
}
.hours-panel {
    background: var(--savaria-mint);
    color: var(--savaria-ink);
    border-radius: 4px;
    padding: 11px 12px;
    min-width: 0;
}
.hours-panel h2 {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    color: var(--savaria-ink);
}
.hours-panel h2 .fa { font-size: 23px; flex: 0 0 23px; }
.reception-list { min-width: 0; }
.reception-row { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 6px; margin: 3px 0; font-size: 14px; line-height: 1.5; }
.reception-row span { white-space: nowrap; }
.reception-note { font-size: 14px; line-height: 1.5; }
.office-times span { display: block; margin: 3px 0; font-size: 14px; line-height: 1.5; white-space: nowrap; }

/* MENÜ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-top: 3px solid var(--savaria-teal);
    border-bottom: 1px solid #e1e9e6;
    min-height: 50px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(25,67,58,.06) !important;
    padding: 0;
}
.main-nav .navbar-nav { width: 100%; justify-content: space-between; }
.main-nav .navbar-nav .nav-link {
    position: relative;
    padding: 12px 14px !important;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--savaria-ink);
    white-space: nowrap;
}
.main-nav .nav-link.active, .main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--savaria-teal) !important; }
.main-nav .nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--savaria-teal); }
.menu-toggle-label { font-size: 16px; font-weight: 600; margin-right: 10px; color: var(--savaria-ink); }
.dropdown-menu { border-radius: 0; border: 1px solid #d9e2ec; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.dropdown-item { padding-top: .55rem; padding-bottom: .55rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--savaria-mint); color: var(--savaria-teal-dark); }
.dropdown-item.active, .dropdown-item:active { background: var(--savaria-teal); color: #fff; }

/* BEMUTATKOZÁS */
.hero-section { padding: 48px 0 36px; background: linear-gradient(to bottom, #fff 0%, #f6f9f8 100%); }
.hero-image-wrap { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.08); min-height: 280px; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-content { padding: 6px 0; }
.section-kicker { display: inline-block; margin-bottom: 10px; font-size: .9rem; font-weight: 700; color: var(--savaria-teal); text-transform: uppercase; letter-spacing: .08em; }
.hero-title { font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1.15; margin-bottom: 18px; font-weight: 700; color: #111827; }
.hero-text { font-size: 1.02rem; line-height: 1.7; color: #4b5563; margin-bottom: 14px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* KIEMELÉSEK */
.features-section { padding: 10px 0 50px; }
.feature-card { height: 100%; background: #fff; border-radius: 16px; padding: 24px 20px; box-shadow: 0 10px 25px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.09); }
.feature-card i { font-size: 1.7rem; color: var(--savaria-teal); margin-bottom: 14px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 700; }
.feature-card p { margin-bottom: 0; color: #4b5563; line-height: 1.65; }
.features-carousel .item { width: 100%; padding: 6px; }
.features-carousel .feature-card { height: 100%; margin: 0; }
.features-carousel.owl-theme .owl-nav { margin-top: 18px; }
.features-carousel.owl-theme .owl-nav button.owl-prev,
.features-carousel.owl-theme .owl-nav button.owl-next { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid #dbe4ef; }
.features-carousel.owl-theme .owl-nav button.owl-prev:hover,
.features-carousel.owl-theme .owl-nav button.owl-next:hover { background: var(--savaria-mint); color: var(--savaria-teal-dark); }
.features-carousel.owl-theme .owl-dots { margin-top: 10px; }
.features-carousel .owl-stage, .features-carousel .owl-item { display: flex; }

/* KAPCSOLAT ÉS TÉRKÉP */
.contact-section { padding: 55px 0; background: var(--savaria-mint); }
.contact-card { height: 100%; background: #fff; border-radius: 18px; padding: 28px 24px; box-shadow: 0 10px 25px rgba(0,0,0,.06); }
.contact-card h2, .contact-card h3 { font-weight: 700; }
.contact-card p { margin-bottom: 10px; line-height: 1.65; }
.contact-card i { width: 22px; color: var(--savaria-teal); }
.contact-card a { color: var(--savaria-teal); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.map-wrap { min-height: 420px; height: 100%; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,.06); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* GOMBOK ÉS BEVITELI MEZŐK */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #168c80;
    --bs-btn-border-color: #168c80;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #106e65;
    --bs-btn-hover-border-color: #106e65;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #106e65;
    --bs-btn-active-border-color: #106e65;
    --bs-btn-disabled-bg: #168c80;
    --bs-btn-disabled-border-color: #168c80;
    --bs-btn-focus-shadow-rgb: 22, 140, 128;
}
.btn-outline-primary {
    --bs-btn-color: #168c80;
    --bs-btn-border-color: #168c80;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #168c80;
    --bs-btn-hover-border-color: #168c80;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #106e65;
    --bs-btn-active-border-color: #106e65;
    --bs-btn-disabled-color: #168c80;
    --bs-btn-disabled-border-color: #168c80;
    --bs-btn-focus-shadow-rgb: 22, 140, 128;
}
.form-control:focus, .form-select:focus { border-color: #168c80; box-shadow: 0 0 0 .2rem rgba(22,140,128,.2); }
.home-tile:hover { border-color: var(--savaria-teal); color: var(--savaria-teal-dark); }

/* LÁBLÉC */
.site-footer { background: #1f2937; color: #d1d5db; padding: 22px 0; }
.footer-copy { font-size: .95rem; }
.footer-links a { color: #d1d5db; text-decoration: none; margin-left: 18px; }
.footer-links a:hover { color: #fff; }

/* TABLET ÉS MOBIL */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .brand-header { grid-template-columns: 96px minmax(170px, 1fr) minmax(240px, 1.2fr); gap: 16px; }
    .header-address, .header-contact-group { padding-left: 16px; }
    .reception-card { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1199.98px) {
    .main-nav { padding: 8px 0; min-height: 50px; }
    .main-nav .navbar-nav { padding-top: 8px; padding-bottom: 0; }
    .main-nav .navbar-nav .nav-link { padding: 10px 12px !important; white-space: normal; }
    .main-nav .nav-link.active::after { left: 0; right: auto; top: 10px; bottom: 10px; height: auto; width: 3px; }
    .main-nav .navbar-toggler { display: flex; align-items: center; margin-left: auto; border-color: #c8ded7; padding: 5px 9px; }
}

@media (max-width: 767.98px) {
    .top-info-bar .container { padding-top: 14px; padding-bottom: 14px; }
    .brand-header { grid-template-columns: 88px minmax(0, 1fr); gap: 16px 12px; }
    .site-brand-logo { width: 88px; height: 88px; }
    .header-address { padding-left: 12px; gap: 9px; }
    .header-main-icon { font-size: 28px; flex-basis: 28px; }
    .header-city, .header-street { font-size: 15px; }
    .header-contact-group { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e1e9e6; padding: 14px 0 0; }
    .header-phone-number { font-size: 25px; }
    .header-email-row { font-size: 16px; }
    .reception-card { grid-column: 1 / -1; grid-template-columns: 1fr; padding: 10px; gap: 10px; }
    .hours-panel h2 { font-size: 18px; }
    .reception-row { grid-template-columns: 65px minmax(0, 1fr); font-size: 15px; }
    .reception-row span, .office-times span { white-space: normal; }
    .hero-section { padding-top: 24px; }
    .map-wrap { min-height: 320px; }
    .map-wrap iframe { height: 320px; }
    .footer-links a { margin-left: 0; margin-right: 16px; }
}

/* Rámutatásos lenyitás kizárólag egérrel, asztali menünél. */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; top: 100%; left: 0; margin-top: 0; }
    .main-nav .dropdown:hover > .dropdown-menu-end { right: 0; left: auto; }
}
