
/* ========== GLOBAL ========== */
/* fonty */
@font-face {
    font-family: Adelia;
    src: url(font/adelia_3/adelia.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* CSS premenné */
:root {
    --c-primary:#032F55;
    --c-accent: yellow;
    --c-bg:#ffffff;
    --c-muted:#414042;
    --shadow: 0 10px 30px rgba(0,0,0,.25);

    --menu-h:80px;

    --radius:12px;
    --radius-pill:40px;

    --ff-body:"Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ff-h1:"Alex Brush", var(--ff-body);
    --ff-h3:"Montserrat", var(--ff-body);
    --ff-ui:"Montserrat", var(--ff-body);

    --fs-base:16px;
    --lh:1.6;

    --container:1100px;
    --pad-inline:24px;

}


/* ========== ROZLOŽENIE CELEJ STRÁNKY ========== */
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
}

body { 
    margin: 0;
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    line-height: var(--lh);
    background: var(--c-bg);
    color: var(--c-primary);
 }

/*main {
  padding-top: var(--menu-h);         
}*/

section[id] {
    scroll-margin-top: var(--menu-h);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* kontajner */
.container {
    width:min(var(--container), calc(100% - 2*var(--pad-inline)));
    margin-inline:auto;
}

/* Nadpisy */
h1 {
   font-size: 3.5em;
   font-family: var(--ff-h1);
   font-weight: 400;
   margin: 0;
}

h2 {
   font-size: 3em;
   font-family: var(--ff-h1);
   font-weight: 400;
   margin: 0;
}

h3 {
   font-size: 2em;
   font-family: var(--ff-h3);
   margin: 0;
}

h4 {
   font-size: 1em;
   font-family: var(--ff-ui);
   text-transform: uppercase;
   margin: 0;
}

/* =========== BLOK - MENU ========== */
.menu {
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height: var(--menu-h);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1000;
    border-bottom: 6px solid var(--c-accent);
}

/* logo */
#logo {
    height: 80px;
    width: 100px;
    flex: 0 0 auto;
    background: url(logo/aforce.png) no-repeat center;
    background-size: contain;
}

/* Nav */
.menu nav {
    margin-left: auto;
}

.menu nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.menu nav ul li { margin: 0; padding: 0; }

.menu nav ul a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--c-primary);
    font-family: var(--ff-ui);
    font-style: bold;
    font-weight: 800;
}

nav ul li.aktivni > a,
nav ul a:hover {
    border-bottom: 2px solid var(--c-accent);
    color: #3356e4;
}

/* social facebook/instagram */
.social {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 18px;
}

.social img {
    width: 22px;
    height: 22px;
}

/* ========== SEKCIE ========== */
 /* prechody sekcií */
.section {
    position: relative;
    z-index: 0;
    overflow: visible;
}

/* prechod na konci sekcie */
.section--brush-bottom::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -100px;                 /* prekryje špáru */
    width: 100%;
    height: 150px;                 /* výška prechodu */
    background: url(obrazky/brush-bottom.png) no-repeat bottom / cover;
    pointer-events: none;
    z-index: 10;
}

/* prechod na začiaktu sekcie */
.section--brush-top::before{
    content: "";
    position: absolute;
    left: 0;
    top: -60px;
    width: 100%;
    height: 80px;
    background: url(obrazky/brush-top.png) no-repeat top / cover;
    pointer-events: none;
    z-index: 10;
}

.section--dots-top::after{
    content: "";
    position: absolute;
    left: 0;
    top: -50px;
    width: 100%;
    height: 80px;
    background: url(obrazky/dots-top.png) no-repeat top / cover;
    pointer-events: none;
    z-index: 10;
}


/* ========== SEKCIA - HOME ========== */
.home {
    position: relative;
    height: 100vh;
    background: var(--c-primary);
    overflow: hidden;
    border-bottom: 6px solid var(--c-accent);
    padding-top: var(--menu-h)
}

/* video zápsníkov */
.home-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* home text */
.home-text {
    position: relative;
    z-index: 3;
    height: 100%;
}

.home-slogan {
    position: absolute;
    color: var(--c-accent);
    bottom: 60px;
    left: 7%;

}

/* prichádzanie textu */
.word {
    opacity: 0;
    display: inline-block;
    margin-right: 12px;
    animation: slideIn 0.8s ease-out forwards;
}

.word-1 { animation-delay: 0.5s; }
.word-2 { animation-delay: 1.5s; }
.word-3 { animation-delay: 2.5s; }
.word-4 { animation-delay: 3.5s; }



@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* pridaj sa k nám klik, zmenený na žlto */
.home-klik {
    position: absolute;
    bottom: 50px;
    right: 7%;
    background: var(--c-bg);
    color: var(--c-primary);
    font-family: var(--ff-h3);
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-decoration: none;
}

.home-klik:hover {
    background: var(--c-accent);  
    color: var(--c-primary);
}

/* ========== SEKCIA - O NÁS ========== */
.o-nas {
    position: relative;
    background: linear-gradient(
        120deg,
        #ffffff,
        #ece9e9,
        #ffffff
    );
    background-size: 400% 400%;
    animation: bgMove 20s ease infinite;
}

@keyframes bgMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* odkaz na stránky */
.o-nas a {
    font-family: var(--ff-h3);
    color: purple;
    text-decoration-line: none;
    font-style: bold;
    text-transform: uppercase;

}

.o-nas a:hover {
    border-bottom: 4px solid var(--c-accent);
}

/* nastavenie fotiek */
.media{
   display: block;
   max-width: 100%;
   object-fit: cover;
   border-radius: var(--radius);
}

.media--blue { border: 10px solid var(--c-primary); }
.media--yellow { border: 10px solid var(--c-accent); }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/*BLOK - KTO SME */
/* rozloženie bloku KTO SME */
.kto-sme-blok {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 600px 1fr;
    grid-template-rows: auto auto;
    gap: 60px;
    align-items: start;
    padding:  80px 7%;
}

/* úprava obrázok s deťmi */
.znak {
    width: 600px;
    height: 500px;
    object-fit: cover;
    border: 10px solid var(--c-primary);
}

/* úprava pravého horného textu bloku - Kto sme */
.kto-sme-text {
    max-width: 520px;
    justify-self: center;
    align-self: start;
}

/* nadpisy */
.o-nas-nadpis,
.kto-sme-nadpis {
    text-align: center;
    margin: 0;
}

.o-nas-nadpis {
    color: var(--c-primary);
    margin: 0 0 10px 0;
}

.kto-sme-nadpis {
    color: var(--c-primary);
    text-transform: uppercase;
    margin: 0 0 25px 0;
}

/* horný text v pravo */
.kto-sme-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--c-primary);
    margin: 0 0 35px 0;
    text-align: center;
}

/* úprava ľavého dolného textu bloku - O nás a Kto sme */
/* úprava obrázok trénera */
.trener {
    width: 420px;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
    border: 10px solid var(--c-accent);
    display: block;
    justify-self: center;
    align-self: start;
}

/* dolný text v ľavo */
.kto-sme-text2 {
    width: 420px;
    justify-self: center;
    align-self: start;
    margin-top: 100px;
}
.kto-sme-text2 p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--c-primary);
    margin: 0 0 18px 0;
    text-align: center;
}

/* ========== BLOK - BRAZILIAN JIU JITSU ========== */
/* rozloženie bloku BRAZILIAN JIU JITSU */
.brazilian-jiu-jitsu-blok {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 600px 1fr;
    grid-template-rows: auto auto;
    gap: 60px;
    align-items: start;
    padding:  80px 7%;
}
/* úprava obrázkov póza2 a footlock */
.poza2 {
    width: 420px;
    max-width: 100%;
    object-fit: cover;
    border: 10px solid var(--c-primary);
    justify-self: center;
    align-self: start;
    margin-top: 50px;
    grid-column: 1;
    grid-row: 1;
}

.footlock {
    width: 420px;
    height: 300px;
    object-fit: cover;
    border: 10px solid var(--c-accent);
    justify-self: right;
    align-self: start;
    grid-column: 1;
    grid-row: 2;
}

/* nadpis Brazilian Jiu Jitsu */
.brazilian-jiu-jitsu-nadpis {
    color: var(--c-primary);
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px 0;
}

/* text Brazilian Jiu Jitsu */
.brazilian-jiu-jitsu-text {
    max-width: 520px;
    justify-self: center;
    align-self: start;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 60px;  
}

.brazilian-jiu-jitsu-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--c-primary);
    margin: 0 0 18px 0;
    text-align: center;  
}

/* ========== BLOK - NAŠE ÚSPECHY ========== */
/* rozloženie bloku úspechy */
.nase-uspechy-blok {
    min-height: 100vh;
    padding:  80px 7%;
}

/* nadpis Naše úspechy */
.nase-uspechy-nadpis {
    color: var(--c-primary);
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

/* text naše úspechy */
.nase-uspechy-text {
    max-width: 900px;
    margin: 60px auto 0 auto;    
}

.nase-uspechy-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--c-primary);
    text-align: center;
    margin: 0 0 18px 0;
}

.social-uspechy {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-uspechy img {
    width: 32px;
    height: 32px;
}

.uspech {
    width: 520px;
    height: 250px;
    object-fit: cover;
    border: 10px solid var(--c-primary);
    margin: 50px auto 0 auto;
}

/* ========== SEKCIA - AKO ZAČAŤ ========== */
/* rozloženie sekcie */
.ako-zacat {
    min-height: 100vh;
    background: var(--c-primary);
    padding:  80px 7%;
}

.ako-zacat-nadpis {
    color: var(--c-accent);
    text-align: center;
    margin: 0 0 10px 0;
    border-bottom: 1px solid var(--c-accent);
    padding-bottom: 10px;
}

.ako-zacat-grid {
    display: grid;
    grid-template-columns: 1fr 600px;
    grid-template-rows: auto auto;
    column-gap: 80px;
    align-items: center;
    width: 100%; 
    margin:0 auto;
    padding:  80px 0%;
}

/* úprava tex ako zacat */
.ako-zacat-text {
    text-align: center;
}

.ako-zacat-text p {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--c-bg);
    margin: 10px auto;
    max-width: 48ch;
}


.ako-zacat-text h4 {
    color: var(--c-accent);
    margin:18px 0 6px;
    text-align: center;
}

/* úprava video */
.ako-zacat-video {
    width: 420px;
    height: 500px;
    object-fit: cover;
    justify-self: center;
    border: 1px solid var(--c-accent);  
}

/* odkaz na stránky na kimona */
.ako-zacat a {
    font-family: var(--ff-h3);
    font-size: 0.8em ;
    color: purple;
    text-decoration-line: none;
}

.ako-zacat a:hover {
    border-bottom: 2px solid var(--c-accent);
}

/* ========== SEKCIA - ROZVRH ========== */
/* rozloženie sekcie */
.rozvrh {
    min-height: 100vh;
    background: var(--c-bg);
    padding:  80px 7%;
    border-bottom: 6px solid var(--c-accent);
}

.rozvrh-text {
    max-width: 900px;
    margin: 0 auto 20px auto;  
}

.rozvrh-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--c-primary);
    text-align: center;
    margin: 6px 0;
}


.rozvrh-nadpis {
    color: var(--c-primary);
    text-align: center;
    margin-bottom: 0 0 10px 0;
    border-bottom: 2px solid  var(--c-primary);
    width: 100%;
    padding-bottom: 10px;
}

.rozvrh-text h4 {
    color: var(--c-primary);
    margin:12px 0 4px 0;
    text-align: center;
}

.rozvrh-text h3 {
    color: var(--c-primary);
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 12px 0;
}

/* uprava tabulka rozvrh */
.rozvrh-tabulka {
    width:100%;
    max-width: 1100px;
    border-collapse:separate;
    margin: 40px auto 0 auto;
    border-spacing:8px;          
    table-layout: fixed;
    font-size:16px;
    font-family: var(--ff-ui);
}

.rozvrh thead th {
    background: var(--c-primary);
    color: #e8ecef;
    font-weight: 600;
    text-align: center;
    padding: 16px 18px;
    border-radius :8px;
}

.rozvrh td {
    border-radius: 8px;
    padding: 0;                    
    text-align: center;
    vertical-align: middle;
    position: relative;
    height: 84px;                 
    overflow: visible;
}

.prazdne { 
    background: #fff;
}

.blok {
    color:#eef5ef;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    padding: 15px;
    margin: 0;                    
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.td-b  { background: #6c85e7; }
.td-a  { background: #3356e4; }
.td-ab { background: #6c85e7 }
.td-dospeli { background: #08269e;}

.rozvrh .blok span{
  display: block;
  margin-top: 6px;
  font-size: 0.9em;
  color: #e3efe7;
  opacity: 0.9;
}

/* ========== SEKCIA - KONTAKT ========== */
/* rozloženie sekcie */
.kontakt {
    min-height: 100vh;
    padding: 100px 7%;
    position: relative;
    background: url(obrazky/OCMikado2.jpeg) center / cover no-repeat;
    border-bottom: 6px solid var(--c-accent);
}

.kontakt-text {
    max-width: 900px;
    margin: 0 auto; 
    background: rgba(0,0,0,0.50); 
    border-radius: var(--radius);
    padding: 18px 18px 22px;
}

.kontakt-nadpis {
    color: var(--c-accent);
    text-align: center;
    margin: 0 0 20px 0;
    border-bottom: 1px solid var(--c-accent);
    padding-bottom: 10px;
}

.kontakt-text p {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #fff;
    text-align: center;
    margin: 6px 0 12px 0;
}

.kontakt-adresa {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    margin-top: 20px;
    position: relative;
}

.kontakt-info {
    max-width: 900px;
}

/* odkaz na trasu */
.kontakt-tlacidlo {
    position: absolute;
    bottom: -10px;
    right: 0;
    font-family: var(--ff-h3);
    font-size: 1.0em ;
    color: purple;
    text-decoration: none;
    background: var(--c-bg);
    border-radius: 20px;
    padding: 14px 32px;
    font-weight: 800;
}

.kontakt-tlacidlo:hover {
    background: var(--c-accent); 
}

.schody {
    width: 250px;
    border: 2px solid var(--c-accent);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    margin: 6px 20px 0 12px;
}

/* ========== SEKCIA - GALERIA ========== */
/* rozloženie sekcie */
.galeria {
    min-height: 100vh;
    background: var(--c-primary);
    padding:  80px 7%;
}

.galeria h1 {
    margin-bottom: 5em;
}

/* Nadpis */
.galeria-nadpis {
    text-align: center;
    color: var(--c-accent);
    margin: 0 0 40px 0;
}

.galeria h3 {
    text-align: center;
    color: var(--c-accent);
    margin: 0 0 24px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--c-accent);
    padding-bottom: 10px;
}

.galeria h4 {
    text-align: center;
    color: var(--c-accent);
    margin: 0 0 24px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Grid galérie */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Obrázky */
.galeria-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekt */
.galeria-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

/* ========== PATA ========== */
/* rozloženie päta */
.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    min-height: 200px;
    color: #fff;
    background: var(--c-muted);
    padding: 90px 7% 60px;
    margin-top: -40px;
    clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}

.footer-text {
    font-family: var(--ff-body);
    font-size: 0.8em;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-block h4 {
    margin-bottom: 0 0 10px 0;
    color: #fff;
}


.footer p {
    margin: 6px 0;
}

.footer p:hover {
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1050px) {
.menu { padding: 0 18px; }
.menu nav ul { gap: 18px; }
}

@media (max-width: 900px) {
  /* Menu: na úzke šírky zmenšíme medzery (bez JS hamburgeru) */
.menu nav ul {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Grid sekcie -> 1 stĺpec */
.kto-sme-blok,
.brazilian-jiu-jitsu-blok {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
    padding:60px 7%;
}

.znak {
    width: 100%;
    height: auto;
}

.trener {
    width: 100%;
    height: auto;
    margin-top: 0;
}

.kto-sme-text2 {
    width: auto;
    margin-top: 0;
}

.poza2,
.footlock {
    width: 100%;
    height: auto;
    justify-self: center;
    margin-top: 0;
    grid-column: auto;
    grid-row: auto;
}

.brazilian-jiu-jitsu-text {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    max-width: none;
}

.ako-zacat-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 40px 0;
}

.ako-zacat-video  {
    width: 100%;
    height: auto;
}

.kontakt-adresa {
    flex-direction: column;
    gap: 18px;
}

.kontakt-tlacidlo {
    position: static;
    display: inline-block;
    margin: 10px auto 0;
}

.schody{
    margin:0;
    width:min(320px, 100%);
}

.uspech {
    width:100%;
    height:auto;
}
}

@media (max-width: 520px) {
.home-slogan { left:5%; right:5%; }
.home-klik { right:5%; }
.galeria-grid img { height:220px; }
}
















