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

/* VARIABLES COLORS */
:root {
  --background: #bf7782;
  --font-paleblack: #111;
  --white: whitesmoke;
  --purple: #7C2494;
  --darkred: #620504;
  --red: #850A25;
  --black-licorice: #181114;
}

/* BODY */

body {
  background-color: var(--white);
  font-family: 'Inconsolata', monospace;
  font-size: 18px;
  background-color: var(--white);
  font-family: 'Inconsolata', monospace;
  font-size: 18px;
  padding-top: 180px;
}



/* HEADER */
header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  /* alebo akákoľvek farba */
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* voliteľný tieň */
  height: 180px;
}

.menu-logo {
  width: 150px;
  height: 150px;
  margin: 15px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 15px 30px;
  font-family: "Pacifico", cursive;
  font-size: 20px;
  z-index: 1;
  width: 90%;
}

.nav-list {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 70%;
}

li,
a {
  text-decoration: none;
  list-style-type: none;
  color: var(--black-licorice);
  margin-right: 10px;
}



p,
.list {
  font-family: "Open Sans", sans-serif;
}

.bold {
  font-weight: bold;
}

/* Odsadenie pre anchor linky kvôli fixnému headeru */
section,
#aboutme {
  scroll-margin-top: 200px;
}

/* BUTTON  */

.button {
  cursor: pointer;
}



/* BUTTON LANGUAGE */
.button-language {
  border-radius: 50%;
  font-family: "Reenie Beanie", cursive;
  padding: 10px;
  letter-spacing: 2px;
  text-align: center;
  order: 2;
  border: none;
  background-color: transparent;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0.5;
  /* Neaktívne sú svetlejšie */
  font-weight: normal;
  cursor: pointer;
  color: var(--black-licorice) !important;
  /* ← Čierna pre neaktívne */
  -webkit-appearance: none;
  /* Vypne iOS defaults */
  -moz-appearance: none;
  appearance: none;
}

.button-language:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.menu-language-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 40%;
  margin-right: 20px;
}

/* AKTÍVNY JAZYK - zvýraznený */
.button-language.active {
  opacity: 1;
  font-size: 42px;
  color: var(--black-licorice);
  transform: scale(1.1);
}


/* HAMBURGER MENU ICON */


.menu-icon {
  display: none;
}



/* HERO */

.hero-image_container {
  position: relative;
  width: 100%;
  height: 80vh;
  background-image: url('images/hero03.svg');
  background-size: cover;
  background-position: right top;
  /* vyplní celý priestor */
  background-position: start;
  /* zameria stred obrázka */
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.hero-image_container h1 {
  position: absolute;
  color: var(--white);
  font-size: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* BUTTON */
/* BUTTON HERO TITLE */

.button-herotitle {
  font-family: "Reenie Beanie", cursive;
  font-size: 36px;
  padding: 15px 20px;
  letter-spacing: 2px;
  border-radius: 5px;
}

/* SEKCE */

p,
.paragraph {
  margin: 50px;
  text-align: center;
  text-align: center;
}

h2 {
  text-align: center;
  font-family: "Pacifico", cursive;
  margin-top: 50px;
  color: var(--darkred);
  letter-spacing: 3px;
  margin: 30px;
}

.aboutthemethod-list {
  max-width: 70%;
  display: flex;
  flex-direction: column;
}

/* ABOUT ME */

.aboutme-textandphoto_container {
  display: flex;
  flex-direction: column;
}

.aboutme-image_wrapper {
  text-align: center;
  margin-top: 30px;
}

.aboutme-image {
  max-height: 300px;
  border-radius: 50%;
  border-style: solid;
  border-color: var(--black-licorice);
  padding: 5px;
}

.ez-icon {
  display: block;
  margin: 1.2rem auto;
  color: var(--black-licorice);
  width: 2rem;
  height: 2rem;
}

/* MY OFFER */

.myoffer-list {
  list-style: none;
  max-width: 70%;
  margin: 0 auto 40px;
  padding: 0;
  font-weight: bold;
}

.myoffer-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1.2rem;
  text-align: left;
  line-height: 1.6;
}

.myoffer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1.4rem;
  color: var(--darkred);
}



/* RECENZIE*/

.recenzie p {
  font-style: italic;
}

.recenzie h2 {
  font-style: normal;
}

.symbol-heart {
  font-style: normal;
}

/* PRICING */

.pricing_section {
  padding: 2rem 1rem 3rem;
  max-width: 860px;
  margin: 0 auto;
}

.pricing_section h2 {
  text-align: center;
  font-family: "Pacifico", cursive;
  color: var(--darkred);
  letter-spacing: 3px;
  margin: 30px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding: 0 20px;
  align-items: stretch;
}

.pricing-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease;
  height: 100%;
  box-sizing: border-box;
}

.pricing-item:hover {
  border-color: var(--darkred);
}

.pricing-item h3 {
  font-family: "Pacifico", cursive;
  font-size: 1rem;
  font-weight: 400;
  color: var(--darkred);
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.pricing-item p {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  margin-bottom: 1rem;
}

.pricing-item .price {
  font-family: "Inconsolata", monospace;
  font-size: 1.2rem;
  color: var(--darkred);
  letter-spacing: 2px;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
  margin-top: auto;
}





/* FOOTER */

.footer {
  color: var(--white);
  background-color: var(--black-licorice);
  font-size: 14px;
  padding: 60px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 30px;

}

.fa-brands {
  font-size: 40px;
  color: var(--white);
  margin: 30px;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer_copyright-font {
  font-family: "Open Sans", sans-serif;
}

/* 404 ERROR PAGE */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.error-page h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.error-page p {
  margin-bottom: 2rem;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: 70px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--darkred);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 24px;
  z-index: 999;

  /* Skryté na začiatku */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  /* Plynulá animácia */
  transition: all 0.3s ease;
}

/* Keď sa má zobraziť */
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover efekt */
.scroll-to-top:hover {
  background-color: var(--black-licorice);
  transform: translateY(-5px);
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); */
}

/* H1 FOR ROBOTS ONLY */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* Responzívne */
@media (max-width: 1050px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}




/* /////////////////////////////////// */

/* SMALL AND MIDDLE SCREENS */

/* /////////////////////////////////// */

@media (min-width: 1136px) and (max-width: 1240px) {
  nav {
    font-size: 18px;
  }
}

@media (max-width: 1135px) {
  body {
    font-size: 16px;
    /* padding-top: 0; */
    padding-top: 170px;
    /* ← Pre fixný header */
  }

  /* header {
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: relative;
  } */

  header {
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 35px 10px 10px; */
    padding: 10px 5px;
    /* menší padding */


    /* Fixný aj na mobile */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }


  nav {
    display: none;
    /* skryté menu */
    flex-direction: column;
    position: absolute;
    top: 200px;
    /* výška headeru */
    left: 0;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    margin: 0;
    background-color: whitesmoke;
  }

  nav.show {
    display: flex;
    /* zobrazí sa po kliknutí */
    margin-top: -40px;
  }

  .menu-icon {
    display: block;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .nav-list li:last-child {
    margin-bottom: 50px;
  }

  .nav-list li:first-child {
    margin-top: 50px;
  }

  .menu-logo {
    width: 120px;
    height: 120px;
    margin: 0;
    order: 1;
  }

  .button-language {
    font-size: 18px;
    margin: 0;
  }

  .button-language.active {
    font-size: 36px;
  }

  .menu-language-container {
    order: 3;
    display: flex;
    justify-content: space-around;
  }

  section,
  #aboutme {
    /* ← pridaj ID */
    scroll-margin-top: 180px;
  }

  /* test */

  /* HERO */

  /* .hero-image_container {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      background-position: right top;
    } */

  .button-herotitle {
    margin-bottom: 50px;
    display: none;
  }

  .button {
    opacity: 70%;
    color: var(--black-licorice);
  }


  .aboutme-image {
    max-height: 175px;
  }

  .scroll-to-top {
    bottom: 100px;
  }

  .button_sk {
    margin-left: 20px;
  }
}
