/* Nobelovo námestie — restored Enfold layout for index.html */
:root {
  --green: #00a94f;
  --green-dark: #008e34;
  --ink: #2d2d2d;
  --muted: #5f5f5f;
  --paper: #ffffff;
  --footer-bg: #1f1f1f;
  --socket-bg: #161616;
  --max: 1310px;
}

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

html.html_stretched,
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

a:hover {
  color: var(--green-dark);
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.4em;
  color: inherit;
}

p {
  margin: 0 0 1em;
}

#wrap_all,
#main {
  width: 100%;
  position: relative;
}

/* Layout */
.container,
.container_wrap .container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 50px;
}

.container_wrap.fullsize {
  clear: both;
  width: 100%;
}

.av-content-full.units {
  width: 100%;
  float: none;
}

.entry-content-wrapper {
  width: 100%;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Header */
#header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
}

#header.av_header_transparency {
  position: absolute;
  left: 0;
  right: 0;
}

#header .header_bg {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

#header_main {
  position: relative;
  z-index: 2;
}

#header .av-logo-container {
  height: 88px;
}

#header .inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 3;
}

.logo a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo a:empty::after {
  content: "Nobelovo námestie";
}

.logo a:hover {
  color: #fff;
  opacity: 0.85;
}

.main_menu {
  margin-left: auto;
}

.av-main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.av-main-nav > li > a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.av-main-nav > li > a:hover,
.av-main-nav > .current-menu-item > a {
  color: #fff;
  opacity: 0.75;
}

#menu-item-search > a {
  width: 42px;
  height: 42px;
  padding: 0;
  position: relative;
}

#menu-item-search > a::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}

#menu-item-search > a::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 8px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.avia_hidden_link_text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.av-burger-menu-main {
  display: none;
}

[data-av_icon]::before {
  font-family: "entypo-fontello";
  content: none;
}

#menu-item-search > a[data-av_icon]::before,
#menu-item-search > a::before {
  content: "";
  font-family: inherit;
  position: absolute;
  top: 12px;
  left: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.avia-slideshow-arrows a {
  text-indent: 0;
  font-size: 0;
}

.avia-slideshow-arrows a::before {
  content: "";
  font-family: inherit;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin: 0 auto;
}

.av-horizontal-gallery-prev::before {
  transform: rotate(135deg);
}

.av-horizontal-gallery-next::before {
  transform: rotate(-45deg);
}

/* Hero */
#av_section_1 {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: top center !important;
  position: relative;
  color: #fff;
  padding: 140px 0 80px;
}

#av_section_1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 169, 79, 0.35) 0%, rgba(0, 90, 40, 0.45) 100%);
}

#av_section_1 .container,
#av_section_1 .template-page {
  position: relative;
  z-index: 1;
  width: 100%;
}

#av_section_1 .av-special-heading {
  color: #fff !important;
  text-align: center;
  max-width: 920px;
  margin: 20px auto !important;
  padding: 0 16px;
}

#av_section_1 h1.av-special-heading-tag {
  font-size: clamp(32px, 4.4vw, 54px);
  color: #fff;
  font-weight: 600;
}

#av_section_1 h2.av-special-heading-tag {
  font-size: clamp(18px, 2.2vw, 26px);
  color: #fff;
  font-weight: 400;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.special-heading-border {
  width: 30px;
  margin: 16px auto 0;
}

.special-heading-inner-border {
  border-bottom: 3px solid currentColor;
}

#av_section_1 .special-heading-inner-border {
  border-color: #fff !important;
}

.hr-invisible {
  width: 100%;
  display: block;
}

.av-minimum-height-50 {
  min-height: 50vh;
}

.av-minimum-height-75 {
  min-height: 75vh;
}

/* Buttons */
.avia-button-wrap {
  margin: 10px 0;
}

.avia-button-center {
  text-align: center;
}

.avia-button {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.avia-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.avia-size-large {
  padding: 16px 36px;
  font-size: 14px;
}

#av_section_1 .avia-button {
  background: #fff;
  border-color: #fff;
  color: var(--green) !important;
}

#av_section_1 .avia-button:hover {
  background: #f3fff8;
  color: var(--green-dark) !important;
}

.avia-button-fullwidth {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 16px;
  padding: 22px 28px;
  text-align: center;
}

.avia-button .avia_button_icon {
  margin-right: 10px;
}

.avia_button_background,
.avia-button .avia-button {
  display: none !important;
}

.avia-builder-el-25 {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 16px;
  padding: 22px 28px;
  background: #7a7a7a;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.avia-builder-el-25 .avia_button_background {
  display: none;
}

/* Columns */
.flex_column_table.av-equal-height-column-flextable,
.flex_column_div,
.entry-content-wrapper > .flex_column {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.flex_column_table_cell,
.flex_column_div > .flex_column,
.flex_column.av_one_half,
.flex_column.av_one_third,
.flex_column.av_one_fifth,
.flex_column.av_three_fifth {
  display: flex;
  flex-direction: column;
}

.av-align-middle {
  justify-content: center;
}

.av_one_half {
  width: 50%;
  padding: 20px 30px;
}

.av-flex-placeholder {
  display: none;
}

.av_one_third {
  width: 33.333%;
  padding: 0 20px;
}

.av_one_fifth {
  width: 20%;
}

.av_three_fifth {
  width: 60%;
  padding: 40px 20px;
}

.av-zero-column-padding {
  padding-left: 0;
  padding-right: 0;
}

.flex_column_table .av_one_half.first {
  padding: 40px 50px 40px 0;
}

.flex_column_table .av_one_half:not(.first) {
  padding: 40px 0 40px 50px;
}

/* Content sections */
#av_section_2,
#av_section_4 {
  padding: 70px 0;
  background: #fff;
}

#av_section_2 .av-special-heading-tag,
#av_section_4 .av-special-heading-tag {
  font-size: 36px;
  color: var(--ink);
}

#av_section_2 .special-heading-inner-border,
#av_section_4 .special-heading-inner-border {
  border-color: var(--green);
}

.avia_textblock {
  color: var(--muted);
  font-size: 16px;
}

.avia-image-container {
  width: 100%;
}

.avia-image-container-inner,
.avia-image-overlay-wrap {
  width: 100%;
  min-height: 280px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(0, 169, 79, 0.18), rgba(0, 80, 40, 0.12)),
    url("https://www.nobelovonamestie.sk/wp-content/uploads/2021/03/header.png") center / cover no-repeat;
}

#av_section_4 .avia-image-overlay-wrap {
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(0, 169, 79, 0.12), rgba(0, 0, 0, 0.08)),
    url("https://www.nobelovonamestie.sk/wp-content/uploads/2021/03/testemonial-parallax.jpg") center / cover no-repeat;
}

/* Testimonial / quote */
#av_section_3 {
  background-size: cover !important;
  background-position: top center !important;
  background-attachment: fixed;
  position: relative;
  padding: 90px 0;
  color: #fff;
}

#av_section_3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 90, 40, 0.55);
}

#av_section_3 .container {
  position: relative;
  z-index: 1;
}

.avia-testimonial-wrapper {
  text-align: center;
}

.avia-testimonial-content {
  font-size: 22px;
  line-height: 1.55;
  font-style: italic;
  font-family: Georgia, serif;
  color: #fff;
  margin-bottom: 28px;
}

.avia-testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.avia-testimonial-arrow-wrap {
  display: none;
}

.avia-testimonial-image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.avia-testimonial-meta-mini {
  text-align: left;
}

.avia-testimonial-name {
  display: block;
  font-size: 16px;
  color: #fff;
}

.avia-testimonial-subtitle {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

/* Gallery */
#av-horizontal-gallery-1 {
  background: #f4f6f4;
  overflow: hidden;
}

.av-horizontal-gallery {
  position: relative;
  padding: 3.75% 0;
}

.avia-slideshow-arrows a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 169, 79, 0.92);
  color: #fff;
  text-indent: -9999px;
  overflow: hidden;
}

.avia-slideshow-arrows a::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  font-size: 18px;
}

.av-horizontal-gallery-prev {
  left: 18px;
}

.av-horizontal-gallery-next {
  right: 18px;
}

.av-horizontal-gallery-inner {
  position: relative;
  height: min(320px, 42vw);
}

.av-horizontal-gallery-slider {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 18px;
  padding: 0 70px;
}

.av-horizontal-gallery-wrap {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(0, 169, 79, 0.25), rgba(0, 0, 0, 0.18)),
    url("https://www.nobelovonamestie.sk/wp-content/uploads/2021/03/header.png") center / cover no-repeat;
}

.av-horizontal-gallery-wrap:nth-child(2) {
  background-image:
    linear-gradient(160deg, rgba(0, 169, 79, 0.2), rgba(0, 0, 0, 0.2)),
    url("https://www.nobelovonamestie.sk/wp-content/uploads/2021/03/testemonial-parallax.jpg");
}

.av-horizontal-gallery-wrap:nth-child(3) {
  filter: saturate(1.1);
}

.av-horizontal-gallery-wrap:nth-child(4) {
  filter: hue-rotate(-8deg);
}

.av-horizontal-gallery-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Footer */
#footer {
  background: var(--footer-bg);
  color: #d5d5d5;
  padding: 60px 0 40px;
}

#footer .container {
  display: flex;
  flex-wrap: wrap;
}

#footer .widgettitle {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

#footer .textwidget,
#footer .menu {
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.8;
}

#footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .menu a {
  color: #cfcfcf;
}

#footer .menu a:hover {
  color: #fff;
}

#footer .av_one_third.first {
  display: none;
}

#socket {
  background: var(--socket-bg);
  color: #9a9a9a;
  padding: 18px 0;
  font-size: 13px;
}

#socket .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social_bookmarks {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.social_bookmarks li {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2c2c2c;
  position: relative;
}

.social_bookmarks li::before {
  font-family: "entypo-fontello";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.social_bookmarks_facebook::before {
  content: "\e8f4";
}

.social_bookmarks_instagram::before {
  content: "\e90c";
}

#scroll-top-link {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  width: 42px;
  height: 42px;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

#scroll-top-link::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 6px;
}

#scroll-top-link:hover {
  background: var(--green-dark);
  color: #fff;
}

/* Animations (no JS required) */
.av-animated-generic {
  animation: fade-up 0.8s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Search tooltip stays hidden without theme JS */
[data-avia-search-tooltip] {
  position: relative;
}

/* Mobile */
@media (max-width: 989px) {
  .container,
  .container_wrap .container {
    padding: 0 24px;
  }

  .av-burger-menu-main {
    display: list-item;
  }

  .av-hamburger {
    display: block;
    width: 28px;
    padding: 10px 0;
  }

  .av-hamburger-box,
  .av-hamburger-inner,
  .av-hamburger-inner::before,
  .av-hamburger-inner::after {
    display: block;
    height: 2px;
    background: #fff;
    position: relative;
  }

  .av-hamburger-inner::before,
  .av-hamburger-inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
  }

  .av-hamburger-inner::before {
    top: -8px;
  }

  .av-hamburger-inner::after {
    top: 8px;
  }

  .av-hamburger strong {
    display: none;
  }

  .av-main-nav > li:not(.av-burger-menu-main):not(.menu-item-search-dropdown) {
    display: none;
  }

  .av_one_half,
  .av_one_third,
  .av_one_fifth,
  .av_three_fifth,
  .flex_column_table .av_one_half.first,
  .flex_column_table .av_one_half:not(.first) {
    width: 100%;
    padding: 16px 0;
  }

  #header.av_header_transparency {
    position: absolute;
    left: 0;
    right: 0;
  }

  #av_section_1 {
    padding-top: 120px;
    min-height: 70vh;
  }

  .avia-testimonial-content {
    font-size: 18px;
  }

  .av-horizontal-gallery-inner {
    height: 220px;
  }

  .av-horizontal-gallery-slider {
    padding: 0 24px;
    gap: 10px;
  }

  .av-horizontal-gallery-wrap:nth-child(n + 3) {
    display: none;
  }

  #footer .container,
  #socket .container {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  #av_section_3 {
    background-attachment: scroll;
  }
}

@media (max-width: 479px) {
  #av_section_1 h1.av-special-heading-tag {
    font-size: 28px;
  }

  .avia-button-fullwidth,
  .avia-builder-el-25 {
    font-size: 12px;
    padding: 18px 14px;
  }
}
