:root {
  --gold: #b08b57;
  --pink: #ecbfc6;
  --text: #2c2c2c;
  --bg: #ffffff;
  --reader-bg: #f8f4ee;
  --reader-text: #333;
  --reader-border: #e1d7c8;
  --high-contrast-bg: #000;
  --high-contrast-text: #fff;
  --high-contrast-gold: #ffcc00;
  --transition-speed: 0.3s;
  /* NEW */
  --container: 980px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
  font-size: 16px;
}

/* ======= About Section - Integrated Styles ======= */
.about-section { padding: 60px 0; }
.about-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
/* aby sa nezdvojilo odsadenie, ke�e .section u� padding m� */
.about-section.section .about-container { padding: 0; }

/* VIAC PRIESTORU NAD NADPISOM �Kadern�ctvo Evelyn Style� */
.about-section.section { padding-top: 72px; }

.about-title {
  text-align: center;
  color: var(--text);
  font-size: 2.2rem;
  margin-bottom: 46px; /* viac priestoru pred prv�m odstavcom */
  position: relative;
}
/* zlat� �iara NAD nadpisom */
.about-title::before {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 15px;
  opacity: 0.95;
}
/* existuj�ca zlat� �iara POD nadpisom */
.about-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 15px auto 0;
}

.content-block { margin-bottom: 30px; }

.benefits-block {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin: 40px 0;
}
.benefits-block h3 {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}
.benefits-list { list-style-type: none; padding-left: 0; }
.benefits-list li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  position: relative;
  padding-left: 30px;
}
.benefits-list li:last-child { border-bottom: none; }
.benefits-list li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 12px;
  font-family: "Segoe UI Symbol","Arial Unicode MS","Noto Sans Symbols",sans-serif;
}

.cta-block { text-align: center; font-size: 1.1rem; margin-top: 40px; }
.cta-block p:first-child { font-weight: bold; color: var(--text); }

/* Re�im ��ta�ky */
body.reader-mode { background: var(--reader-bg); color: var(--reader-text); }
body.reader-mode header, body.reader-mode footer { background: #f1e9df; border-color: var(--reader-border); }
body.reader-mode .hero, body.reader-mode .gallery-row, body.reader-mode .services { display: none !important; }
body.reader-mode .section { max-width: 700px; padding: 40px 20px; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

body.reader-mode #onas {
  background: white; padding: 40px; border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--reader-border);
}

/* Vysok� kontrast */
body.high-contrast { background: var(--high-contrast-bg); color: var(--high-contrast-text); }
body.high-contrast .highlighted, body.high-contrast .reader-btn, body.high-contrast .btn {
  background: var(--high-contrast-gold); color: var(--high-contrast-bg);
}
body.high-contrast a { color: var(--high-contrast-gold); }
body.high-contrast input, body.high-contrast button, body.high-contrast textarea {
  border: 2px solid var(--high-contrast-gold); color: var(--high-contrast-text); background: #111;
}

/* Skryt� ovl�dac� panel pre re�im ��ta�ky */
.reader-controls-panel {
  position: fixed; bottom: 100px; right: 20px; display: none; flex-direction: column; gap: 10px; z-index: 9998;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
  background: rgba(255,255,255,0.95); padding: 15px; border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); backdrop-filter: blur(8px);
  transform: translateY(10px); opacity: 0;
}
body.reader-mode .reader-controls-panel { display: flex; animation: panelAppear 0.4s ease forwards; }
@keyframes panelAppear { to { transform: translateY(0); opacity: 1; } }

.reader-controls-panel .reader-btn {
  width: 50px; height: 50px; padding: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: transform 0.2s ease, background 0.2s ease;
}
.reader-controls-panel .reader-btn:hover { transform: scale(1.1); }
.reader-controls-panel .reader-btn svg { width: 24px; height: 24px; fill: currentColor; }

/* Tla�idlo re�imu ��ta�ky */
.reader-mode-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 10000;
  background: var(--gold); color: white; border: none; padding: 12px 20px;
  border-radius: 30px; cursor: pointer; font-weight: 600; box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 8px; transition: all var(--transition-speed) ease;
}
.reader-mode-btn:hover { background: #94723e; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.reader-mode-btn:active { transform: translateY(1px); }
.reader-mode-btn svg { width: 20px; height: 20px; fill: currentColor; transition: transform 0.3s ease; }

/* Skry� popis na mal�ch obrazovk�ch */
@media (max-width: 768px) {
  #reader-mode-label { display: none; }
  .reader-mode-btn { padding: 15px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
  .reader-mode-btn svg { width: 24px; height: 24px; margin: 0; }
}

/* Ovl�dacie prvky ��ta�ky */
.reader-btn {
  background: var(--gold); color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;
  font-weight: 600; transition: all var(--transition-speed) ease; display: flex; align-items: center; gap: 8px; font-size: 1rem;
}
.reader-btn:hover { background: #94723e; transform: translateY(-2px); }
.reader-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Zv�raznenie textu */
.highlighted { background-color: rgba(176,139,87,0.2); padding: 2px 4px; border-radius: 3px; transition: background-color 0.3s ease; }

/* Hlavi�ka */
header {
  background: var(--bg); padding: 20px 40px; border-bottom: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 1000; transition: all var(--transition-speed) ease;
}
.logo { font-size: 24px; font-weight: bold; color: var(--gold); display: flex; align-items: center; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.03); }
.logo img { max-width: 100%; height: auto; max-height: 80px; transition: transform 0.3s ease; }
.logo:hover img { transform: rotate(-3deg); }

/* Navig�cia */
nav ul { list-style: none; display: flex; gap: 20px; transition: all var(--transition-speed) ease; }
nav ul li { position: relative; }
nav ul li a {
  text-decoration: none; color: var(--text); font-weight: 500; padding: 7px 0; transition: color var(--transition-speed) ease; position: relative;
}
nav ul li a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width var(--transition-speed) ease;
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
.dropdown-arrow { display: inline-block; font-size: 0.8em; margin-left: 5px; transition: transform var(--transition-speed) ease; }
nav ul li:hover .dropdown-arrow { transform: rotate(180deg); }
nav ul li:hover > ul { display: block; }
nav ul ul.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  min-width: 200px; border-radius: 0 0 10px 10px; z-index: 101; flex-direction: column; gap: 0; padding: 0;
}
nav ul li.dropdown:hover > ul, nav ul li.dropdown:focus-within > ul { display: flex; }
nav ul ul.dropdown-menu li a { color: #2c2c2c; padding: 11px 22px; display: block; border-bottom: 1px solid #eee; border-radius: 0; background: #fff; }
nav ul ul.dropdown-menu li:last-child a { border-bottom: none; }

.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: var(--gold); background: none; border: none; z-index: 1001; }

/* Hlavn� obsah � HERO (fix pre mobile overlay) */
.hero {
  background: url('https://www.evelynstysk.sbs/images/hero.jpg') no-repeat center center/cover;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #fff;
  padding: 24px 20px 28px;
  position: relative; isolation: isolate;
  gap: 14px; /* medzera medzi h1, flash-info a tla�idlom */
}
.hero::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); /* jemn� stmavenie kv�li �itate�nosti */
  z-index:0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem);
  background-color: rgba(0,0,0,0.5); padding: 10px 20px; border-radius: 8px; max-width: 90%;
}
.flash-info {
  background: #fff7ea; color: #b08b57; border: 2px solid #ffd384; border-radius: 10px; font-weight: bold; text-align: center;
  margin: 6px 0 4px; font-size: 1.12rem; letter-spacing: 0.4px; padding: 12px 12px;
  max-width: 540px; width: min(98%, 540px); box-sizing: border-box;
  box-shadow: 0 0 0px #fff4c6; animation: flash 1.2s infinite alternate;
}
@keyframes flash { 0% { box-shadow: 0 0 0px #fff4c6;} 100% { box-shadow: 0 0 15px #ffd384;} }
@media (prefers-reduced-motion: reduce) { .flash-info { animation: none; } }

/* Tla�idl� */
.btn {
  background: var(--gold); color: #fff; padding: 12px 24px; margin-top: 6px; text-decoration: none; border-radius: 6px;
  display: inline-block; font-size: 1.1em; font-weight: 600; transition: background 0.18s; border: none; cursor: pointer;
  min-height: 44px;
}
.btn:hover { background: #94723e; color: #fff; }

/* Sekcie */
.section { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

/* Slu�by */
.services, .gallery-row { margin-top: 20px; }
.services { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.services .box {
  flex: 1 1 250px; text-align: center; background: #fdf9f6; padding: 25px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); transition: transform 0.3s ease;
}
.services .box:hover { transform: translateY(-5px); }
.service-link { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15em; text-decoration: none; color: inherit; justify-content: center; }
.services .box h3 a { color: #b08b57; text-decoration: none; transition: color .18s; }
.services .box h3 a:hover { color: #8e6c3c; }

/* GALLERY � grid */
.gallery-row {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  justify-items: center;
}
.gallery-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f6f6f6;
  transition: transform 0.25s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.gallery-row img:hover { transform: scale(1.03); }

/* CTA tla�idl� */
.cta-buttons {
  text-align: center; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 30px;
}
.calendar-btn { display: flex; align-items: center; gap: 8px; }
.calendar-icon { display: inline-block; margin-right: 8px; font-size: 1.2em; }

/* P�ta */
footer {
  background: #181818; color: #fff; text-align: center; padding: 40px 20px 20px; margin-top: 60px; transition: all 0.3s ease;
}
.footer-flex {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  max-width: var(--container); margin: 0 auto; gap: 18px;
}
.footer-copy { font-size: 0.98rem; opacity: 0.84; min-width: 135px; text-align: left; }
.footer-location-wrap { display: flex; flex-direction: row; gap: 16px; align-items: flex-start; flex-wrap: wrap; min-width: 250px; max-width: 410px; }
.footer-location-text { min-width: 140px; max-width: 210px; text-align: left; }
.footer-heading { font-weight: 600; color: #b08b57; margin-bottom: 8px; font-size: 1.1em; }
.footer-address { font-size: 1em; color: #fff; margin-bottom: 7px; line-height: 1.5; }
.map-link { color: #ffd384; text-decoration: underline; transition: color 0.3s; }
.map-link:hover { color: #fff; text-decoration: none; }
.footer-location-map { min-width: 110px; max-width: 160px; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 8px #b08b5712; height: 100px; }
.footer-location-map iframe { width: 100%; height: 100%; }
.footer-social { display: flex; gap: 14px; align-items: center; min-width: 42px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; color: #b08b57; text-decoration: none; font-size: 1.9rem; transition: color 0.17s; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 28px; height: 28px; display: block; fill: currentColor; }

/* ======= Responsive Adjustments ======= */
@media (max-width: 900px) {
  header { padding: 12px 20px; flex-wrap: wrap; }
  .menu-toggle { display: block; margin-left: auto; order: 2; }
  nav { order: 3; width: 100%; margin-top: 10px; }
  nav ul { flex-direction: column; gap: 8px; display: none; }
  nav ul.active { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border-radius: 0; background: #f8f8f8; width: 100%; display: none; }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }

  .reader-mode-btn { bottom: 70px; padding: 10px 15px; font-size: 14px; }

  .footer-flex { flex-direction: column; gap: 18px; }
  .footer-location-wrap { flex-direction: column; gap: 10px; align-items: flex-start; }
  .footer-location-map { width: 100%; max-width: none; height: 120px; }

  .footer-copy, .footer-location-text { text-align: center; width: 100%; max-width: 100%; }
  .footer-social { justify-content: center; width: 100%; margin-top: 10px; }

  /* About section responsive */
  .about-title { font-size: 1.8rem; }
  .benefits-block { padding: 20px; }
}

@media (min-width: 801px) {
  .reader-mode-btn, .reader-controls-panel { right: auto; left: 30px; bottom: 30px; }
}

@media (max-width: 600px) {
  .flash-info {
    font-size: 1rem; padding: 10px 6px; margin: 10px 0 4px; border-width: 1.5px; border-radius: 7px; line-height: 1.35; max-width: 98vw;
  }
  .hero { min-height: 340px; padding: 18px 14px 22px; gap: 10px; }
  .hero h1 { font-size: clamp(1.4rem, 4.5vw + 0.6rem, 1.9rem); padding: 8px 12px; }

  .services { gap: 14px; }
  .services .box { flex: 1 1 100%; padding: 18px; }

  .gallery-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .cta-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; }

  /* About spacing na mobile, aby to nebolo pr�li� vysok� */
  .about-section.section { padding-top: 56px; }
  .about-title { margin-bottom: 34px; }
}

@media (max-width: 480px) {
  .section { padding: 28px 14px; }
  .gallery-row { grid-template-columns: 1fr; }
  .footer-location-map { height: 100px; }
  .reader-controls-panel { bottom: 80px; right: 10px; padding: 10px; }
  .reader-mode-btn { bottom: 15px; right: 15px; }
  .about-section { padding: 40px 0; }
  .about-title { font-size: 1.6rem; margin-bottom: 30px; }
  .cta-block { font-size: 1rem; }
}

@media (max-width: 400px) {
  header { padding: 15px 20px; }
  .logo img { max-height: 60px; }
  .reader-controls-panel .reader-btn { width: 44px; height: 44px; }
  .reader-controls-panel .reader-btn svg { width: 20px; height: 20px; }
  .about-title { font-size: 1.5rem; }
  .benefits-list li { padding-left: 25px; }
}
