@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+NZ+Basic:wght@100..400&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: "Lexend", sans-serif;
}

h1{
  font-family: "Story Script", sans-serif;
}
h2{
  font-family: "Playwrite NZ Basic", cursive;
}
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slide 12s infinite;
  object-fit: cover;
  object-position: center top
}

.hero img:nth-child(1) {
  animation-delay: 0s;
}

.hero img:nth-child(2) {
  animation-delay: 4s;
}

.hero img:nth-child(3) {
  animation-delay: 8s;
}

@keyframes slide {
  0% {
    opacity: 0;
  }

  1% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  34% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}



h1 {
  font-size: 3em;
  padding: 10px;
  color: black;
}

nav {
  padding: 10px 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  /* hlavní menu vedle sebe */
  position: relative;
  /* pro dropdown */
}

nav ul li a {
  display: block;
  color: #000000;
  text-decoration: none;
  padding: 10px 20px;
}


/* Dropdown menu */
nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 100;
  width: 190px;
  /* šířka dropdownu */
  background-color: white;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
}

nav ul li:hover ul {
  opacity: 1;
  max-height: 500px;
}

/* Dropdown odkazy */
nav ul li ul li a {
  padding: 8px 15px;
}

div.top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0px 80px;
  align-items: center;
}

nav a {
  font-size: 1.2em;
}



.hero h2 {
  position: absolute;
  left: 40px;
  bottom: 100px;
  font-size: 3em;
  color: rgb(255, 255, 255);
  
}


.hero a {
  color: black;
  position: absolute;
  right: 20px;
  bottom: 90px;
  text-decoration: none;
  padding: 10px;
  border-radius: 15px;
  font-size: 1.7em;
  z-index: 100;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.9px);
  -webkit-backdrop-filter: blur(4.9px);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.hero a:hover{
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
header .a{
  height: 90vh;
}
main{
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 80px;
}
h3{
  font-size: 3em;
  margin: 25px;
  margin-bottom: 45px;
}
main section{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
main section article{
  height: 400px;
}
main section article img{
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: top;

  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);

  transition: transform 0.4s ease;
  
}
.overflow{
  overflow: hidden;
  padding-top: 10px;
}
main a{
  color: black;
  text-decoration: none;
}
main a:hover img{
  transform: scale(1.1); /* jak moc se priblizi */
}
.cena{
  font-weight: bold;
  
}
.jmeno{
  margin-top: 20px;
  margin-bottom: 5px;
}








/* HERO SLIDER */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  animation: slide 12s infinite;
}

.hero img:nth-child(1){animation-delay:0s;}
.hero img:nth-child(2){animation-delay:4s;}
.hero img:nth-child(3){animation-delay:8s;}

@keyframes slide{
  0%,34%,100%{opacity:0;}
  1%,33%{opacity:1;}
}

.hero h2 {
  position:absolute;
  left:40px;
  bottom:100px;
  font-size:3em;
  color:#fff;
}

.hero a{
  position:absolute;
  right:20px;
  bottom:90px;
  background: rgba(255,255,255,0.13);
  color:black;
  padding:10px;
  border-radius:16px;
  text-decoration:none;
  font-size:1.7em;
  box-shadow:0 4px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.hero a:hover{transform:translateY(-5px);}

/* DROPDOWN MENU */
nav ul li ul{
  position:absolute;
  top:100%;
  left:0;
  list-style:none;
  margin:0;
  padding:0;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height 0.3s ease,opacity 0.3s ease;
  width:190px;
  background:white;
  border-radius:0 0 10px 10px;
  flex-direction:column;
}
nav ul li:hover ul{
  max-height:500px;
  opacity:1;
}
nav ul li ul li a{padding:8px 15px;}

/* PRODUCTS */
main section{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;
}
main section article{
  margin-bottom:40px;
}
main section article img{
  width:300px;
  height:300px;
  object-fit:cover;
  object-position:top;
  transition: transform 0.4s ease;
}
main a:hover img{transform:scale(1.1);}
.overflow{overflow:hidden;padding-top:10px;}
.jmeno{margin-top:20px;margin-bottom:5px;}
.cena{font-weight:bold;}

/* CART & CHECKOUT */
.cart-table{width:100%;border-collapse:collapse;}
.cart-table th, .cart-table td{padding:15px;text-align:left;border-bottom:1px solid #ddd;vertical-align:middle;}
.cart-table img{width:100px;height:100px;object-fit:cover;object-position:top;border-radius:10px;}
.quantity-input{width:60px;padding:5px;border-radius:5px;border:1px solid #ccc;}
.total{text-align:right;font-size:1.5em;font-weight:bold;margin-top:20px;}
.btn-order, .btn-submit{padding:15px 30px;background:#72BBCC;color:#fff;font-weight:bold;border:none;border-radius:8px;cursor:pointer;transition:background 0.3s ease;text-decoration:none;}
.btn-order:hover, .btn-submit:hover{background:#5fa0b0;}
.payment-methods{display:flex;flex-direction:column;gap:10px;}

/* RESPONSIVE */
@media(max-width:800px){
    .cart-table th, .cart-table td{font-size:0.9em;}
    .cart-table img{width:80px;height:80px;}
}
@media(max-width:600px){
    main{padding:0 10px;}
}
/* ================= DETAIL PRODUKTU ================= */
.product-detail {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.product-image img {
    width: 600px;
    height: 600px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.product-info label {
    font-weight: bold;
}

.product-info select,
.product-info input[type="number"] {
    width: 120px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.price {
    font-size: 1.8em;
    font-weight: bold;
}

.btn-order {
    display: inline-block;
    margin-top: 15px;
    padding: 15px 30px;
    background: #72BBCC;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
   
}

.btn-order:hover {
    background: #5fa0b0;
}

/* ================= KOŠÍK ================= */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.cart-table img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.quantity-input {
    width: 60px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.total {
    text-align: right;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 20px;
}

/* ================= CHECKOUT ================= */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto;
}

.checkout-form label {
    font-weight: bold;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.checkout-form textarea {
    min-height: 100px;
    resize: vertical;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-submit {
    padding: 15px 30px;
    background: #72BBCC;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #5fa0b0;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 800px) {
    .product-detail {
        flex-direction: column;
        align-items: center;
    }

    .product-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .product-info {
        width: 100%;
    }

    .cart-table th,
    .cart-table td {
        font-size: 0.9em;
    }

    .cart-table img {
        width: 80px;
        height: 80px;
    }

    .checkout-form {
        width: 90%;
    }
}

@media(max-width: 600px) {
    main {
        padding: 0 10px;
    }
}


.nav-icons span{
  padding: 10px;
  
}
/* ===== FOOTER ===== */
.site-footer{
  background:#111;
  color:#fff;
  padding:40px 20px;
  font-family:sans-serif;
}

.footer-container{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  text-align:center;
}

.footer-col{
  flex:1;
  min-width:180px;
  margin-bottom:20px;
}

.footer-col h3{
  margin-bottom:10px;
}

.footer-col ul{
  list-style:none;
  padding:0;
}

.footer-col ul li{
  margin:6px 0;
}

.footer-col a{
  color:#fff;
  text-decoration:none;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
}

/* aby byly texty POD SEBOU a UPROSTŘED */
.footer-col p{
  text-align:center;
  margin-bottom:10px;
}

.newsletter-form{
  display:flex;
  gap:5px;
  justify-content:center;
  flex-wrap:wrap;
}

.newsletter-form input{
  padding:10px;
  border-radius:4px;
  border:none;
  min-width:180px;
}

.newsletter-form button{
  padding:10px 20px;
  background:#72BBCC;
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
}

.footer-bottom{
  border-top:1px solid #333;
  margin-top:30px;
  padding-top:20px;
  text-align:center;
  color:#777;
  font-size:14px;
}

.footer-bottom h2{
  font-size:24px;
  margin-bottom:10px;
}

.footer-bottom p{
  margin:6px 0;
}
.product-gallery img{
  height: 300px;
  padding: 15px;
  transform: none;
}
.product-gallery img:hover{
  transform: none;
}
/* ==== ÚPRAVA POZADÍ LIGHTBOXU ==== */
.goverlay {
    background: rgba(0, 0, 0, 0.9) !important;
}

/* ==== ÚPRAVA RÁMEČKU OBRÁZKU ==== */
.glightbox-container .gslide-image img {
    border-radius: 20px;
    border: 4px solid #72BBCC;
}

/* ==== ÚPRAVA TLAČÍTEK (šipky + close) ==== */
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background-color: #72BBCC;
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background-color: #5599aa;
}

/* ==== ÚPRAVA TINYMCE ==== */

.tox .tox-toolbar {
    background-color: #f0f0f0;
}

.tox .tox-tbtn {
    color: #72BBCC;
}

.tox .tox-tbtn:hover {
    background-color: #72BBCC;
    color: white;
}

.tox .tox-edit-area__iframe {
    border-radius: 10px;
}
/* Styl pro textarea poznámky k objednávce */
.checkout-form textarea {
    border: 2px solid #007BFF; /* Modrý rámeček */
    border-radius: 6px;          /* Zaoblené rohy */
    padding: 10px;               /* Vnitřní odsazení textu */
    width: 100%;
    box-sizing: border-box;      /* Aby padding neovlivnil šířku */
    transition: border-color 0.3s;
}

.checkout-form textarea:focus {
    border-color: #FF6600;       /* Změna barvy při focus */
    outline: none;               /* Odstraní defaultní outline */
}

/* Styl pro radio tlačítka platební metody */
.payment-methods label {
    border: 2px solid #ccc;      /* Šedý rámeček kolem každé možnosti */
    border-radius: 5px;
    padding: 8px 12px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.payment-methods input[type="radio"] {
    margin-right: 6px;
}

.payment-methods input[type="radio"]:checked + label,
.payment-methods label:hover {
    border-color: #007BFF;       /* Modrý rámeček při vybrání nebo hover */
    background-color: #f0f8ff;   /* Lehce modré pozadí při hover */
}