/* ===== ÖTÖSFOGAT PANZIÓ ÉS ÉTTEREM - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Bitter:wght@400;700&display=swap');

:root {
  --accent: #ebb59d;
  --accent-hover: #e29573;
  --dark: #262417;
  --white: #fff;
  --light-bg: #f8f5f0;
  --text: #333;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

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

h1, h2, h3, h4 { font-family: 'Bitter', serif; line-height: 1.3; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0; }

/* ===== HEADER ===== */
#sp-header {
  background: var(--dark);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
}

#sp-header .container { width: 100%; }
#sp-header .header-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo img { height: 65px; width: auto; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; list-style: none; gap: 0; }

.main-nav > li { position: relative; }

.main-nav > li > a,
.main-nav > li > span {
  display: block;
  color: #fff;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > span:hover,
.main-nav > li.active > a { color: var(--accent); }

/* Dropdowns */
.main-nav > li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 210px;
  z-index: 200;
  border-top: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.main-nav > li:hover .dropdown { display: block; }

.main-nav .dropdown li a {
  display: block;
  color: #ddd;
  padding: 9px 18px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background .2s, color .2s;
}

.main-nav .dropdown li a:hover {
  background: rgba(235,181,157,0.15);
  color: var(--accent);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all .3s;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-h));
  background: var(--dark);
  z-index: 999;
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-menu.open { display: block; }

.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li { border-bottom: 1px solid rgba(255,255,255,0.1); }

.mobile-menu a,
.mobile-menu .m-toggle {
  display: block;
  color: #ddd;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu .submenu {
  display: none;
  background: rgba(0,0,0,0.3);
}
.mobile-menu .submenu.open { display: block; }

.mobile-menu .submenu li a {
  padding: 11px 40px;
  font-weight: 400;
  font-size: 14px;
}

/* ===== SLIDESHOW ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 58vh;
  min-height: 320px;
  max-height: 580px;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slider .slide.active { opacity: 1; }

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 20px;
  z-index: 10;
  transition: background .2s;
}
.slider-btn:hover { background: rgba(235,181,157,0.7); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background .2s;
}
.slider-dots .dot.active { background: var(--accent); }

/* Page title banner */
.page-title {
  background: var(--dark);
  padding: 28px 0;
  text-align: center;
}
.page-title h1 {
  color: var(--accent);
  font-size: 26px;
  margin: 0;
}

/* ===== SECTIONS ===== */
section.content-section { padding: 50px 0; }
section.content-section.dark-bg {
  background: var(--dark);
  color: #eee;
}
section.content-section.light-bg { background: var(--light-bg); }

/* ===== CARDS / BLURBS ===== */
.blurb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 30px; }

.blurb {
  text-align: center;
  cursor: pointer;
}
.blurb img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  transition: transform .3s;
}
.blurb:hover img { transform: scale(1.02); }
.blurb h3 {
  margin-top: 12px;
  color: var(--accent);
  font-size: 17px;
}
.blurb p { color: #666; font-size: 14px; }

/* ===== IMAGE GALLERY GRID (index fotók) ===== */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; }
.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  transition: opacity .3s;
}
.photo-grid img:hover { opacity: 0.85; }

/* ===== FEATURE BOXES ===== */
.feature-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 768px) { .feature-boxes { grid-template-columns: 1fr; } }

.feature-box {
  background: var(--light-bg);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}
.feature-box i { font-size: 32px; color: var(--accent); margin-bottom: 14px; }
.feature-box h3 { font-size: 16px; margin-bottom: 8px; }

/* ===== PRICING TABLE ===== */
.pricing-card {
  background: var(--dark);
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  max-width: 400px;
}
.pricing-card .card-head {
  background: var(--accent);
  color: var(--dark);
  text-align: center;
  padding: 18px 20px;
  font-family: 'Bitter', serif;
  font-size: 18px;
  font-weight: 700;
}
.pricing-card .card-body {
  padding: 20px;
  text-align: center;
  line-height: 1.9;
}
.pricing-card .card-foot {
  padding: 16px 20px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--dark);
}
.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--dark); }

/* ===== CAROUSEL (photo carousels on pages) ===== */
.photo-carousel { position: relative; overflow: hidden; margin: 20px 0; border-radius: 4px; }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-track .c-slide { min-width: 100%; }
.carousel-track .c-slide img { width: 100%; height: auto; }
.c-prev, .c-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  font-size: 18px;
  z-index: 5;
}
.c-prev { left: 0; }
.c-next { right: 0; }

/* ===== SZOBA LAYOUT ===== */
.room-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; margin-top: 20px; }
@media (max-width: 768px) { .room-layout { grid-template-columns: 1fr; } }

.szoba-section .pricing-card { width: 100%; max-width: 100%; }

/* Services & Distance lists */
.szoba-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 600px) { .szoba-extras { grid-template-columns: 1fr; } }

.szoba-extras h3 { color: var(--dark); margin-bottom: 10px; font-size: 15px; text-transform: uppercase; }
.szoba-extras ul { list-style: none; }
.szoba-extras ul li { padding: 4px 0; font-size: 14px; }
.szoba-extras ul li::before { content: "✓ "; color: var(--accent); font-weight: bold; }

/* ===== CALL TO ACTION banner ===== */
.cta-banner {
  background: var(--accent);
  color: var(--dark);
  padding: 30px;
  border-radius: 4px;
  text-align: center;
  margin: 30px 0;
}
.cta-banner h3 { font-size: 20px; margin-bottom: 10px; }
.cta-banner a { color: var(--dark); font-weight: 700; text-decoration: underline; }

/* ===== ACCORDION (étlap) ===== */
.accordion { border: 1px solid #e0d8d0; border-radius: 3px; margin-bottom: 10px; overflow: hidden; }
.accordion-header {
  background: var(--dark);
  color: var(--accent);
  padding: 13px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  user-select: none;
  transition: background .2s;
}
.accordion-header:hover { background: #1a1810; }
.accordion-header .acc-icon { transition: transform .3s; }
.accordion-header.open .acc-icon { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 16px 18px;
  background: #faf8f5;
}
.accordion-body.open { display: block; }

.menu-table { width: 100%; border-collapse: collapse; }
.menu-table tr td { padding: 6px 4px; font-size: 14px; border-bottom: 1px solid #e8e0d8; }
.menu-table tr:last-child td { border-bottom: none; }
.menu-table td:last-child { text-align: right; white-space: nowrap; color: var(--dark); font-weight: 700; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 700px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { height: 120px; resize: vertical; }
.required { color: #c00; }

/* ===== GALLERY (képgaléria) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s, opacity .3s;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.9; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(235,181,157,0.5); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* ===== VENDÉGTÁJÉKOZTATÓ ===== */
.vt-content { max-width: 900px; }
.vt-content h2 { color: var(--accent); margin: 30px 0 12px; font-size: 18px; }
.vt-content p { margin-bottom: 12px; font-size: 14.5px; }
.vt-content ul { padding-left: 20px; margin-bottom: 12px; }
.vt-content ul li { font-size: 14.5px; margin-bottom: 4px; }

/* ===== FOOTER ===== */
#sp-bottom {
  background: var(--dark);
  color: #ccc;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col { }
.footer-col .logo img { height: 80px; margin-bottom: 14px; }

.footer-col h4 {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: #ccc; font-size: 13px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p, .footer-col a { font-size: 13px; color: #ccc; }
.footer-col a:hover { color: var(--accent); }

/* Social icons */
.social-icons { display: flex; gap: 14px; margin-top: 14px; }
.social-icons a {
  color: #ccc;
  font-size: 20px;
  transition: color .2s;
}
.social-icons a:hover { color: var(--accent); }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* ===== GOOGLE MAP ===== */
.map-embed { width: 100%; height: 400px; border: 0; margin-top: 30px; }

/* ===== TEXT UTILITIES ===== */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* ===== SECTION HEADING ===== */
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2 { font-size: 28px; color: var(--dark); margin-bottom: 10px; }
.section-heading p { color: #666; max-width: 600px; margin: 0 auto; }
.section-heading .divider {
  width: 60px; height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== QR CODE ===== */
.qr-section { text-align: center; margin: 30px 0; }
.qr-section img { max-width: 220px; margin: 0 auto; }

/* ===== ROW GRID ===== */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { flex: 1; padding: 0 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 15px; }
.col-9 { flex: 0 0 75%; max-width: 75%; padding: 0 15px; }
@media (max-width: 768px) {
  .col-6, .col-4, .col-3, .col-8, .col-9 {
    flex: 0 0 100%; max-width: 100%;
  }
}

/* ===== SZEPKARTYA ===== */
.szepkartya img { max-width: 100%; border-radius: 4px; }

/* ===== SCROLL TO TOP ===== */
.scrollup {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background: var(--accent);
  color: var(--dark);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 500;
  display: none;
}
.scrollup.show { display: flex; }

/* ===== KISFALUDY BANNER ===== */
.kisfaludy-banner { border-radius: 4px; overflow: hidden; margin: 20px 0; }
.kisfaludy-info { background: var(--light-bg); border-left: 4px solid var(--accent); padding: 20px; border-radius: 0 4px 4px 0; margin-bottom: 14px; }
.kisfaludy-info p { font-size: 14px; margin-bottom: 6px; }
.kisfaludy-info strong { color: var(--dark); }

/* ===== ÉRDEKLŐDÉS FORM ===== */
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
@media (max-width: 768px) { .contact-info-grid { grid-template-columns: 1fr; } }

.contact-info-box { background: var(--light-bg); border-radius: 4px; padding: 24px; }
.contact-info-box h3 { color: var(--dark); margin-bottom: 14px; font-size: 16px; }
.contact-info-box p { font-size: 14px; margin-bottom: 8px; }
.contact-info-box a { color: var(--dark); font-weight: 600; }
.contact-info-box a:hover { color: var(--accent); }
.contact-info-box i { color: var(--accent); margin-right: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hamburger { display: flex; flex-direction: column; }
  .desktop-nav { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .blurb-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 65px; }
  .hero-slider { height: 45vw; min-height: 200px; max-height: 420px; }
  .section-heading h2 { font-size: 22px; }
  section.content-section { padding: 34px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .szoba-extras { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-slider { height: 50vw; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== MEGRENDELŐ KÉP ===== */
.megrendelo-img { width: 100%; border-radius: 4px; margin: 20px 0; display: block; }

/* ===== NOTE BOX ===== */
.info-box {
  background: rgba(235,181,157,0.15);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ===== ETTEREM food carousel ===== */
.food-carousel-wrap { overflow: hidden; border-radius: 4px; }
.food-carousel-track { display: flex; transition: transform .5s ease; }
.food-carousel-track .fc-slide { min-width: 33.333%; padding: 4px; }
.food-carousel-track .fc-slide img { width: 100%; height: auto; border-radius: 3px; }
@media (max-width: 768px) { .food-carousel-track .fc-slide { min-width: 100%; } }

/* ===== ADATVEDELMI LINK ===== */
.adatv-link { font-size: 13px; margin-top: 10px; }

/* ===== FORM ÜZENETEK ===== */
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: 4px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 15px;
}
.form-msg--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-msg--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* reCAPTCHA igazítás */
.g-recaptcha { margin: 16px 0; }
/* Honeypot rejtett mező */
.hp-field { display:none !important; position:absolute; left:-9999px; }
