/* ===========================
   Vízi Taxi Balaton – stílus
   =========================== */

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

:root {
  --blue-dark:   #0a2a5e;
  --blue-mid:    #1250a8;
  --blue-light:  #2d7dd2;
  --blue-pale:   #e8f1fb;
  --accent:      #0097d6;
  --white:       #ffffff;
  --text:        #1a2535;
  --text-muted:  #5a6a80;
  --border:      #c8daf4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

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

/* ---- HEADER ---- */
header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-title {
  line-height: 1.2;
}

.site-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  letter-spacing: -0.3px;
}

.site-title span {
  font-size: 0.8rem;
  color: #a8c8f0;
  display: block;
}

/* ---- NAV ---- */
nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-menu li a {
  display: block;
  padding: 8px 14px;
  color: #c8daf8;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  text-decoration: none;
}

/* mobile phone in header */
.header-phone {
  display: none;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- VIDEO HERO ---- */
.hero-video {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  background: #000;
}

.hero-video video {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,30,80,0.45));
  pointer-events: none;
}

.hero-text {
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
  padding: 20px;
}

.hero-text h2 {
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 400;
  max-width: 600px;
}

/* ---- MOBILE PHONE BANNER ---- */
.mobile-phone-bar {
  display: none;
  background: var(--blue-dark);
  text-align: center;
  padding: 10px 16px;
}

.mobile-phone-bar a img {
  max-width: 260px;
  margin: 0 auto;
}

/* ---- MAIN LAYOUT ---- */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

.page-wrap.full-width {
  grid-template-columns: 1fr;
}

/* ---- SIDEBAR ---- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar img {
  border-radius: 8px;
  width: 100%;
}

/* ---- MAIN CONTENT ---- */
.content h1 {
  font-size: 1.6rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.content h2 {
  font-size: 1.25rem;
  color: var(--blue-mid);
  margin: 24px 0 10px;
}

.content h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin: 18px 0 8px;
}

.content p { margin-bottom: 14px; }

.content ul, .content ol {
  margin: 0 0 16px 22px;
}

.content li { margin-bottom: 6px; }

.content strong { color: var(--blue-dark); }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-mid);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 24px 0;
}

/* ---- TABLE ---- */
.menetrend-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.menetrend-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
}

.menetrend-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}

.menetrend-table tr:nth-child(even) td { background: var(--blue-pale); }
.menetrend-table tr:hover td { background: #d0e6ff; }

/* ---- FEATURES GRID (főoldal) ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.feature-card {
  background: var(--blue-pale);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10,42,94,0.12);
}

.feature-card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.feature-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.85;
}

.gallery-item .zoom-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}

.gallery-item:hover .zoom-icon { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox-overlay.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ---- SERVICES LIST ---- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.service-list li {
  background: var(--blue-pale);
  border-radius: 6px;
  padding: 10px 16px;
  border-left: 3px solid var(--blue-mid);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "⚓ ";
}

/* ---- SPECS TABLE ---- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.specs-table td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--blue-dark);
  width: 44%;
  background: var(--blue-pale);
}

/* ---- PARTNER / LINKS SECTION ---- */
.partners-section {
  background: var(--blue-pale);
  border-top: 3px solid var(--blue-mid);
  padding: 30px 20px;
  margin-top: 0;
}

.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.partners-section h2 {
  color: var(--blue-dark);
  font-size: 1.1rem;
  margin-bottom: 18px;
  text-align: center;
}

.partners-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.partners-links a {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue-mid);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.partners-links a:hover {
  background: var(--blue-mid);
  color: var(--white);
  text-decoration: none;
  border-color: var(--blue-mid);
}

.siotour-partner {
  text-align: center;
  margin-top: 16px;
}

.siotour-partner img {
  max-width: 220px;
  margin: 0 auto;
  border-radius: 6px;
  transition: opacity 0.2s;
}
.siotour-partner img:hover { opacity: 0.85; }

/* ---- SZÉLES KÉP SÁV ---- */
.wide-image-strip {
  width: 100%;
  overflow: hidden;
  max-height: 280px;
  margin: 30px 0 0;
}

.wide-image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- FOOTER ---- */
footer {
  background: var(--blue-dark);
  color: #a8c4e8;
  padding: 30px 20px 16px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #90b8e8; font-size: 0.88rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col p { font-size: 0.88rem; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { font-size: 0.8rem; color: #7090b8; }

.footer-bottom .server-credit {
  font-size: 0.75rem;
  color: #566a88;
}

.footer-bottom .server-credit a {
  color: #7898c8;
}

.footer-bottom .server-credit a:hover {
  color: var(--white);
}

/* ---- KAPCSOLAT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.contact-info-block {
  background: var(--blue-pale);
  border-radius: 10px;
  padding: 24px;
}

.contact-info-block h2 {
  color: var(--blue-dark);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.contact-info-block p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-info-block a {
  font-weight: 600;
  font-size: 1.05rem;
}

.kikoto-img { margin-top: 24px; border-radius: 10px; width: 100%; }

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; padding: 10px 16px; }

  nav { width: 100%; order: 3; }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 2px;
    padding-bottom: 10px;
  }

  .nav-menu.open { display: flex; }

  .nav-menu li a { padding: 10px 14px; font-size: 1rem; }

  .hamburger { display: flex; }

  .mobile-phone-bar { display: block; }

  .header-phone { display: none; }

  .page-wrap {
    grid-template-columns: 1fr;
    padding: 20px 14px 14px;
  }

  .sidebar { display: none; }

  .hero-text h2 { font-size: 1.3rem; }

  .footer-inner { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  .lightbox-nav { display: none; }
}

@media (max-width: 480px) {
  .site-title h1 { font-size: 1.1rem; }
  .service-list { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
