@font-face {
    font-family: "Walbaum";
    src: url("../fonts/Walbaum10.woff2") format("woff2");
    font-weight: 600;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Walbaum", serif;
    margin: 0;
    padding: 0;
}

.bg-main {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-fotbal {
    background-image: url('../images/fotbal.png');
    background-size: cover;
    background-position: center;
}

.bg-personal {
   background-color: #E3D9CC;
}

a {
    color: inherit;
    text-decoration: none;
}

@media (min-width: 1600px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 2800px;
    }
}

.home-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.home-container {
    position: relative;
    z-index: 2;
}


.home-logo-title {
    gap: 30px;
}

.home-logo {
    width: 220px;
    margin-right:10px;
}

.home-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 220px;
    margin-top: 280px;
}

.home-grid {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left:120px;
    margin-top:35px;
}

.home-title {
    font-size: 244px;
    font-weight: 700;
    margin: 0;
    padding-left:80px;
}

.home-box {
    background: #fff;
    padding: 25px;
    border: 5px solid #b13b34;
    border-radius: 25px;
    font-size: 67px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 230px;
    width: 520px;
    box-sizing: border-box;  
    display: flex;
    flex-direction: column;       
    align-items: center;         
    justify-content: center;     
    text-align: center;
}

.home-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.custom-grid {
    --bs-gutter-y: 8rem;
    --bs-gutter-x: 3rem;
}

.home-title-personality {
    font-size: 170px;
    font-weight: 700;
    text-align: center;
    margin-top: 230px;
    line-height: 1.2;
}

.personality-header {
    font-size: 150px; 
    font-weight: 700;
    text-align: center;
}

.home-title-line {
    background-color: rgb(168, 45, 37);
    height: 9px;
    width: 100%;
    max-width: 2456px;
    margin: 0px auto 60px auto; 
}


.fotbal-grid-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fotbal-grid-wrapper .fotbal-button-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 90px;  
    width: 100%;
    margin-top: 40px;
}

.fotbal-grid-wrapper .fotbal-back-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 300px;
}

.fotbal-grid-wrapper .fotbal-back-box {
    height: 120px; 
    width: 440px;
}

.person-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;   
    height: 100vh;
    gap: 160px;                    
    padding-left: 0px;           
    padding-top: 265px;        
    box-sizing: border-box;
}

.person-image img {
    width: 941px;
    height: auto;
    display: block;
    margin-top:19px;
}

.person-content {
    max-width: 1650px;
    margin-top: 0;
}

.person-title {
    font-size: 138px;
    font-weight: 700;
    margin: 0 0 0 0;
}

.person-title-line {
    background-color: rgb(168, 45, 37);
    height: 10px;
    width: 1625px; 
    margin: 30px 0 0px 0;
}

.person-content p {
    font-size: 56px;
    line-height: 1.20;
    margin:0;
    margin-bottom:38px;
}

.person-back {
    display: flex;
    justify-content: flex-start;  
    margin-top: 80px;
}

.back-link {
    display: inline-block;
}

.back-link .home-box {
    height: 120px; 
    width: 440px;
}

.personal-content-text {
    margin-top:85px
}

.detail-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    gap: 160px;            
    padding-left: 200px;      
    padding-top: 272px;       
    box-sizing: border-box;
}

.detail-left {
    max-width: 1630px;        
}

.detail-title {
    font-size: 139px;        
    font-weight: 700;
    margin: 0;
}

.detail-title-line {
    background-color: rgb(168, 45, 37);
    height: 10px;
    width: 1495px;             
    margin: 25px 0 60px 0;
}

.detail-left p {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 0px;
    font-weight: 500;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 355px); 
    grid-auto-rows: 125px;                    
    gap: 200px;
    margin-top: 310px;     
    margin-left:12px;                   
}

.detail-gallery img {
    width: 530px;
    height: 300px;
    object-fit: cover;
}

.detail-back {
    margin-top: 80px;
}

.detail-back-box {
    margin-top:100px;
    height: 120px; 
    width: 440px;
}

.detail-content-text-spolky {
    height: 812px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
    touch-action: pan-y;
    position: relative;
    
    -ms-overflow-style: none;  
    scrollbar-width: none;    
}

.detail-content-text-spolky::-webkit-scrollbar {
    display: none; 
}

.detail-content-text-spolky::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    background: linear-gradient(
    to bottom,
    rgba(227,217,204,0) 0%,
    rgba(227,217,204,0.7) 45%,
    rgba(227,217,204,1) 80%
);
    pointer-events: none;
    transition: opacity 0.25s ease-out;
    opacity: 0; 
}

.detail-content-text-spolky.fade-active::after {
    opacity: 1;
}

.detail-content-text-spolky > p:first-child {
    margin-top: 15px !important;
    padding-top: 0 !important;
}

.personal-content-wrapper {
    position: relative;
    height: 1000px; 
}

.personal-content-text {
    max-height: 1100px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
    touch-action: pan-y;
    position: relative;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.personal-content-text::-webkit-scrollbar {
    display: none; 
}

.personal-content-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    background: linear-gradient(
        to bottom,
        rgba(227,217,204,0) 0%,
        rgba(227,217,204,0.7) 45%,
        rgba(227,217,204,1) 80%
    );
    pointer-events: none;
    transition: opacity 0.25s ease-out;
    opacity: 0; 
}

.personal-content-text.fade-active::after {
    opacity: 1;
}

.personal-content-text > p:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.thumb-overlay-last {
    position: relative;
    width: 530px;       
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.thumb-overlay-last::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); 
    border-radius: 5px;
}

.thumb-overlay-last span {
    position: relative;
    color: white;
    font-size: 72px;
    font-weight: 700;
    z-index: 2;
}

/* 🔥 Zvětšení šipek a křížku */
.gprev,
.gnext,
.gclose {
    width: 150px !important;
    height: 150px !important;
}

/* 🔥 Zvětšení ikon uvnitř (SVG) */
.gprev svg,
.gnext svg,
.gclose svg {
    width: 50px !important;
    height: auto !important;
    transform: scale(2); /* uprav jak chceš: 2, 3, 4 */
}

/* Můžeš si zvětšit klikací plochu */
.gprev,
.gnext {
    padding: 20px !important;
}

/* Volitelné: šipky posunout víc do stran */
.gprev { left: 40px !important; }
.gnext { right: 40px !important; }

/* samotný slide */
.glightbox-container .gslide-image {
    width: 100vw !important;
    height: 100vh !important;
}

/* IMG uvnitř */
.glightbox-container .gslide-image img {
    width: 100vw !important;
    height: 100vh !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain; /* nebo cover, viz níž */
}




