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

html,body{
  width:100%;
  height:100%;
}

body{
  font-family:"Montserrat",sans-serif;
  overflow:hidden;
  position:relative;

  background:
    linear-gradient(
      135deg,
      rgba(20,5,5,0.25),
      rgba(40,10,10,0.15)
    ),
    url("wine-bg.webp") center / cover no-repeat;

  animation: bgZoom 20s ease-in-out infinite alternate;
}

/* jemný pohyb celé scény */
@keyframes bgZoom{
  0%{
    background-size:100%;
    background-position:50% 50%;
  }
  100%{
    background-size:110%;
    background-position:48% 52%;
  }
}

/* ================================
POZADÍ TEXT
================================ */
.background-title{
  position:absolute;
  top:14%;
  left:50%;
  transform:translate(-50%,-50%);
  width:100%;
  text-align:center;
  z-index:1;
  pointer-events:none;
}

/* HLAVNÍ NÁZEV */
.background-title h1{
  font-family:"Playfair Display",serif;
  font-size:clamp(48px, 9vw, 160px);
  letter-spacing:0.12em;
  text-transform:uppercase;
  position:relative;

  /* pevný světlejší základ */
  color:rgba(255,245,235,0.63);

  text-shadow:
    0 0 6px rgba(255,230,190,0.15),
    0 0 18px rgba(255,210,140,0.08);
}

/* úzký zlatý pruh navrchu */
.background-title h1::after{
  content:attr(data-text);
  position:absolute;
  inset:0;

  background:linear-gradient(
  120deg,

  rgba(255,255,255,0) 0%,
  rgba(255,255,255,0) 30%,

  /* 🔥 hluboká vínová */
  rgba(120,0,0,0.9) 40%,
  rgba(180,20,20,1) 48%,

  /* ✨ zlatý výbuch */
  rgba(255,220,120,1) 52%,
  rgba(255,245,180,1) 56%,

  /* 🔥 návrat do vína */
  rgba(150,10,10,0.9) 62%,

  rgba(255,255,255,0) 75%,
  rgba(255,255,255,0) 100%
);

  background-size:220% 100%;
  background-repeat:no-repeat;
  animation:goldMove 8s linear infinite;

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  pointer-events:none;
}

/* PODNÁPIS */
.background-title p{
  margin-top:18px;
  font-size:clamp(14px, 1.3vw, 22px);
  letter-spacing:0.35em;
  text-transform:uppercase;
  position:relative;

  color:rgba(255,245,235,0.75);

  text-shadow:
    0 0 4px rgba(255,220,150,0.08);
}

.background-title p::after{
  content:attr(data-text);
  position:absolute;
  inset:0;

  background:linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 47%,
    rgba(255,220,160,0.60) 68.5%,
    rgba(255,240,200,0.95) 80%,
    rgba(255,220,160,0.60) 71.5%,
    rgba(255,255,255,0) 53%,
    rgba(255,255,255,0) 100%
  );

  background-size:220% 100%;
  background-repeat:no-repeat;
  animation:goldMove 8s linear infinite;

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  pointer-events:none;
}

/* ANIMACE – průjezd zprava doleva */
@keyframes goldMove{
  0%{
    background-position:180% 0;
  }
  100%{
    background-position:-200% 0;
  }
}

/* ANIMACE – průjezd UVNITŘ textu */
@keyframes goldMove{
  0%{
    background-position:180% 0;
  }
  100%{
    background-position:-200% 0;
  }
}

/* ================================
GLASS PANEL
================================ */
.glass-panel{
  position:absolute;
  top:62%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:2;
overflow:visible;
  width:min(92vw, 1450px);
  height:min(66vh, 700px);

  border:none;
  border-radius:24px;

  background:rgba(255,255,255,0.02);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 20px 60px rgba(0,0,0,0.30);

  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px;
}

/* vnitřní světlo */
.glass-panel::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.04) 30%,
      rgba(255,255,255,0.02) 60%,
      rgba(255,255,255,0.08) 100%
    );
}

/* ================================
OBSAH
================================ */
.panel-content{
  position:relative;
  z-index:2;
  max-width:900px;
  text-align:center;
  color:#f5eee8;
}

.panel-content h2{
  font-family:"Playfair Display",serif;
  font-size:clamp(34px, 4vw, 72px);
  margin-bottom:20px;
  text-shadow:0 0 12px rgba(255,180,120,0.15);
}

.panel-content p{
  font-size:clamp(16px, 1.2vw, 20px);
  line-height:1.8;
  margin-bottom:34px;
}

.panel-buttons{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

.panel-btn{
  padding:14px 28px;
  border:none;
  border-radius:14px;
  cursor:pointer;

  background:rgba(255,255,255,0.14);
  backdrop-filter:blur(10px);

  color:#fff6f0;
  text-transform:uppercase;
  letter-spacing:0.08em;

  transition:0.3s;
}

.panel-btn:hover{
  transform:translateY(-2px);
  background:rgba(120,0,0,0.35);
}


/* ================================
SVĚTLA
================================ */
.light{
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  z-index:0;
}

.light.one{
  width:340px;
  height:340px;
  top:8%;
  left:6%;
  background:rgba(160,40,40,0.35);
}

.light.two{
  width:300px;
  height:300px;
  right:8%;
  bottom:10%;
  background:rgba(255,210,160,0.18);
}

.light.three{
  width:260px;
  height:260px;
  left:50%;
  bottom:5%;
  transform:translateX(-50%);
  background:rgba(120,20,30,0.22);
}

/* ================================
MOBIL
================================ */
@media (max-width:768px){
  .glass-panel{
    width:94vw;
    height:88vh;
    padding:34px 22px;
    border-radius:24px;
  }
}

/* ================================
OVERLAY PANEL
================================ */
.panel-overlay{
  position:absolute;
  inset:0;
  border-radius:inherit;

  background:rgba(20,10,10,0.90);
  backdrop-filter:blur(20px);

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:flex-start; /* 🔥 změna */

  padding-top:40px; /* 🔥 doladění výšky */
  padding-bottom:40px;

  opacity:0;
  pointer-events:none;
  transition:0.4s ease;

  z-index:5;
}
.panel-overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* ================================
OBSAH (SCROLL)
================================ */
.overlay-content{
  text-align:center;
  color:#fff;

  max-width:900px;
  width:100%;
  padding:20px;

  overflow:visible;     /* 🔥 změna */
  max-height:none;      /* 🔥 změna */
}

/* ================================
TLAČÍTKO
================================ */
.back-btn{
  position:absolute;
  bottom:25px;

  left:90%;
  transform:translateX(-50%);

  padding:10px 24px;
  border:none;
  border-radius:12px;

  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);

  color:#fff;
  cursor:pointer;
  transition:0.3s;
}

.back-btn:hover{
  background:rgba(255,255,255,0.25);
}

.overlay-content h2{
  margin-bottom:10px;
}

.overlay-content p{
  margin-bottom:30px;
}
/* ================================
WINE SEKCE - NAŠE VÍNA
================================ */
.wine-section{
  width:100%;
  max-width:1000px;
}

/* GRID PRODUKTŮ */
.wine-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:16px;
  margin-bottom:30px;
}

/* KARTA */
.wine-card{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(10px);
  border-radius:12px;
  padding:10px;
  text-align:center;
  cursor:pointer;
  transition:0.3s;
}

.wine-card img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:8px;
}

.wine-card h3{
  font-size:14px;
  margin-bottom:4px;
}

.wine-card p{
  font-size:12px;
  opacity:0.7;
}

.wine-card:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,0.12);
}

/* ================================
SLIDER
================================ */
.wine-slider{
  width:100%;
  overflow:hidden;
  border-radius:12px;
}

.wine-track{
  display:flex;
  gap:14px;
  animation:wineMove 20s linear infinite;
}

.wine-track img{
  width:200px;
  height:140px;
  object-fit:cover;
  border-radius:10px;
}

/* animace */
@keyframes wineMove{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

/* ================================
DEGUSTACE - NAŠE DEGUST
================================ */
.degustace-section{
  width:100%;
  max-width:1000px;
}

/* GRID */
.degustace-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:16px;
  margin-bottom:30px;
}

/* KARTA */
.deg-card{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(10px);
  border-radius:12px;
  padding:20px;
  text-align:center;
  cursor:pointer;
  transition:0.3s;
}

.deg-card h3{
  margin-bottom:8px;
}

.deg-card p{
  font-size:13px;
  opacity:0.7;
}

.deg-card:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,0.12);
}

/* SLIDER */
.deg-slider{
  overflow:hidden;
  border-radius:12px;
}

.deg-track{
  display:flex;
  gap:14px;
  animation:degMove 22s linear infinite;
}

.deg-track img{
  width:200px;
  height:140px;
  object-fit:cover;
  border-radius:10px;
}

/* animace */
@keyframes degMove{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* ================================
KONTAKT – FIX DESIGN
================================ */

.kontakt-section{
  width:100%;
  max-width:800px;

  margin:0 auto; /* 🔥 centrování */

  max-height:none;      /* ❌ zruší scroll */
  overflow:visible;     /* ❌ zruší scroll */

  padding-right:0;      /* čistší */
}

/* GRID INFO */
.kontakt-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin:30px 0;
}

.kontakt-card{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(10px);
  border-radius:12px;
  padding:10px;
  text-align:center;
}

/* FORM */
.kontakt-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  width:100%;
}

/* INPUTY */
.kontakt-form input{
  width:100%;
  max-width:300px;

  padding:12px 14px;

  border-radius:10px;
  border:1px solid rgba(255,255,255,0.15);

  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(6px);

  color:#222;
  font-size:14px;

  outline:none;
  transition:0.25s ease;
}

/* TEXTAREA */
.kontakt-form textarea{
  width:100%;
  max-width:620px;
  min-height:100px;

  padding:12px 14px;

  border-radius:10px;
  border:1px solid rgba(255,255,255,0.15);

  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(6px);

  color:#222;
  font-size:14px;

  outline:none;
  resize:none;
  transition:0.25s ease;
}

/* HOVER */
.kontakt-form input:hover,
.kontakt-form textarea:hover{
  background:rgba(255,255,255,0.92);
}

/* FOCUS – GOLD EFFECT */
.kontakt-form input:focus,
.kontakt-form textarea:focus{
  background:#fff;

  border:1px solid rgba(255,210,140,0.8);

  box-shadow:
    0 0 0 2px rgba(255,210,140,0.15),
    0 4px 20px rgba(0,0,0,0.2);
}

/* PLACEHOLDER */
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder{
  color:rgba(0,0,0,0.45);
}

/* BUTTON */
.kontakt-form button{
  width:160px;
  margin-top:10px;
}
.kontakt-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center; /* 🔥 tohle je klíč */
  width:100%;
}
/* ================================
PK - MŮJ PODPIS + ODKAZ NA WEB
================================ */
.pk-signature{
  position:fixed;
  bottom:5px;
  left:50%;
  transform:translateX(-50%);

  font-size:13px;
  color:rgba(40,40,40,0.7);

  background:rgba(200,200,200,0.25);
  backdrop-filter:blur(10px);

  padding:6px 14px;
  border-radius:12px;

  border:1px solid rgba(120,120,120,0.2);

  box-shadow:
    0 4px 12px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.3);

  z-index:999;
}

.pk-signature a{
  color:#f5c16c !important;  /* 🍷 zlatá */
  text-decoration:none;
  font-weight:500;
}

.pk-signature a:hover{
  color:#fff3d0;
  text-shadow:
    0 0 8px rgba(255,200,120,0.4);
}