/* ======================================================
   Import Google Fonts
====================================================== */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&family=Montserrat:wght@700;900&display=swap");

/* ======================================================
   Reset & Base
====================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: #faf3e0;
  color: #333;
  text-align: center;
  line-height: 1.6;
}

/* ======================================================
   Hero sekce
====================================================== */
header {
  position: relative;
  height: clamp(380px, 60vh, 700px);
  background: url("/images/avocado.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /*border-radius: 0 0 10px 10px;*/
}

/* sjednocená verze overlay */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 100, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 30px 20px;
  position: relative;
  z-index: 2;
}

/* ======================================================
   Logo animace
====================================================== */
.logo-container .logo {
  max-width: clamp(70px, 15vw, 140px);

  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.8s forwards 0.3s;
}

/* ======================================================
   Text & nadpis
====================================================== */
.hero-text {
  position: relative;
  color: #fff;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards 0.5s;
  z-index: 2;
}

.brand-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 5rem);
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* shimmer efekt */
.brand-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 1s ease;
  pointer-events: none;
}

.brand-title:hover::after {
  transform: translateX(120%) skewX(-12deg);
}

/* ======================================================
   Animované podtržení
====================================================== */
.underline-container {
  position: relative;
  width: 65%;
  max-width: 400px;
  height: 6px;
  margin: 12px auto 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.animated-underline {
  position: absolute;
  top: 0;
  left: -25%;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: moveUnderline 3s infinite linear;
  will-change: transform;
}

/* keyframes */
@keyframes moveUnderline {
  0% {
    left: -25%;
  }
  50% {
    left: 75%;
  }
  100% {
    left: 100%;
  }
}

/* ======================================================
   Podtexty
====================================================== */
.hero-text p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-top: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin-inline: auto;
}

.hero-text .hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  color: #fafafa;
}

/* ======================================================
   Zvýrazněný text
====================================================== */
.hero-text .highlight {
  display: inline-block;
  font-size: 1.3em;
  animation: pulse 4s infinite;
  will-change: transform, opacity;
}

/* ======================================================
   Animace
====================================================== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ======================================================
   Responsivita
====================================================== */
@media (max-width: 900px) {
  .hero-text p {
    font-size: 1rem;
  }
  .underline-container {
    width: 75%;
  }
}

@media (max-width: 480px) {
  .header-container {
    gap: 12px;
    padding: 20px 10px;
  }

  .brand-title {
    font-size: clamp(1.7rem, 7vw, 2.6rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  }

  .hero-text p {
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  }

  .underline-container {
    width: 80%;
  }
}

@media (min-height: 750px) and (max-width: 600px) {
  header {
    height: 65vh;
  }
}

/* ======================================================
   Reduced motion (výkon)
====================================================== */
@media (prefers-reduced-motion: reduce) {
  .animated-underline,
  .highlight,
  .logo,
  .hero-text {
    animation: none !important;
    transform: none !important;
  }
}

/* ======================================================
   Navigace
====================================================== */

nav {
  /*background: #2e7d32;*/
  background: linear-gradient(
    to bottom,
    #1e5a23,
    /* tmavší začátek */ #2e7d32 /* původní barva */
  );
  padding: 12px 20px;
  position: relative;
  display: flex;
  justify-content: center; /* středové zarovnání */
  align-items: center;
  /*border-radius: 0 0 10px 10px;*/
  z-index: 10;
}

/* Menu seznam */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 80px;
  align-items: center;
  justify-content: center; /* střed položek */
  z-index: 1000;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 4px;
  display: block;
}

nav a:hover {
  opacity: 0.8;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* aby dropdown byl pod středem položky */
  background: #2e7d32;
  min-width: 180px;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 4px;
  gap: 10px;
  z-index: 20;
}

.dropdown-content a {
  padding: 8px 16px;
}

/*.dropdown:hover .dropdown-content {
  display: flex;
}*/

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  position: absolute;
  /*right: 20px; /* hamburger vlevo */
}

/* DROPDOWN NA DESKTOPU */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: flex;
  }
}

/* ===== MOBILNÍ VERZE ===== */
@media (max-width: 768px) {
  nav {
    padding: 20px 20px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: #2e7d32;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0px;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .dropdown-content {
    display: none;
    padding-left: 20px;
    position: static;
    max-height: 0;
    overflow: hidden;
    padding-left: 20px;
    transition: max-height 0.3s ease;
    flex-direction: column;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
    max-height: 500px;
  }

  .dropdown > a::after {
    content: " ▾";
  }
}

/*AKCE NATU*/
/* Kontejner */
.promo-banner-natu {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

/* Wrapper obrázku */
.banner-wrapper-natu {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

/* Obrázek - udržuje poměr stran 16:9 */
.banner-wrapper-natu img {
  width: 100%;
  height: auto;

  display: block;
  object-fit: cover;
}

/* Overlay box přes celou šířku */
.banner-caption-natu {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  padding: 5px 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(3px);
  text-align: center;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Texty */
.banner-caption-natu h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

.banner-caption-natu p {
  margin: 0 0 4px;
  font-size: 0.7rem;
}

.banner-caption-natu span {
  font-size: 0.6rem;
  opacity: 0.9;
}

/* Tablet / Desktop úpravy */
@media (min-width: 768px) {
  .banner-caption-natu h3 {
    font-size: 1.2rem;
  }

  .banner-caption-natu p {
    font-size: 1rem;
  }

  .banner-caption-natu span {
    font-size: 0.85rem;
  }
}

@media (min-width: 1200px) {
  .banner-caption-natu h3 {
    font-size: 1.3rem;
  }

  .banner-caption-natu p {
    font-size: 1.1rem;
  }

  .banner-caption-natu span {
    font-size: 0.9rem;
  }
}

/* ======================================================
   Banner sekce
====================================================== */

/*sekce obrázek + olivový olej*/
.product-feature {
  padding: 50px 20px;
  background: #faf3e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* pro mobilní zařízení */
}

.product-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
  flex: 1;
  color: #2a5d34; /* tmavě zelená */
}

.product-info h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 10px;
}

.product-info p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 15px;
}

.product-info ul {
  list-style-type: disc;
  padding-left: 20px;
}

.product-info ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.buy-link {
  color: #6e9b59; /* avokádová zelená */
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.buy-link:hover {
  color: #3e6b35;
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .product-container {
    flex-direction: column;
  }
  .product-feature {
    padding: 40px 20px;
  }
}

/*sekce s avokádovými oleji*/
/* Kontejner sekce */
.products-section-oil {
  width: 100%;
  padding: 1rem 1rem;
  display: flex;
  justify-content: center;
  background: #faf3e0;
  
}

.product-grid-oil {
  width: 100%;
  max-width: 900px; /* zúžení sekce */
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr; /* Mobil */
  align-items: start;
}

/* Card styl */
.product-card-oil {
  /*background: #fff;*/
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover efekt */
.product-card-oil:hover {
  transform: scale(1.015);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* Obrázek */
.product-card-oil img {
  display: block;
  width: 100%;
  max-width: 280px; /* zmenšeno */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

/* Titulek */
.product-title-oil {
  margin: 0.75rem 0 0.35rem 0;
  font-size: 1.15rem;
  color: #2c3050;
  line-height: 1.2;
  text-align: center !important;
}

/* Seznam vlastností */
.product-features-oil {
  margin: 0;
  margin-top: 0.35rem;
  padding-left: 1.2rem;
  text-align: center; /* text zarovnaný na střed */
  color: #6b7280;
  font-size: 0.95rem;
  /*list-style: none;        /* schováno, bez odrážek */
  width: 100%;
  max-width: 380px;
}

.product-features-oil li {
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .product-card-oil img {
    max-width: 180px;
  }
}

/* Tablet / Desktop */
@media (min-width: 720px) {
  .product-grid-oil {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*ikonky v avokadových olejích*/
.eshop-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.eshop-icons i {
  font-size: 26px;
  color: #28a745;
  /*background: #f3f3f3;*/
  padding: 10px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.eshop-icons i:hover {
  background: #28a745;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animace pro jemný pohyb ikon nahoru a dolů, střídavě */
.eshop-icons i {
  display: inline-block;
  animation: floatIcon 2s ease-in-out infinite;
}

/* Posunutí animace pro každou ikonu */
.eshop-icons i:nth-child(1) {
  animation-delay: 0s;
}
.eshop-icons i:nth-child(2) {
  animation-delay: 0.3s;
}
.eshop-icons i:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.banner-section-oldmans {
  width: 100%;
  max-width: 1200px;
  margin: 10px auto;
  /*padding: 30px 20px;*/
  text-align: center;
  border-radius: 12px;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontální vycentrování obsahu */
  justify-content: center;
  position: relative;
}

.banners-oldmans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* zarovná bannery na střed */
  align-items: center;
  /*gap: 20px;*/
  /*margin-bottom: 20px;*/
  width: 100%;
  text-align: center;
  position: relative;
}

.banner-slot-oldmans {
  width: 300px;
  max-width: 100%;
  height: 250px;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* skryj trackovací pixely (1×1 px) z eHubu */
.banners-oldmans img[width="1"][height="1"] {
  display: none !important;
}

.banner-slot-oldmans img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover efekt */
.banner-slot-oldmans:hover {
  transform: translateY(-4px) rotateZ(1deg) rotateY(1deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  animation: swing 0.8s ease forwards;
}

.banner-slot-oldmans:hover img {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .banners-oldmans {
    flex-direction: column;
    align-items: center;
    /*gap: 20px;*/
  }
  .banner-slot-oldmans {
    width: 90%;
    height: auto;
  }
}

.banner-section {
  margin: 30px auto;
  padding: 20px;
  /*min-height: 40px;*/
  height: auto;
  background: #fafafa;
  display: flex;
  /*align-items: center;*/
  justify-content: center;
  color: #666;
  font-size: 1.2rem;
  width: 90%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards 0.7s;
}

.banner-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.banner-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

.banners {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.banner-slot img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*sekce s proteiny*/
.banners-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px; /* mezera mezi bannery */
  padding: 20px;
  margin: 0 auto;
  width: 90%; /* aby sekce nebyla roztažená přes celý monitor */
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banners-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 1 auto;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.8s ease-out forwards;
}

.banners-slot img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekt */
.banners-slot:hover img {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Animační klíče */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   Kategorie
====================================================== */
.section-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: #faf3e0;
  padding: 20px;
}
.categories {
  text-align: center;
  padding: 40px 20px;
  /*background: #28a745;*/
  /*background: #bfcf00;*/
  /*background: linear-gradient(135deg, #d8f3a9 0%, #bfe87a 50%, #a2db63 100%);*/
  /*background: linear-gradient(135deg, #e8f8c5 0%, #c8ef8b 60%, #b5e47a 100%);*/
  background: linear-gradient(135deg, #c4e88a 0%, #a3d56f 40%, #7fbc4a 100%);

  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
}
.categories h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}
.category-card {
  display: block;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 15px;
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.category-card:hover {
  background: #dff0d8;
  border-color: #111;
  transform: scale(1.03);
}

.category-natu {
  text-align: center;
  max-width: 700px;
  margin: 8px auto 24px auto;
  color: #222;
  font-size: 1rem;
  line-height: 1.5;
}

/* ======================================================
   Tablet optimalizace pro .section-wrapper a .categories
====================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* zmenšení výšky a paddingu u wrapperu */
  .section-wrapper {
    min-height: 40vh; /* dříve 60vh */
    padding: 15px 10px; /* menší vertikální i horizontální padding */
  }

  /* zmenšení paddingu u kategorie */
  .categories {
    padding: 25px 15px; /* dříve 40px 20px */
    max-width: 900px; /* lehce menší, aby nebylo tolik prázdného místa */
  }

  /* zmenšení nadpisu */
  .categories h2 {
    font-size: 1.6rem; /* dříve 2rem */
    margin-bottom: 15px;
  }

  /* zmenšení mezer mezi kategoriemi */
  .category-grid {
    gap: 10px; /* dříve 15px */
    max-width: 750px; /* trochu užší grid */
  }

  /* zmenšení paddingu u karet */
  .category-card {
    padding: 10px; /* dříve 15px */
    font-size: 0.95rem;
  }
}

.category-grid p {
  margin: 0 0 8px 0; /* dolní mezera mezi textem a tlačítkem */
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
}

/* ======================================================
   Blog preview
====================================================== */
.blog-preview {
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  background: #fff;
}
.blog-preview h2 {
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  color: #28a745;
}
.blog-preview .article {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #faf3e0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}
.blog-preview .article:nth-child(1) {
  animation-delay: 0.2s;
}
.blog-preview .article:nth-child(2) {
  animation-delay: 0.4s;
}
.blog-preview .article h3 {
  margin-bottom: 10px;
  color: #333;
  font-family: "Poppins", sans-serif;
}
.blog-preview .article p {
  color: #555;
}

.blog-preview .article-thumb {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
  margin: 0 auto 12px auto; /* ⬅ toto vycentruje obrázek */
}

/* ======================================================
   Buttons
====================================================== */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: #218838;
  animation: pulse 2s infinite alternate;
}

/* ======================================================
   Scroll top tlačítko
====================================================== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  transition: transform 0.5s ease;
}
.scroll-top.show {
  display: block;
}
.scroll-top:hover {
  transform: rotate(360deg);
}
.scroll-top svg {
  width: 60px;
  height: 60px;
}

/* ======================================================
   Cookie banner
====================================================== */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1000;
  transition: bottom 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.cookie-banner.show {
  bottom: 0;
  opacity: 1;
}
.cookie-banner .cookie-link {
  color: #ff9800;
  text-decoration: underline;
  margin-left: 5px;
}
.cookie-banner .cookie-btn {
  margin-left: 10px;
  padding: 5px 12px;
  background: #ff9800;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.cookie-banner .cookie-btn:hover {
  background: #e68900;
}

/* ======================================================
   Fade-in efekt pro scroll
====================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.scrolled {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   Kontaktní formulář
====================================================== */
/* --- Sekce Kontakt --- */
#kontakt {
  background: linear-gradient(
      135deg,
      rgba(255, 223, 0, 0.25) 0%,
      /* světle žlutý průhledný overlay */ rgba(255, 255, 255, 0.9) 100%
        /* skoro bílý */
    ),
    url("../images/avocado.jpg") center/cover no-repeat; /* obrázek pozadí */
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 700px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 0;
}

/* Nadpisy a text */
#kontakt h2,
#kontakt p {
  position: relative;
  z-index: 1; /* nad gradientem a obrázkem */
  color: #2f4f2f; /* tmavě zelená pro lepší kontrast */
  margin-bottom: 20px;
}

/* Formulář */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* formulář nad overlay */
}

/* Inputy a textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
  outline: none;
}

/* Tlačítko odeslat */
.contact-form button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

/* Hláska po odeslání */
.success-message {
  display: none;
  margin-top: 15px;
  padding: 10px;
  background: #27ae60;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responzivita */
@media (max-width: 768px) {
  #kontakt {
    padding: 40px 15px;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  #kontakt {
    padding: 30px 15px;
  }
  #kontakt h2 {
    font-size: 1.6rem;
  }
  #kontakt p {
    font-size: 1rem;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 0.95rem;
  }
  .contact-form button {
    padding: 12px;
    font-size: 0.95rem;
  }
}

/* ======================================================
   Footer a dekorativní linky
====================================================== */
.avocado-line {
  border: none;
  height: 2px;
  width: 60%;
  margin: 20px auto;
  background-color: #6e9b59;
  border-radius: 2px;
}

/* ======================================================
   Jemné houpáni (sway) bannerů
====================================================== */
.sway {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform-origin: 50% 50%;
  animation: sway-anim 3.8s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}
.sway:hover {
  animation-play-state: paused;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
@keyframes sway-anim {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-4px) rotate(-0.5deg);
  }
  40% {
    transform: translateX(6px) rotate(0.6deg);
  }
  60% {
    transform: translateX(-5px) rotate(-0.4deg);
  }
  80% {
    transform: translateX(4px) rotate(0.3deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

/* ======================================================
   Responsivní
====================================================== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .banner-section {
    padding: 15px;
    font-size: 1rem;
    /*min-height: 40px;*/
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
  .countdown div {
    padding: 10px;
    font-size: 1rem;
    min-width: 40px;
  }
}

/* ======================================================
   Respekt k uživatelům preferujícím bez animací
====================================================== */
@media (prefers-reduced-motion: reduce) {
  .brand-title,
  .sway {
    animation: none;
    transition: none;
  }
}

/* Články*/
.article-header {
  height: auto;
  min-height: unset;
  background: #568203;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

/* Nadpis článku s jemnou animací */
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 10px;
  color: #fff700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  line-height: 1.2;
  text-align: center;
  animation: floatHeader 6s ease-in-out infinite alternate;
}

/* Jemná animace – houpání nadpisu */
@keyframes floatHeader {
  0% {
    transform: translateY(0px) rotateX(0deg);
    opacity: 1;
    filter: blur(0);
  }
  50% {
    transform: translateY(-3px) rotateX(1deg);
    opacity: 0.95;
    filter: blur(0.5px);
  }
  100% {
    transform: translateY(0px) rotateX(0deg);
    opacity: 1;
    filter: blur(0);
  }
}

/* Responzivita pro menší zařízení */
@media (max-width: 768px) {
  .article-header h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
}

@media (max-width: 480px) {
  .article-header h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

/*články jak vybrat protein atd. */
.article-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
  /*font-size: clamp(16px, 1.4vw, 18px);*/
  line-height: 1.6;
}

.article-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.article-content h2 {
  margin-top: 20px;
  color: #28a745;
}

.article-content p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
  font-size: clamp(16px, 1.4vw, 16px);
}

@media (min-width: 768px) and (max-width: 1366px) {
  .article-content p {
    font-size: clamp(22px, 1.8vw, 26px);
  }
}

/* Respekt k uživatelům, kteří preferují bez animací */
@media (prefers-reduced-motion: reduce) {
  .article-header h1 {
    animation: none;
  }
}

/*tabulka v avokado.html*/
.nutrition-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 15px 0;
  font-family: "Arial", sans-serif;
}

.nutrition-table th,
.nutrition-table td {
  border: 1px solid #6e9b59; /* jemná zelená linka */
  padding: 10px 12px;
  text-align: left;
}

.nutrition-table th {
  background-color: #6e9b59; /* tmavší zelená */
  color: #fff;
}

.nutrition-table tbody tr:nth-child(even) {
  background-color: #f0f5ef; /* světle zelená pro střídání řádků */
}

.nutrition-table tbody tr:hover {
  background-color: #d8e4d4; /* jemné zvýraznění řádku při hover */
}

/*tikaro banner*/
.affiliate-banner {
  display: block; /* umožní margin auto fungovat */
  text-align: center; /* vycentruje obsah uvnitř, pokud bude text */
  margin: 0px auto; /* vycentruje celý banner horizontálně */
}

.affiliate-img {
  display: block; /* odstraní mezery pod obrázkem */
  width: 100%; /* přizpůsobí se šířce rodiče */
  max-width: 600px; /* maximální velikost banneru */
  height: auto; /* zachová proporce */
  margin: 0 auto; /* vycentruje samotný obrázek uvnitř linku */
}


/* o projektu avokadoshop.cz */
.about.product-info {
  max-width: 700px;
  margin: 40px auto; /* větší prostor od ostatních sekcí */
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #fefefe 0%, #f9f9f9 100%);
}

.about.product-info h2 {
  margin-bottom: 25px;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
}

.about.product-info p {
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: clamp(16px, 1.4vw, 18px);
  color: #4d4d4d;
  text-align: left;
}

.about-list {
  margin-top: 20px;
  padding-left: 20px;
  list-style: none !important;
  text-align: left;
  color: #4d4d4d;
  line-height: 1.6;
}

.about-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  transition: transform 0.2s ease;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #2a7a4f; /* tmavě zelená */
  font-size: 1rem;
}

.about-list li:hover {
  transform: translateX(3px);
}

/* Responsivita pro střední obrazovky */
@media (min-width: 768px) and (max-width: 1366px) {
  .about.product-info p {
    font-size: clamp(18px, 1.6vw, 22px);
  }
}

/*banner naucsehtml.cz*/
.promo-banner {
  margin-top: 5px;
}

/*sekce s kotvičníkem*/
.tribulus-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  background: #fafafa;
  border-radius: 12px;
  padding: 30px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Pravá část (banner) */
.tribulus-banner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tribulus-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tribulus-banner img:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Levá část (foto + text) */
.tribulus-info {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 🔹 díky tomu se obrázek, autor i text vycentrují */
  text-align: center; /* 🔹 text bude také na střed */
}

.tribulus-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.image-credit {
  font-size: 12px;
  color: #888;
  margin: 8px 0 15px;
}

.image-credit a {
  color: #777;
  text-decoration: none;
}

.image-credit a:hover {
  text-decoration: underline;
}

.tribulus-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  max-width: 90%;
}

/* 🔹 Responsivita */
@media (max-width: 600px) {
  .tribulus-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .tribulus-info {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1366px) {
  .tribulus-text {
    font-size: clamp(22px, 1.8vw, 26px);
  }
}

/*styly pro právní stránky*/
.link-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* desktop */
  padding: 20px 15px;
  max-width: 900px;
  margin: 20px auto;
}

.link-section a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;

  background: linear-gradient(90deg, #2e7d32, #388e3c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  transition: all 0.3s ease;
  flex: 1 1 150px;
  text-align: center;
}

.link-section a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(90deg, #2e7d32, #388e3c);
  transition: width 0.3s ease;
}

.link-section a:hover::after {
  width: 100%;
}

.link-section a:hover {
  transform: translateY(-2px);
}

/* Mobilní zařízení */
@media (max-width: 600px) {
  .link-section {
    flex-direction: column;
    padding: 15px 10px;
    gap: 8px; /* menší mezery mezi odkazy */
  }

  .link-section a {
    width: 100%;
    flex: none; /* odkazy zabírají jen tolik místa, kolik potřebují */
  }
}

/*footer*/
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  /*background: #2e7d32;*/
  background: linear-gradient(
    to bottom,
    #153f19,
    /* tmavší začátek */ #2e7d32 /* původní barva */
  );
  color: #fff;
  padding: 15px 80px;
  border-radius: 10px 10px 0 0;
  font-size: 0.9rem;

  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.site-footer a {
  color: #a5d6a7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-socials a:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 15px 40px;
  }
  .footer-right {
    justify-content: center;
  }
}

.tikaro-style-text {
  color: blue;
  font-size: larger;
  font-weight: 500;
}

.tikaro-style-text1 {
  color: brown;
  font-size: larger;
  font-weight: 500;
}

.tikaro-style-text2 {
  color: #111;
  font-size: larger;
  font-weight: 500;
}

/*ikonka facebooku u e-shopu Tikaro*/
.brand-social-proof {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.brand-social-proof a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  text-decoration: none;
}

.brand-social-proof a:hover {
  opacity: 1;
}

.brand-social-proof img {
  color: #666;
}

/* === SLIDER === */

.gallery {
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

/* 🖥️ DESKTOP – GRID */
@media (min-width: 769px) {
  .gallery.swiper {
    overflow: visible;
  }

  .gallery .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100% !important;
    transform: none !important;
  }

  .gallery .swiper-slide {
    width: 100% !important;
  }

  .gallery .swiper-slide a {
    display: block; /* KLÍČ */
    height: 260px;
    overflow: hidden; /* KLÍČ */
    border-radius: 8px;
  }

  .gallery img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0px;
    object-fit: cover;
  }

  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
}

/* 📱 MOBIL – SLIDER */
@media (max-width: 768px) {
  .gallery img {
    width: 100%;
    max-width: 360px;
    /*height: 280px;*/
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    
  }
  .product-info h2 {
    padding: 5px;
  }
  .product-info p {
    padding: 5px;
    text-align: left;
  }
}

.product-block-slider {
  max-width: 900px;
  margin: 40px auto;
}



.product-cta {
  display: inline-block;
  font-weight: 600;
  color: #0a7cff;
  text-decoration: none;
  margin-bottom: 10px;
}

.product-cta:hover {
  text-decoration: underline;
}

/*mini text pod odkazem-affiliate*/
.microcopy {
  font-size: 0.75rem;
  color: #777;
}



