@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");


:root {
  --text-dark: #171717;
  --text-light: #525252;
  --extra-light: #a3a3a3;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Merriweather", serif;
}

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

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  color: var(--text-light);
  line-height: 1.75rem;
  text-align: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--text-dark);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--text-light);
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
}

.header {

  min-height: 250px;
  background-image: radial-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9)),
    url("Portfolio/DSC_2202.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

nav {
  position: relative;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  
}

.nav__logo img {
  max-width: 70px;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  position: absolute;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--text-dark);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links .nav__logo {
  display: none;
}

.nav__links a {
  padding-bottom: 5px;
  font-weight: 500;
  color: var(--white);
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  border-color: var(--white);
}

.about__container .section__description {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.about__container img {
  max-width: 170px;
  margin-inline: auto;
}

.portfolio__grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.portfolio__card {
  position: relative;
  isolation: isolate;
}

.portfolio__card::after {
  
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-family: var(--header-font);
  color: var(--white);
}

a.btn { display:inline-block; }

.portfolio__container {
  max-width: 1400px;
 
}





.portfolio__content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.3s;
  z-index: 1;
}

.portfolio__card:hover .portfolio__content {
  opacity: 1;
}

.service {
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("Portfolio/DSC_2202.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service__container .section__header {
  color: var(--white);
}

.service__container .section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--extra-light);
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.service__card {
  text-align: center;
}

.service__card h4 {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.service__card h4::after {
  position: absolute;
  content: "~";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  line-height: 0;
}

.service__card p {
  color: var(--extra-light);
  line-height: 1.75rem;
}

.client__container {
  padding-bottom: 2rem;
}

.swiper {
  margin-top: 2rem;
  padding-bottom: 3rem;
  width: 100%;
}

.client__card {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.client__card img {
  max-width: 120px;
  margin-inline: auto;
  margin-bottom: 2rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.client__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.75rem;
}

.client__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.swiper-pagination-bullet-active {
  background-color: var(--text-dark);
}

.gallery__grid {
  margin-block: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery__grid img {
  transition: 0.3s;
}

.gallery__grid:hover img:not(:hover) {
  opacity: 0.5;
}

.gallery__btn {
  text-align: center;
}

.klienti {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("Portfolio/D8A1B36C-0B53-4D3C-8988-D7BB62DC373D.JPG");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.klienti__container {
  padding-block: 8rem;
  display: grid;
}

.klienti__content {
  text-align: center;
}

.klienti__content .section__header {
  margin-bottom: 2rem;
  color: var(--white);
}

.klienti__content h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.klienti__content p {
  margin-bottom: 2rem;
  line-height: 1.75rem;
  color: var(--extra-light);
}

.klienti__content .btn {
  background-color: transparent;
  border: 1px solid var(--white);
}

.instagram__container {
  overflow: hidden;
}

.instagram__flex {
  margin-top: 2rem;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1rem;

  animation: scroll 45s linear infinite;
}

.instagram__flex img {
  max-width: 135px;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.footer__container {
  display: grid;
  gap: 4rem 0;
  align-items: center;
}

.footer__col {
  padding-inline: 2rem;
}

.footer__container img {
  max-width: 170px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.footer__socials a:hover {
  color: var(--text-light);
}

.footer__links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer__links a {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.footer__links a:hover {
  color: var(--text-light);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.footer__col p {
  color: var(--text-light);
  line-height: 1.75rem;
  text-align: center;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--extra-light);
  background-color: var(--text-dark);
  text-align: center;
}

@media (width > 540px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:nth-child(1) {
    grid-area: 1/1/2/3;
  }

  .footer__col:nth-child(3) {
    border-left: 2px solid var(--text-dark);
  }
}

@media (width > 768px) {
  .header {
    min-height: px;
  }

  nav {
    
    position: static;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__header {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: 100%;
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: space-between;
    background-color: transparent;
  }

  .nav__links .nav__logo {
    display: block;
  }

  .nav__links .nav__logo img {
    max-width: 150px;
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

 
  

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .klienti__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .klienti__content {
    grid-column: 2/3;
  }

  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__col:nth-child(1) {
    grid-area: 1/2/2/3;
    border-left: 2px solid var(--text-dark);
    border-right: 2px solid var(--text-dark);
  }

  .footer__col:nth-child(3) {
    border: none;
  }
}

@media (width > 1024px) {
  .header {
    min-height: 250;
  }

  .portfolio__grid {
    gap: 2rem;
  }
}

/* === Instagram pás (marquee) === */
.instagram__container { overflow: hidden; }

.instagram__flex {
  margin-top: 2rem;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: ig-scroll 45s linear infinite; /* zmena názvu animácie kvôli prehľadnosti */
  will-change: transform;
}

/* pauza pri hover */
.instagram__flex:hover { animation-play-state: paused; }

/* pekné štvorce + orez a zaoblenie */
.instagram__flex a { display: block; border-radius: 12px; overflow: hidden; }
.instagram__flex img {
  width: 135px;
  height: 135px;
  object-fit: cover;
  display: block;
}

/* animácia (globálne, nie vo vnútri iného selektora) */
@keyframes ig-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 0.5rem)); } /* -50% lebo máš zdvojené položky */
}

/* rešpektuj znížený pohyb */
@media (prefers-reduced-motion: reduce) {
  .instagram__flex { animation: none; }
}

/* Obal sekcie */
.albums__container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem 1rem;
}

.albums__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}


/* Karta albumu */



/* Obrázok vyplní kartu bez deformácie */
.album__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

/* Tmavý prechod pre text vľavo dole */
.album__card::after {
  
  content: "none";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
}

/* Názov albumu */
.album__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1rem, 1.2vw + .6rem, 1.6rem);
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.album__card:hover img { transform: scale(1.03); }


   
    :root { --bg:#f7f7fb; --card:#ffffff; --text:#1f2937; --muted:#6b7280; --primary:#111827; --ring:rgba(0,0,0,.08); --border:#e5e7eb; --ok:#065f46; --okbg:#d1fae5; --err:#991b1b; --errbg:#fee2e2; }
    *{box-sizing:border-box} body{margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, Ubuntu, Cantarell, Helvetica, "Apple Color Emoji","Segoe UI Emoji"; background:var(--bg); color:var(--text);}
    .container{max-width:1000px; margin:0 auto; padding:40px 20px;}
    h1{font-size:32px; margin:0 0 8px;}
    p.lead{color:var(--muted); margin:0 0 24px;}
    .grid{display:grid; gap:24px; grid-template-columns: 1fr; }
    @media (min-width: 992px){ .grid{ grid-template-columns: 1fr 2fr; } }
    .card{background:var(--card); border:1px solid var(--border); border-radius:16px; padding:20px; box-shadow:0 1px 2px rgba(0,0,0,.03);}
    .field{margin-bottom:16px;}
    .field label{display:block; font-size:14px; font-weight:600; margin-bottom:6px;}
    .req{color:#dc2626;}
    input[type=text], input[type=email], input[type=tel], textarea, select{
      width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:12px; outline:none; background:#fff;
    }
    input:focus, textarea:focus, select:focus{ box-shadow:0 0 0 4px var(--ring); border-color:#d1d5db; }
    .hint{font-size:12px; color:var(--muted); margin-top:6px;}
    .row{display:grid; gap:16px; grid-template-columns:1fr;}
    @media(min-width:600px){ .row{ grid-template-columns:1fr 1fr; } }
    .actions{display:flex; align-items:center; gap:12px; padding-top:8px;}
    button{background:var(--primary); color:#fff; border:none; border-radius:14px; padding:10px 16px; cursor:pointer; box-shadow:0 1px 2px rgba(0,0,0,.1);}
    button:disabled{opacity:.5; cursor:not-allowed;}
    .alert{border-radius:12px; padding:10px 12px; font-size:14px; margin-top:12px; border:1px solid; display:none;}
    .alert.ok{color:var(--ok); background:var(--okbg); border-color:#a7f3d0;}
    .alert.err{color:var(--err); background:var(--errbg); border-color:#fecaca;}
    .small{font-size:12px; color:var(--muted);}
    a{color:#111827}
    
  
.album__card .btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  background: #c0392b;
  color: white;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
}
/* =============================== */
/* DYNAMICKÉ A RESPONZÍVNE GALÉRIE */
/* =============================== */

/* kontajner sekcie */
.albums__container {
  max-width: 1400px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 4rem) 1rem;
}



/* karta */


.album__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

/* obrázok */
.album__card img {
  aspect-ratio: 4 / 5;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.album__card:hover img {
  transform: scale(1.05);
}

/* gradient pre čitateľnosť textu */
.album__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%);
  pointer-events: none;
}

/* popis */
.album__caption {
  position: absolute;
  left: clamp(0.6rem, 1.5vw, 1.2rem);
  bottom: clamp(0.6rem, 1.5vw, 1.2rem);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1.4rem);
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  z-index: 2;
}

/* tlačidlo v karte */
.album__card .btn {
  position: absolute;
  right: clamp(0.4rem, 1vw, 0.8rem);
  bottom: clamp(0.4rem, 1vw, 0.8rem);
  font-size: clamp(0.65rem, 0.8vw, 0.85rem);
  padding: clamp(0.3rem, 0.6vw, 0.45rem) clamp(0.5rem, 1vw, 0.7rem);
  border-radius: 8px;
  z-index: 3;
}

/* malé obrazovky */
@media (max-width: 480px) {
  .album__card {
    aspect-ratio: 1 / 1;
  }
}

/* ultra wide */
@media (min-width: 1800px) {
  .albums__container {
    max-width: 1700px;
  }
}



@media (max-width: 768px) {
  #recenzie {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }

  #recenzie .client__card {
    padding: .8rem 1rem;
  }
}


#recenzie .swiper,
#recenzie .swiper-wrapper,
#recenzie .swiper-slide {
  height: auto !important;
}

#recenzie .swiper-wrapper {
  align-items: flex-start !important;
}

#recenzie .swiper-slide {
  display: block !important;
}

#recenzie {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Najnovšie fotogalérie */

.gallery__item {
  position: relative;
  display: block;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.3s;
}

.gallery__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  opacity: 0;
  transition: 0.3s;
}

.gallery__item:hover .gallery__title {
  opacity: 1;
}

/* zachová tvoj sivý hover efekt */
.gallery__grid:hover img:not(:hover) {
  opacity: 0.5;
}

/* === NAV CENTER LOGO LAYOUT === */

.nav__split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.nav__left,
.nav__right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav__left {
  justify-content: flex-end;
}

.nav__right {
  justify-content: flex-start;
}

.nav__logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__logo-center img {
  max-width: 120px;
  transform: translateY(15px);
}

/* Mobile fallback */
@media (max-width: 768px) {
  .nav__split {
    display: flex;
    flex-direction: column;
  }

  .nav__left,
  .nav__right {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 20px;
  }
}
.nav__links a {
  white-space: nowrap;
}


html, body {
  height: 100%;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page main {
  flex: 1;
}

.nav-more {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  z-index: 100;
}

/* Tlačidlo – tri bodky */
.nav-more-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  padding: 4px;
}

.nav-more-btn span {
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
}

/* Otvorený stav */
.nav-more.open .nav-more-panel {
  max-width: 200px;
  opacity: 1;
}
.portfolio__grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio__card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.portfolio__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio__content {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .3s;
}

.portfolio__card:hover .portfolio__content {
  opacity: 1;
}

.portfolio__content {
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  align-items: top;
  padding-bottom: 1.5rem;
}

.portfolio__content .btn {
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  padding: 0;
}
.portfolio__card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: block;
   aspect-ratio: 4/5 ;
   
}


.portfolio__card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
   
}

.portfolio__overlay {
 position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
  text-align: center;
 
}

.portfolio__overlay span {
  font-family: var(--header-font, serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: white;
  letter-spacing: .05em;
  line-height: 1.1;
}

.portfolio__card:hover img {
  transform: scale(1.05);
  transition: transform .4s ease;
}
 
/* ===== PORTFOLIO PREVIEW (SETTINGS) ===== */
.portfolio-preview {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: .75rem;
  background: #fff;
}

.portfolio-preview img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.portfolio-preview__content {
  flex: 1;
}

.portfolio-preview__actions {
  margin-top: .5rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}

.btn--danger {
  background: #c62828;
  color: #fff;
}
.btn--danger:hover {
  background: #b71c1c;
}

/* ===== KONTAKTY V SETTINGS ===== */
.contacts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.contacts-table th,
.contacts-table td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: top;
}

.contacts-table th {
  background: #f5f5f5;
  text-align: left;
}

.contacts-table .center {
  text-align: center;
  width: 40px;
}

.contacts-table .email {
  max-width: 260px;
  word-break: break-all;
}

.contacts-table tr.done {
  background: #e6ffed;
}

/* ===== PAGINATION ===== */
.pagination {
  margin-top: 1rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.pagination a {
  padding: .4rem .7rem;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #000;
  border-radius: 4px;
  font-size: 14px;
}

.pagination a.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.pagination a:hover {
  background: #eee;
}
.favorite-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    background: #fafafa;
    color: #000;
}

.star {
    font-size:22px;
    color:#ccc;
    transition:.2s;
}
.star.active { color:gold; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.gallery__item {
  position: relative;
  height: 220px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease;
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color: white;
  font-size: 22px;
  font-weight: 500;
}

.favorite-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
/* ===== FIX: nav-more menu POD SEBOU ===== */
.nav-more-panel {
    display: flex;
    flex-direction: column;
}
.nav-more-panel a {
    padding: 12px 16px;
    margin-top: 2px;
}

.nav-more-panel a {
    display: block;
    width: 100%;
}

.nav-more-panel {
    top: 50%;
    transform: translateY(-50%);
    margin-top: 24px;
}
/* =====================================================
   MOBIL – presné vertikálne zarovnanie ikon v headeri
   ===================================================== */
@media (max-width: 768px) {

  
    /* HEADER ako referenčný bod */
    header.header {
        position: relative;
    }

    /* ===== HAMBURGER (3 čiarky) – trochu vyššie ===== */
    .nav__menu__btn {
        position: absolute;
        right: 18px;
        top: 12px;        /* ← TU ho zdvihneš / spustíš */
    }

    /* ===== 3 BODKY (viac menu) – trochu nižšie ===== */
    .nav-more {
        position: absolute;
        right: 32px;      /* vedľa hamburgera */
        top: 50px;        /* ← TU je výška 3 bodiek */
    }

    /* ===== DROPDOWN BOX POD BODKAMI ===== */
    .nav-more-panel {
        top: 100%;
        margin-top: 10px;
    }
}
/* =====================================
   DESKTOP – zarovnanie 3 bodiek k menu
   ===================================== */
@media (min-width: 769px) {

    header.header {
        position: relative;
    }

    .nav-more {
        position: absolute;
        right: 35px;
        top: 50%;
        transform: translateY(-260%); /* ← presne na úroveň menu textu */
       
    }

    .nav-more-panel {
        top: 100%;
        margin-top: 12px;
    }
}


.portfolio__card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5; /* môžeš zmeniť */
}

/* obrázok vyplní celý card */
.portfolio__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* jemný gradient iba dole (žiadny sivý film) */
.portfolio__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 35%,
    rgba(0,0,0,0) 65%
  );

  text-align: center;
  pointer-events: none;
}

/* zaoblenie a tieň */
.gallery__grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  position: relative;
}

/* obrázok */
.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  border-radius: 14px;
}

/* názov na obrázku */
.gallery__grid .gallery__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(58, 58, 58, 0.9), transparent);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* efekt po prejdení */
.gallery__grid a:hover img {
  transform: scale(1.06);
}

/* zobraz názov pri hover */
.gallery__grid a:hover .gallery__title {
  opacity: 1;
}

/* 🔥 ostatné položky zošednú */
.gallery__grid:hover a img {
  filter: grayscale(80%) brightness(0.6);
}

.gallery__grid a:hover img {
  filter: none;
}

.btn.active {
  background: #6aa84f;
  color: #fff;
}

/* ===== PARTNERI – FORCE ROW LAYOUT ===== */

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  justify-items: center;

  max-width: 900px;
  margin: 1.5rem auto 3rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 80px;
  max-width: 160px;
  object-fit: contain;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-logo img {
  max-height: 120px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .8;
}


/* LOGO */

/* sekcia */


/* wrapper Elfsight appky */
.instagram__container .elfsight-app-732ff558-4707-4f6c-bfd8-437e09b7d2f5 {
  
  justify-content: center;
}

/* skutočný instagram feed */
.instagram__container .eapps-instagram-feed {
  margin: 0 auto;
  max-width: 720px;
}

.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.review-modal-box {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  animation: reviewPopup .25s ease;
}

.review-modal-box p {
  margin: 0.75rem 0 1.5rem;
  color: #555;
}

@keyframes reviewPopup {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


.nav-more-btn span {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    display: block;
}

.nav-more-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
     position: fixed;
    top: 6.5rem;
    right: 1.8rem;
}

.nav-search-btn {
    background: none;
    border: none;
    font-size: clamp(16px, 1.2vw, 22px);
    cursor: pointer;
    color: #fff;
    box-shadow: none;
}

.nav-more-panel {
  position: absolute;

  
  top: 0%;
  transform: translateY(50%);

  /* ➡️ vpravo od 3 bodiek */
  right: 0;
  margin-left: 10px;
  

  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 10px;
  min-width: 160px;

  z-index: 9999;
  display: none;
}


/* Keď je otvorené */
.nav-more.open .nav-more-panel {
    display: block;
}

.nav-icons,
nav ul {
    display: flex;
    align-items: center;
    gap: 12px; /* vzdialenosť medzi ikonami */
}

/* Tmavé pozadie */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.7);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 10000;
}

/* Okno */
.popup-box {
    background: #fff;
    color: #000;

    padding: 25px;
    border-radius: 12px;

    max-width: 9999px;
    width: 90%;

    text-align: center;

    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Tlačidlo */
.popup-box button {
    margin-top: 15px;
    padding: 8px 16px;

    border: none;
    border-radius: 6px;

    background: #000;
    color: #fff;

    cursor: pointer;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.album-card {
  text-decoration: none;
  color: #000;
}

.album-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.album-card h3 {
  margin-top: 10px;
  font-size: 16px;
  text-align: center;
}
/* základ gridu */
.service_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* karty */
.service_card {
  max-width: 320px;
  width: 100%;
  justify-self: center;
}



@media (max-width: 768px) {
  .service_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service_grid > .service_card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 540px) {
  .service_grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SLUŽBY – CENTROVANIE POSLEDNEJ KARTY ===== */

/* desktop – 3 stĺpce */
@media (min-width: 769px) {
  .service_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ak je posledná karta sama (4, 7, 10...) */
  .service_grid > .service_card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* ===== FAQ ===== */
.faq_section {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
}

.faq_title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.faq_item {
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  overflow: hidden;
}

/* otázka */
.faq_question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

/* šípka */
.faq_arrow {
  transition: transform .3s ease;
  font-size: 20px;
}

/* odpoveď */
.faq_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}

.faq_answer p {
  margin: 0;
  padding-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

/* otvorené */
.faq_item.open .faq_answer {
  max-height: 300px;
  padding-top: 10px;
    overflow-y: auto;
}

.faq_item.open .faq_arrow {
  transform: rotate(180deg);
}


.btn-edit {
  background: #111;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.btn-delete {
  background: #c62828;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.btn-add {
  background: #555;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 30px;
}





/* BUTTONS */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #111;
  color: #fff;
}

.btn-secondary {
  background: #e5e5e5;
  color: #111;
}
@media (max-width: 768px) {

  /* MENU BUTTON */
  #menu-btn {
    position: fixed;
    top: 3rem;
    right: 1rem;
    z-index: 10002;
    width: 42px;
    height: 42px;
z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    color: #fff;
  }

  #menu-btn i {
    font-size: 1.6rem;
    color: #fff;
    padding-top: 2px;
  }

  /* MOBILE MENU – ZATVORENÉ */
  .nav__links {
    padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  max-height: 0;
  overflow: hidden;


  /* GLASS BASE */
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.15)
    ),
    rgba(255,255,255,0.15);

  backdrop-filter: blur(14px);
  
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 2rem;

  color: #fff;

  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;

  transition:
    max-height .45s ease,
    opacity .25s ease,
    transform .35s ease,
    visibility .25s;

  z-index: 10000;
}


  /* MOBILE MENU  */
  .nav__links.open {
    padding: 0;
    max-height: 9999px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;

    pointer-events: auto; 

  }

}


nav,
#menu-btn,
.nav-more,
.nav-more * {
  pointer-events: auto;
}
header {
  position: relative;
}

.nav-search-box {
  position: absolute;
  top: 100%;          /* hneď pod headerom */
  right: 1.5rem;     /* zarovnané k menu */

  width: 320px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);

  transition: opacity .2s ease, transform .2s ease;
  z-index: 2000;
}
@media (max-width: 768px) {

  .nav__links {
    position: fixed;
    inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    background: rgba(0, 0, 0, 0.40);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease;
    z-index: 9999;
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

}


.nav-search-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


@media (max-width: 768px) {

  .nav-search-box {
    position: fixed !important;

    top: 50% !important;
    left: 50% !important;
    right: auto !important;

    transform: translate(-50%, -50%) scale(.95);

    width: 90vw !important;
    max-width: 420px;

    border-radius: 18px;
    padding: 1.5rem;


    opacity: 0;
    pointer-events: none;

    transition: all .25s ease;
    z-index: 10050;
  }

  .nav-search-box.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }

}

.search-all {
  
    color: black;
}
.policy_section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.policy_title {
  text-align: center;
  margin-bottom: 40px;
}

.policy_content h2 {
  margin-top: 30px;
  font-size: 20px;
}

.policy_content p {
  line-height: 1.7;
  margin-top: 10px;
}

/* ===== ADMIN LAYOUT ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f4f5f7;
 padding:20px 20px;   
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.admin-content {
  flex: 1;
  padding: 40px;
}
.announcement-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.announcement-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.announcement-content {
  background: #fff;
  max-width: 520px;
  width: 90%;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
  transform: translateY(20px);
  transition: transform .3s ease;
}

.announcement-modal.active .announcement-content {
  transform: translateY(0);
}

.announcement-content h2 {
  margin-bottom: 15px;
  font-size: 22px;
}

.announcement-content p {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #444;
}

.announcement-btn {
  background: #111;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s ease;
}

.announcement-btn:hover {
  background: #333;
}