@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-2/Poppins-Regular.ttf);
    font-weight: normal;
}
@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-2/Poppins-ExtraBold.ttf);
    font-weight: bold;
}

.centered {
    text-align: center;
}

html, body {
    background: #F9F9F9;
    height: 100%;
    margin: 0;
}

body {
    position: relative;
    font-family:"Poppins";
    color: #414042;
    font-size: 14px;
    background: url('images/pozadie2.jpg') no-repeat center top fixed;
    background-size: cover;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    z-index: 0;
}

body > main {
    padding-top: 100px; /* výška headeru na desktop */
}

body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75); /* čím vyššia hodnota, tým svetlejšie */
    z-index: -1; /* nech ostane za obsahom */
}

main {
    flex: 1;   
    overflow-y: auto; /* scrolluje sa len obsah */
    margin-top: 100px; /* výška tvojej hlavičky */
    margin-bottom: 100px; /* výška tvojej pätky */
    padding-top: 30px;
    padding-bottom: 100px;            
}

.article-img {
    max-width: 250px;         /* kontrolovaná šírka obrázku */
    margin: 0 10px 10px 0;             
    border-radius: 10px;      /* jemne zaoblené rohy */
    float: left;    
    filter: grayscale(0.3);           
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* jemný tieň */
}
.article-img.right {
    float: right;
    margin-top: 50px;
    filter: grayscale(0.3); 
    
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.avatar { 
    width: 250px; 
    float: right; 
    padding-left: 20px; 
    filter: grayscale(0.1); 
} 
.avatar1 { 
    width: 250px; 
    float: right; 
    padding-left: 10px; 
    filter: grayscale(0.1); 
    margin-top: 50px; 
}
 .photo { 
    width: 200px; 
    float: left; 
    padding-right: 10px; 
    filter: grayscale(0.1); 
    margin-top: 0px; 
}

main, article {
    padding-top: 30px; 
}

article header {
    height: auto;
    padding: 20px 0;
    text-align: center;
}
article{
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 50px 10px 50px;
    
}
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: #080303;
    padding: 10px 0;
}
article h1 {
    margin: 20px 0;
    font-size: 2.3em;
    font-weight: bold;
    text-transform: uppercase;
    width: max-content;
    border-bottom: 4px solid #910202;
}

article h3:first-of-type {
    margin-top: 10px;
}
article h3,
.article-h3,
#map-section h3 {
    margin-top: 20px;
}

article h3  {
    margin: 10px 0;
    font-size: 1.6em;
    font-weight: bold;
    text-transform: uppercase;
    width: max-content;
    border-bottom: 4px solid #930c0c;
    text-align: center;
    display: block;
}
article header h3 {
    margin: 10px auto;  /* rovnaká medzera ako v #map-section h3 */
    text-align: center;
}

article section p {
    line-height: 1.8em;
}

article section a {
    margin-bottom: 1.5em;
    color: #910202;
}
.cleaner {
    clear: both;
}
.paragraph-button {
    margin-top: 50px;
}


body > header {
    height: 100px;
    width: 100%;
    background: #910202;
    color: #f5e6e6;
    display: flex;
    justify-content: space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    top: 0;
    border-bottom: 5px solid #F1BF00;
}

#logo {
    height: 80px;
    margin: auto 0 auto 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('images/biele_logo.png') no-repeat;
    background-size: 200px 80px;
}
#logo > * {
    margin: 0 0 0 140px;
}

#logo small {
    margin-top: 70px;
    text-transform: none;
    font-size: 0.75em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif ;
    white-space: nowrap;
}

nav ul {
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    height: 100%;
}
nav ul li {
    padding: 0 25px;
    margin: 0 5px;
    font-size: 1em;
    line-height: 4.3em;
    position: relative;
}
nav ul li .dropdown-content {
    display: none;        /* skryté podmenu */
    position: absolute;
    top: 100%;            /* pod rodičovský li */
    left: 0;
    min-width: 150px;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    
}

nav ul li .dropdown-content li {
    width: 170px; 
    background: 
    linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),
    url('images/nav.PNG') no-repeat center center;
    background-size: cover;
}


nav ul li .dropdown-content li a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    text-align: left;
   
}

nav ul li .dropdown-content li a:hover {
    filter: brightness(250%); 
    transition: 0.3s ease;
    
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

nav ul li a {
    color: white;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul a {
    color: rgb(239, 218, 218);
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul li a:hover, .active a {
    border-bottom: 2px solid #a57878;
}

nav ul a:hover, .active a {
    border-bottom: 2px solid #a57878;
}
.contact-button {
    background: black;
    padding: 10px 20px;
    border-radius: 20px;
}
.contact-button:hover,
.references-button:hover {
    filter: brightness(115%) contrast(85%);
    border: 0;
}


footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px; 
    background-color: #AA151B;
    color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 0.9rem;
    border-top: 5px solid #F1BF00; /* žltý pruh hore – ako španielska vlajka 🇪🇸 */
    z-index: 1000;
    box-sizing: border-box;
    flex-wrap: wrap;
  }
  
  footer a {
    color: #f5f5f5;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  .footer-left p {
    margin: 0;
    line-height: 1.4;
  }
  
  .footer-center {
    text-align: center;
    flex: 1;
  }
  
  .footer-right {
    text-align: right;
  }
  
  .insta-icon {
    background:#AA151B ;
    width: 40px;
    vertical-align: middle;
    margin-right: 5px;
  }
  

.left {
    float: left;
}
.map-container {
    width: 100%;
    max-width: 1500px;
    height: 350px;
    margin: 80px auto 30px auto;          /* zarovná do stredu */
    border: 2px solid #a41010;  /* pekný orámovací prvok */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  #map-section {
    text-align: center;       /* vycentruje obsah sekcie */
    padding: 40px 0;   /* horný/spodný odstup */
  }
  
  #map-section h3 {
    display: inline-block;    /* umožní, aby border-bottom obkreslil len text */
    font-family: "Poppins";
    color: #010101;
    font-size: 1.6em;
    font-weight: bold;
    width: max-content;
    text-transform: uppercase;
    border-bottom: 4px solid #930c0c;
    margin: 20px auto; /* vycentruje nadpis a pridá medzeru pod ním */
  }
  #map-section p {
    margin: 20px 0;            /* rovnaké medzery aj pri texte */
    text-align: center;
}


.email-button {
    display: inline-block;
    background-color: #910202;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
  }
  
  .email-button:hover {
    background-color: #a92f2f;
    filter: brightness(110%);
  }
 
  .gallery, .gallery2, .gallery3 {
    display: grid;
    gap: 10px;
    justify-content: center;
    margin: 40px auto 50px;
}
.gallery {
    grid-template-columns: repeat(3, 1fr);
}

.gallery2, .gallery3 {
    grid-template-columns: repeat(5, 1fr);
}


.gallery img {
    width: 90%;
    height: 350px;
    filter: grayscale(0.2);
    justify-self: center;
    border: 2px solid black;
}

.gallery2 img {
    width: 90%;
    height: 200px;
    filter: grayscale(0.2);
    justify-self: center;
    border: 2px solid black;
}  


.gallery3 img {
    width: 90%;
    height: 200px;
    filter: grayscale(0.2);
    justify-self: center;
    border: 2px solid black;
    
}  
.gallery-section {
    text-align: center;
    padding: 60px 0;
  }
  
  .gallery-section h3 {
    font-size: 1.8em;
    text-transform: uppercase;
    border-bottom: 4px solid #930c0c;
    display: inline-block;
    margin-bottom: 30px;
    margin-top: -30px !important;
    color: #222;
  }

/* jednotná výška pre obrázky v eventoch a produktoch */
.event-img, 
.products-img, 
.vina-img, 
.cavas-img, 
.tapasbar-img, 
.gourmet-img {
    width: 100%;        /* alebo fixná šírka podľa gridu */
    height: 200px;      /* jednotná výška */
    object-fit: cover;  /* zachová proporcie a oreže prebytok */
    display: block;
    margin: 0 auto;
}


  
  .carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 250px;
    margin: 0 auto 50px auto;
    overflow: hidden;
    
    border: 2px solid #930c0c;
  }
  .carousel-track-container {
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-track img {
    width: 250px; /* fixná šírka obrázku */
    height: 250px; /* fixná výška */
    object-fit: cover; /* obrázok sa pekne orezáva */
    margin-right: 10px; /* medzera medzi obrázkami */
    cursor: pointer; /* klikateľný pre lightbox */
  }
  .carousel-slide {
    min-width: 300px; /* veľkosť obrázku */
    margin-right: 10px;
    cursor: pointer;
    
    
  }
  
  .carousel-slide:hover {
    filter: brightness(110%);
  }
  
  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    padding: 0 10px;
  }
  .carousel-button.prev {
    left: 0;
  }
  
  .carousel-button.next {
    right: 0;
  }
  
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 2000;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
  }
  
  .lightbox.active {
    visibility: visible;
    opacity: 1;
  }
  




#contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
  }
  
  .contact-left, .contact-right {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-left h3 {
    border-bottom: 4px solid #930c0c;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #222;
  }
  
  .contact-left p {
    margin: 5px 0 15px;
    line-height: 1.6em;
  }
  
  .contact-left a {
    color: #910202;
    font-weight: bold;
    text-decoration: none;
  }
  
  .contact-left a:hover {
    text-decoration: underline;
  }
  
  /* Mapa */
  .map-container {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    border: 2px solid #a41010;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  }
  
  /* FORMULÁR */
  #form-section {
    text-align: center;
    margin-top: 60px;
  }
  
  #form-section h3 {
    font-size: 1.8em;
    text-transform: uppercase;
    border-bottom: 4px solid #930c0c;
    display: inline-block;
    margin-bottom: 30px;
    color: #222;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
  }
  
  
  .contact-form label {
    display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
  }
  
  
  .contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    font-family: "Poppins";
    font-size: 1em;
}   
  
.contact-form button {
    background-color: #910202;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  }
  
  .contact-form button:hover {
    filter: brightness(110%);
  }

  /* ================== RESPONZÍVNE PRAVIDLÁ ================== */
@media (max-width: 1200px) {
    body {
        min-width: 0 !important;
    }
    article {
        padding: 30px 30px 10px 30px;
    }
    .gallery, .gallery2, .gallery3 {
        margin: 30px auto 40px;
    }
    .gallery img, .gallery2 img, .gallery3 img {
        height: auto;
    }
}

@media (max-width: 992px) {
    body {
        min-width: 0;
        padding: 0 10px;
    }
    body > header {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    #logo {
        margin: 0 auto 10px auto;
        background-size: 150px 60px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        padding: 5px 15px;
        line-height: 2em;
    }
    article {
        padding: 30px 20px 10px 20px;
    }
    .article-img, .article-img.right, .avatar, .avatar1, .photo {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: auto !important;  /* nech zostane pôvodná šírka */
        max-width: 100%;
        height: auto !important;
    }
    .carousel-track img, .carousel-slide {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    #logo {
        background-size: 120px 50px;
    }
    nav ul li {
        padding: 5px 8px;
        font-size: 0.9em;
    }
    main {
        margin-top: 130px; /* viac priestoru pre hlavičku */
        margin-bottom: 120px; /* viac priestoru pre pätku */
        padding: 20px 0;
    }
    body > main {
        padding-top: 130px; /* vyšší header na mobile */
    }
    article {
        padding: 20px 15px 10px 15px;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .gallery2, .gallery3 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .carousel-track img, .carousel-slide {
        width: auto;
        height: auto;
    }
    .carousel {
        max-width: 100%; /* container sa zmenší, ale obrázky nie */
        height: auto;    /* zachová proporcie */
    }

    footer {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 15px 10px;
    }
    #contact-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .map-container {
        height: 250px;
    }
}
@media (max-width: 480px) {
    #logo {
        background-size: 100px 40px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        padding: 5px 0;
    }
    article h1, article h3, #map-section h3, .gallery-section h3, .contact-left h3, #form-section h3 {
        font-size: 1.4em;
    }
    .gallery, .gallery2, .gallery3 {
        grid-template-columns: 1fr;
    }
    .carousel-track img, .carousel-slide {
        width: 190px;
        height: 190px;
    }
}


@media (max-width: 1024px) {
    .event-img, 
    .products-img, 
    .vina-img, 
    .cavas-img, 
    .tapasbar-img, 
    .gourmet-img {
        height: 150px; /* menšia výška na tablete */
    }
}

.gallery, .gallery2, .gallery3  {
    display: grid !important; /* alebo flex podľa potreby */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 10px;
    align-items: stretch; /* obrázky budú rovnaké výšky */
}

.gallery img,
.gallery2 img,
.gallery3 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
/* --- Úprava loga a textu pod ním pre mobil --- */
@media (max-width: 768px) {
    #logo {
      background-size: 150px auto; /* mierne menšie logo */
      height: 70px; /* nech sa zmestí do headeru */
    }
  
    #logo small {
      margin-top: 40px; /* menší rozostup medzi logom a textom */
      font-size: 0.7em;
    }
  }
  @media (max-width: 768px) {
    .article-img,
    .article-img.right,
    .avatar,
    .avatar1,
    .photo {
      float: none;            /* zruší obtáčanie textu */
      display: block;         /* zarovná pekne na stred */
      margin: 0 auto 20px;    /* medzera pod obrázkom */
      max-width: 100%;        /* nikdy nepresiahne šírku obrazovky */
      height: auto;           /* zachová proporcie */
    }
  }

  @media (min-width: 960px) {
    body {
      min-width: 0 !important;
    }
  }

  /* 🔧 Obrázok na úvodnej stránke – nech sa nezväčšuje mimo obrazovku */
.logo0 {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* zarovná na stred */
  }
  
  /* Voliteľne – ak je na mobile stále veľký, môžeme ho ešte zmenšiť */
  @media (max-width: 768px) {
    .logo0 {
      width: 90%;  /* alebo 80% podľa potreby */
      margin-bottom: 30px;
    }
  }
  @media (max-width: 768px) {
    .avatar{
        float: none;           /* zruší float */
        display: block;        /* umožní margin auto */
        margin: 0 auto 20px auto; /* vycentruje horizontálne a pridá spodnú medzeru */
        width: 70%;            /* zmenší obrázok podľa potreby */
        max-width: 250px;      /* maximálna šírka, aby nebol obrovský */
        height: auto;     
    }
  }
  /* DESKTOP – obrázok späť naľavo */
@media (min-width: 993px) {
    .logo0 {
        float: left;
        margin: 20px 20px 20px 0;
        display: block;
        max-width: 450px;
    }
}
/* DESKTOP – 5 obrázkov v jednom riadku */
@media (min-width: 993px) {
    .gallery2 {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 10px;
    }
}
/* DESKTOP – 5 obrázkov v jednom riadku – Vína a Cavas (gallery3) */
@media (min-width: 993px) {
    .gallery3 {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 10px;
    }
}
@media (max-width: 992px) {
    body > header {
        height: auto !important;
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    nav ul li {
        line-height: 1.8em;
        padding: 8px 0;
    }
}

/* ======== MOBILNÝ FIX — FUNGUJÚCI 100% ======== */
@media (max-width: 768px) {

    /* Header musí mať výšku podľa obsahu */
    body > header {
        height: auto !important;
        flex-direction: column !important;
        padding: 10px 0 !important;
    }

    /* Logo menšie */
    #logo {
        background-size: 120px auto !important;
        height: 60px !important;
        margin-bottom: 5px !important;
    }

    #logo small {
        margin-top: 35px !important;
    }

    /* MENU NA MOBIL → ZVISLÝ STĹPEC */
    nav ul {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px 0 !important;
    }

    nav ul li {
        padding: 6px 0 !important;
        margin: 0 !important;
        line-height: 1.8em !important;
        width: 100% !important;
        text-align: center !important;
    }

    nav ul li a {
        display: inline-block !important;
        padding: 8px 0 !important;
    }

    /* Dropdown – nech je pekne pod sebou */
    nav ul li .dropdown-content {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
}
nav {
    position: relative;
    z-index: 5000 !important;
}
nav ul {
    position: relative;
    z-index: 5001 !important;
}
/* === OPRAVA PRIESTORU PRE OBSAH NA MOBILE === */
@media (max-width: 768px) {

    main {
        margin-top: 20px !important;   /* miesto pre hlavičku */
        margin-bottom: 100px !important; /* miesto pre footer - nechávame */
        padding-top: 20px !important;
    }

    body > main {
        padding-top: 20px !important;
    }
    header {
        height: 120px;       /* nastav výšku hlavičky podľa potreby */
        padding: 20px;       /* vnútorný priestor */
        box-sizing: border-box; /* aby padding nezmenil celkovú výšku */
      }
      
}
/* Skryť hamburger na desktop */
#hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Menu defaultne viditeľné */
#main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* MOBILE */
@media screen and (max-width: 768px) {
    #hamburger {
        display: block;
        font-size: 32px;
        padding: 10px 20px;
        cursor: pointer;
        z-index: 9999;

    }

    #main-nav {
        
        display: none;
        background: #910202;
        padding: 10px 0;
        width: 100%;
        
    }

    #main-nav ul {
        flex-direction: column !important;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    #main-nav ul li {
        width: 100%;
        padding: 10px 0;
    }

    #main-nav.active {
        display: block !important;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
    }
}
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    main > article {
        margin-top: 100px; /* nastav podľa skutočnej výšky headeru */
    }
}
/* CSS */
nav ul li.dropdown .dropdown-content {
    
    display: none !important;
    position:  relative !important;
    background: #700000;
    padding: 0;
    
    box-shadow: none;
}

nav ul li.dropdown.open .dropdown-content {
    display: block !important;
    
}
nav ul li.dropdown .dropdown-content li a  {
    font-size: 12px !important;
    padding: 6px 10px !important;
    line-height: 1.2 !important;
}
nav ul li.dropdown .dropdown-content li {
    padding: 3px O !important;
}

