
footer{
    box-shadow: 0px 10px 40px 7px rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------- HEADER -------------------------------------------------------------------- */
/* Header Section */
header {
    height: 68vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/back.png');
    background-size: cover;
    background-position: top;
    z-index: -1;
    box-shadow: inset 0 50px 50px rgba(0, 0, 0, 1), inset 0 -50px 50px rgba(0, 0, 0, 1);
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.header-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: bold;
}

.header-content h2 {
    font-size: 20px;
    margin-bottom: 40px;
}

.header-content p {
    font-size: 20px;
    margin-bottom: 40px;
}

.header-content .btn {
    padding: 15px 30px;
    background-color: #7A2B42;
    color: #FAF9F6;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.header-content .btn:hover {
    background-color: #6a2d42;
}

/* -------------------------------------------------------------- /HEADER -------------------------------------------------------------------- */
/* -------------------------------------------------------------- PORTFOLIO -------------------------------------------------------------------- */
.social-media {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zarovná každý odkaz na střed */
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center; /* Vertikální zarovnání textu s ikonou */
    text-decoration: none; /* Odstraní podtržení odkazu */
    color: inherit; /* Dědí barvu z nadřazeného prvku */
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: invert(1);
    margin-right: 8px; /* Mezera mezi ikonou a textem */
}

/* Portfolio Section */
.portfolio-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #181818;
    color: #FAF9F6;
    box-shadow: inset 0px 5px 25px rgba(0, 0, 0, 0.6);
}

.portfolio-text {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-bottom: 20px;
}

.portfolio-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.portfolio-text p {
    font-size: 18px;
    line-height: 1.6;
}

.portfolio-link {
    text-align: center;
}

.portfolio-link a {
    color: #FAF9F6; /* Změněno na růžovou */
    font-size: 18px;
    text-decoration: none;
}

.portfolio-link a:hover {
    text-decoration: underline;
}
/* -------------------------------------------------------------- /PORTFOLIO -------------------------------------------------------------------- */
/* -------------------------------------------------------------- SERVIS -------------------------------------------------------------------- */
.services-section {
    display: flex;
    justify-content: space-between; /* Rovnoměrná mezera mezi sekcemi */
    align-items: stretch; /* Boxy budou stejně vysoké */
    padding: 50px;
    background-color: #181818;
    color: #FAF9F6;
    gap: 20px; /* Mezera mezi jednotlivými boxy */
}

.service {
    flex: 1; /* Všechny boxy budou mít stejnou šířku */
    display: flex;
    flex-direction: column; /* Obsah vertikálně */
    align-items: center; /* Centrování obsahu na střed */
    text-align: center;
    padding: 20px;
    background-color: #202020;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    min-height: 150px; /* Zajistí minimální výšku boxů */
}

.service-header {
    display: flex;
    align-items: center; /* Zarovnání ikony a nadpisu na střed vertikálně */
    justify-content: center; /* Centrování obsahu horizontálně */
    gap: 8px; /* Menší mezera mezi ikonou a textem */
    margin-bottom: 10px; /* Větší mezera pod nadpisem */
}

.service h3 {
    font-size: 24px;
    margin: 0; /* Odstranění všech mezer kolem nadpisu */
    color: #7A2B42; /* Tmavší červená barva */
}

.service p {
    font-size: 16px;
    line-height: 1.6; /* Lepší čitelnost textu */
    margin: 0; /* Odstranění přebytečné mezery */
    margin-top: 10px; /* Malá mezera mezi textem a nadpisem */
}

.service .service-icon {
    width: 32px; /* Velikost ikonky */
    height: 32px;
    filter: invert(1); /* Bílé ikony na tmavém pozadí */
}

#stetec {
    transform: scaleX(-1); /* Zrcadlové otočení horizontálně */
}


/* Responzivita */
@media (max-width: 768px) {
    .services-section {
        flex-direction: column; /* Složení sekcí pod sebe na menších zařízeních */
        align-items: center; /* Zarovnání na střed */
    }

    .service {
        margin-bottom: 20px;
    }
}
/* -------------------------------------------------------------- /SERVIS -------------------------------------------------------------------- */


/* Portfolio Section */
.onas-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #181818;
    color: #FAF9F6;
}

.onas-text {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-bottom: 20px;
}

.onas-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* -------------------------------------------------------------- O NAS -------------------------------------------------------------------- */
.tattoo-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    background-color: #181818;
}

.tater {
    display: flex;
    align-items: center;
    background-color: #202020;
    border-radius: 15px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.6);
    padding: 20px;
    width: 48%;
}

.tater-photo img {
    max-width: 280px; /* Maximální šířka obrázku */
    max-height: 370px; /* Maximální výška obrázku */
    object-fit: contain; /* Zobrazí celý obrázek bez ořezu */
    border-radius: 10px;
    user-select: none;
}

.tater-info {
    margin-left: 20px;
    color: white;
    padding-right: 15px;
}

.tater-name {
    font-size: 28px;
    font-weight: bold;
    color: #7A2B42;
    margin-bottom: 10px;
}

.tater-specialization {
    font-size: 21px;
    font-weight: bold;
    color: #d4d4d4;
    margin-bottom: 10px;
}

.tater-description {
    font-size: 18px;
    color: #bfbfbf;
    line-height: 1.6;
}

/* Responzivita */
@media (max-width: 768px) {
    .tattoo-section {
        flex-direction: column; /* Každý tatér pod sebou */
        gap: 20px;
    }

    .tater {
        width: 100%; /* Tatér zabere plnou šířku */
        flex-direction: row; /* Zachová původní rozložení */
        padding: 15px; /* Lehce menší padding */
    }

    .tater-photo img {
        max-width: 140px; /* Zmenšení obrázku na mobilech */
        max-height: 210px;
    }

    .tater-info {
        margin-left: 15px; /* Menší mezera mezi obrázkem a textem */
    }

    .tater-name {
        font-size: 20px; /* Zmenšení textu na mobilech */
    }

    .tater-specialization {
        font-size: 16px;
    }

    .tater-description {
        font-size: 14px;
    }

    .tater.reverse {
        flex-direction: row-reverse;
        text-align: end;
    }
}
/* -------------------------------------------------------------- /O NAS -------------------------------------------------------------------- */

/* Responsivní design */
@media (min-width: 768px) {
    .portfolio-section {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .portfolio-text {
        width: 60%;
        text-align: left;
    }
    
    .portfolio-link {
        text-align: right;
    }
    
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-left, .footer-right {
        width: 30%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 36px;
    }
    
    .header-content p {
        font-size: 16px;
    }
    
    .header-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .portfolio-text h2 {
        font-size: 28px;
    }
    
    .portfolio-text p {
        font-size: 16px;
    }
}