
/* ------------------------------------------------
   Předdefinované barvy 
------------------------------------------------ */
:root {
  /* Barevná paleta webu */
  --gold:          #f7b03e;
  --gold-pastel:   #FFCC7B;        
  --gold-hover:    #f5c040;    
  --gold-dark:     #b07818;   
  --green:         #5D7D35;
  --green-hover:   #7ca14f;
  --green-light:   #A0B559;
  --green-ultra-light:#AFDE76;



  /* Tmavá paleta – backgrounds */
  --dark:          #0e0804;   
  --dark-section:  #0e0804;    

  /* Průhledná barva pro karty */
  --card-bg:       rgba(27, 18, 9, 0.7);
  --card-border:   rgba(231, 163, 44, 0.3);

  /* barvy textu */
  --text:          #FAE7DB;   
  --text-muted:    #cfbcaf;    
  --white:         #f8f0eb;




  /* Výška navbaru */
  --nav-h:         80px;

  /* Font pro většinu textu*/
  --font:    sans-serif;

  /* Padding sekcí – clamp pro plynulou responzivitu */
  --sec-pad:       clamp(56px, 8vw, 100px);
}

/* ------------------------------------------------
   RESET
------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--dark); color: var(--text); overflow-x: hidden; line-height: 1.7; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }

/* ------------------------------------------------
   centovaný wrapper
------------------------------------------------ */
.container {
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================================
   TLAČÍTKA
================================================ */

/* tlačítko v studio sekci */
.btn--green {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65em 1.9em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease,
 
}
.btn--green:hover {
  transform: scale(1.08);   /* mírné zvětšení na hover */
  background: var(--green-hover);

}

/* Tlačítko cena */
.btn--price {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.6em 1.5em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn--price:hover { transform: scale(1.06); background: var(--gold-hover); }

/* Subscribe tlačitko v kontaktech */
.btn--newsletter {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn--newsletter:hover { transform: scale(1.04); background: var(--gold-hover); }

/* ================================================
   NAVBAR
================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background-color: transparent; 
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
}

/* Zbarvení navbaru při scrollování */
.navbar.scrolled {
  background-color: rgba(10, 9, 4, 0.93) !important; 
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 160, 32, 0.15);
  box-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.navbar-brand:hover { color: var(--gold); }


.navbar-menu {
  display: flex;
  gap: 1.8rem;
}

.navbar-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
/* Podtržení menu na hover */
.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.22s ease;
}
.navbar-link:hover,
.navbar-link:focus   { color: var(--gold); outline: none; }
.navbar-link:hover::after,
.navbar-link:focus::after { width: 100%; }

/* Hamburger menu při robrazení na telefonu*/
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}
.navbar-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
/* Animace hamburgeru na X*/
.navbar-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.is-open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   FIXED POZADÍ pole
================================================ */
.bg-field {
  background-image: url('img/background-field.png');
  background-attachment: fixed;   /* parallax efekt */
  background-size: cover;
  background-position: center;
}

/* Tmavý overlay pozadí pro lepší čitelnost xoxoxo */
.hero-overlay,
.novinky-overlay,
.lore-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-overlay    { background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(5,4,1,0.65) 100%); }
.novinky-overlay { background: rgba(5, 4, 1, 0.72); }
.lore-overlay    { background: rgba(5, 4, 1, 0.68); }

/* ================================================
   SEKCE 1 - NÁHLEDOVKA ŽE ANO
================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;        
  justify-content: center;

  background-image: url('img/background-field.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Název hry s podnadpisem :) */
.hero-title {
  font-family: "p22-declaration-pro", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: clamp(9rem, 24vw, 20rem);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.8), 0 0 60px rgba(232,160,32,0.1);
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.6rem);
  font-weight: 800;
  color: var(--green-ultra-light);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  text-align: right;
  

}

/* ŠIPKA DOLU abychom nalakali zakazníky samozřejmě*/
.hero-arrow {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--gold);
  font-size: 2rem;
  animation: bounce 2.2s ease-in-out infinite; 
  transition: color 0.2s, transform 0.2s;
}
.hero-arrow:hover {
  color: var(--gold-hover);
  animation: none;
  transform: translateX(-50%) scale(1.3);
}

/* Animace pulsování u šipky*/
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 1;    }
  50%       { transform: translateX(-50%) translateY(12px); opacity: 0.45; }
}

/* ================================================
   SEKCE 2 – STUDIO INFO
================================================ */
.studio {
  background: var(--dark-section);
  padding: var(--sec-pad) 0;
  border-top:    1px solid rgba(232,160,32,0.1);
  border-bottom: 1px solid rgba(232,160,32,0.1);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.studio-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold-pastel);        
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.studio-body {
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  max-width: 480px;
}

/* Neviditelné vězení calcifera */
.studio-logo-box {
  width: clamp(160px, 20vw, 240px);
  height: clamp(160px, 20vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.studio-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}



/* ================================================
   SEKCE 3 – NOVINKY 
================================================ */
.novinky {
  position: relative;
  padding: var(--sec-pad) 0;

  background-image: url('img/background-field.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.novinky-inner {
  position: relative;
  z-index: 1;       
}

/* nadpis sekce assetů*/
.novinky-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
}

/* Třísloupkový grid karet */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* Almost-průhledná karta  */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, border-color 0.25s ease, 
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
 
}

/* nadpis v kartě */
.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.8rem;
}

/*ikona v kartě */
.card-icon {
  display: block;
  font-size: 2.6rem;
  color: var(--gold-pastel);
  margin-bottom: 0.9rem;

}

.card-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
}

/* ================================================
   SEKCE 4 – LORE hry
================================================ */
.dlc {
  background: var(--dark-section);
  padding: var(--sec-pad) 0;
  border-top:    1px solid rgba(232,160,32,0.1);
  border-bottom: 1px solid rgba(232,160,32,0.1);
  position: relative;  /* pro lightbox positioning */
}

/* Grid: obrázek vlevo, text vpravo */
.dlc-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: clamp(1.8rem, 5vw, 3.5rem);
}

/* Wrapper obrázku - mel být rozkliknutelný ale nešlo mi to a už jsem velmi unavena:( */
.dlc-img-wrap {
  width: clamp(300px, 35vw, 400px);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}

.dlc-img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.dlc-img-wrap:hover .dlc-img {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(232,160,32,0.2);
}

/* byla tady ikonka lupy ale jelikož to nejde rozkliknout je tam jenom zoom */
.dlc-zoom-hint {
  position: absolute;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.dlc-img-wrap:hover .dlc-zoom-hint { opacity: 1; }

/* Fallback pokud obrázek chybí */
.dlc-img-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 280px;
  background: #1a1810;
  border: 2px solid rgba(232,160,32,0.25);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 2.5rem;
}
.dlc-img-fallback span { font-size: 0.85rem; }
.dlc-img-wrap-fallback .dlc-img          { display: none; }
.dlc-img-wrap-fallback .dlc-img-fallback { display: flex; }

/* Nadpis LORE sekce*/
.dlc-name {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.dlc-body {
  font-size: clamp(0.86rem, 1.6vw, 0.96rem);
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.8rem;
  max-width: 460px;
}

/* Řádek cena + tlačítko – vedle sebe */
.dlc-buy-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.dlc-price-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.dlc-access-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.dlc-jen-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================================================
   SEKCE 5 – platformy - původně to byla lore sekce ale pak jsem to měnila a nestiham přejmenovat všechny třídy, jen bych to rozbila xd
================================================ */
.lore {
  position: relative;
  padding: var(--sec-pad) 0;

  background-image: url('img/background-field.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.lore-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Nadpis tehle sekce samozřejmě*/
.lore-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2.8rem;
}


.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

/* Základní styl platformy */
.platform {
  color: var(--white);
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.22s, transform 0.22s, filter 0.22s;
}
.platform:hover {
  color: var(--gold);
  transform: scale(1.15);

}

/* Epic Games badge – vlastní styling  */
.platform--epic {
  background: var(--white);
  color: var(--dark);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.55em 0.9em;
  border-radius: 8px;
  line-height: 1.15;
  min-width: clamp(75px, 12vw, 105px);
  text-align: center;
}
.platform--epic:hover {
  background: var(--gold);
  color: var(--dark);
  transform: scale(1.1);
  filter: none;
}
.platform--epic small {
  display: block;
  font-size: 0.62em;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* Datum vydání */
.lore-date {
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================================================
   SEKCE 6 – KONTAKT
================================================ */
.kontakt {
  background: var(--dark-section);
  padding: var(--sec-pad) 0;
  border-top: 1px solid rgba(232,160,32,0.1);
}

/* Grid: info vlevo, newsletter vpravo */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: flex-start;
}

/* Nadpis kontaktů
  - ja vim že to nechcete jen česky přepsane ale idk jak jinak to nazvat fr */
.kontakt-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gold-pastel);
  margin-bottom: 0.5rem;
}

/* čára pod nadpisem aby to vypadalo fancyy*/
.kontakt-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 80%);
  margin-bottom: 1.8rem;
}

/* Ikonka a text vedle sebe */
.kontakt-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

/* Ikonkyy */
.kontakt-icon {
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: 0.22rem;
  min-width: 20px;
  text-align: center;
}

.kontakt-link {
  color: var(--text);
  font-size: 0.93rem;
  transition: color 0.2s;
}
.kontakt-link:hover { color: var(--gold); }

.kontakt-text {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Newsletter vězení aby nam neutekl  */
.newsletter {
  border: 2px solid var(--gold-pastel);
  border-radius: 10px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: rgba(232,160,32,0.04);
}

.newsletter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-pastel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1.5px solid rgba(232,160,32,0.35);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}


/* ================================================
   MAPA
================================================ */
.map-wrap {
  width: 100%;
  height: clamp(260px, 36vw, 430px);
}
.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ================================================
   FOOTER
================================================ */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(232,160,32,0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ================================================
   RESPONZIVITA a tak dala (prosim funguj)
================================================ */

/* Tablet (max 860px) */
@media (max-width: 860px) {

  /* Studio – obrázek pod text */
  .studio-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .studio-logo-box {
    margin: 0 auto;
    width: clamp(140px, 40vw, 200px);
    height: clamp(140px, 40vw, 200px);
  }
  .studio-body { max-width: 100%; }

  /* DLC – obrázek nad text */
  .dlc-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .dlc-img-wrap { width: clamp(200px, 60vw, 320px); }
  .dlc-body     { max-width: 100%; }

  /* Kontakt – sloupcový layout */
  .kontakt-grid { grid-template-columns: 1fr; }
  .newsletter    { max-width: 400px; }
}

/* Mobil (max 620px) */
@media (max-width: 620px) {

  /* Zobrazení hamburgeru, skryti menu */
  .navbar-hamburger { display: flex; }

  .navbar-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,7,3,0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(232,160,32,0.15);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.28s ease;
  }

  .navbar-menu.is-open {
    max-height: 300px;
    opacity: 1;
    pointer-events: all;
  }

  .navbar-link {
    width: 100%;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(232,160,32,0.08);
  }
  .navbar-link:last-child { border-bottom: none; }

  /* Karty pod sebou */
  .cards { grid-template-columns: 1fr; }

  /* Platformy pod sebou */
  .platforms { flex-direction: row; gap: 2rem; }

  /* Cena vertikálně */
  .dlc-buy-row { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* Velmi mini pidi displeje (max 360px) */
@media (max-width: 360px) {
  .hero-title   { font-size: 3.2rem; }
  .lore-title   { font-size: 1.3rem; letter-spacing: 0.06em; }
}
