@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #ffffff;
    background-color: #FDD503;
    animation: fadeIn 0.5s ease-in; 
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('PC.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain; 
    line-height: 1.6;
}

/* Uvodná "Coming Soon" sekcia */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.badge {
    background-color: #e67e22;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3rem;
    max-width: 800px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.subtitle {
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 40px;
    font-style: italic;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 1);
}

/* Kontajner pre dve tlacidla vedla seba */
.btn-container {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.btn:hover {
    background-color: #fff;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.18);
}

/* Stranka pre obsah (O nas / Kontakt) */
.content-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Polopriehladny box pre obsah podstranok */
.box {
    max-width: 900px;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.75); 
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e67e22;
}

.about-text {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* Spat na hlavnu stranku */
.btn-back {
    margin-top: 30px;
    border-color: #e67e22;
    color: #e67e22;
}

.btn-back:hover {
    background-color: #e67e22;
    color: #fff;
}

/* Galeria */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Kontakt Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
    margin-top: 20px;
}

.contact-info h3, .contact-links h3 {
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.contact-grid p {
    margin-bottom: 10px;
    color: #ccc;
}

.contact-grid a {
    color: #e67e22;
    text-decoration: none;
}

.contact-grid a:hover {
    text-decoration: underline;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 12px;
    color: #ffffff;
    font-size: 13px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 5px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 40px;
    padding: 6px 18px 14px 18px;
    cursor: pointer;
    border-radius: 5px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 40px;
    line-height: 1;
    padding: 4px 18px 16px 18px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.map {
    width: 49%;
    margin-top: 30px;
    margin-right: auto;
}

.map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 5px;
}

/* Responzivita pre mobily */
@media (max-width: 768px) {

    .hero {
        padding: 20px 15px;
    }

    .badge {
        font-size: 11px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 10px;
        max-width: 95%;
    }

    .subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .btn-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 240px;
    }

    .btn {
        width: 100%;
        min-width: 0;
        padding: 10px 20px;
        font-size: 14px;
    }
        /* Odsadenie obsahu pod mobilnou navigáciou */
    .content-page {
        padding-top: 120px;
    }

    .box {
        padding: 20px;
    }

    .map {
        width: 100%;
    }

    footer {
        font-size: 11px;
        padding: 8px;
    }
}

/* =========================
   HORNÉ MENU PROTEINCRAFT
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 20px 3%;
}

.main-nav {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.nav-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    min-height: 40px;
}

.nav-btn {
    display: inline-block;
    width: 210px;
    padding: 10px 18px;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    border: 2px solid #e67e22;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
}

.nav-btn:hover {
    background-color: #fff;
    color: #222;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Ikona Domov */

.nav-side.nav-left .nav-btn.nav-home {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.nav-btn.nav-home svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

/* Obsah hlavnej stránky */

.home-content {
    min-height: calc(100vh - 110px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 70px;
}

.home-box {
    width: 100%;
    max-width: 760px;
    padding: 35px;
    background-color: rgba(20, 20, 20, 0.40);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.home-box h1 {
    margin-bottom: 20px;
    color: #e67e22;
    font-size: 2.3rem;
    line-height: 1.25;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.home-box p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

/* Navigácia a hlavná stránka na menších obrazovkách */

@media (max-width: 900px) {
    .site-header {
        padding: 15px;
    }

    .main-nav {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .nav-center {
        display: none;
    }

    .nav-side {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
    }

    .nav-btn {
        padding: 9px 12px;
        font-size: 13px;
    }

    .home-content {
        min-height: calc(100vh - 130px);
        padding: 25px 15px 70px;
    }

    .home-box {
        padding: 25px 20px;
    }

    .home-box h1 {
        font-size: 1.8rem;
    }

    .home-box p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .nav-side {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .nav-btn {
        width: auto;
        padding: 7px 9px;
        font-size: 15px;
        white-space: nowrap;
    }

    .nav-side.nav-left .nav-btn.nav-home {
        padding-left: 8px;
        padding-right: 8px;
    }

    .home-box h1 {
        font-size: 1.5rem;
    }
}

/* Zarovnanie textu na stránke Objednávky a doprava */

.content-page .box .about-text {
    text-align: left;
}

.content-page .box .about-text h3 {
    text-align: center;
    margin-bottom: 15px;
}

.content-page .box .about-text p {
    margin-bottom: 15px;
}

/* Zväčšené okno produktovej galérie */

.product-lightbox {
    padding: 65px 70px;
}

.product-lightbox-content {
    display: flex;
    align-items: center;
    gap: 35px;
    width: 100%;
    max-width: 1400px;
    max-height: calc(100vh - 70px);
    padding: 25px;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.product-lightbox .product-lightbox-image {
    display: block;
    flex: 0 1 42%;
    width: 42%;
    min-width: 0;
    max-width: 42%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 8px;
}

.product-lightbox-info {
    flex: 1;
    min-width: 0;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 5px 10px 5px 0;
    color: #ffffff;
}

.product-lightbox-info h2 {
    margin: 0 0 8px;
    color: #e67e22;
    font-size: 1.8rem;
    line-height: 1.25;
}

.product-subtitle {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #dddddd;
}

.product-description {
    margin-bottom: 18px;
    line-height: 1.7;
}

.product-facts {
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(230, 126, 34, 0.15);
    border-left: 3px solid #e67e22;
    border-radius: 4px;
    font-weight: bold;
}

.product-details {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.product-details summary {
    padding: 12px 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.07);
    font-weight: bold;
}

.product-details summary:hover {
    background: rgba(255, 255, 255, 0.13);
}

.product-details > p {
    padding: 12px 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.product-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.product-nutrition {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.product-nutrition th,
.product-nutrition td {
    padding: 9px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    text-align: left;
    vertical-align: top;
}

.product-nutrition th {
    color: #e67e22;
}

.product-nutrition th:first-child,
.product-nutrition td:first-child {
    min-width: 125px;
}

.product-lightbox .lightbox-prev,
.product-lightbox .lightbox-next {
    z-index: 2;
}

.product-lightbox .lightbox-close {
    z-index: 3;
}

/* Prispôsobenie produktového okna mobilom a tabletom */

@media (max-width: 768px) {
    .product-lightbox {
        padding: 65px 12px 20px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .product-lightbox-content {
        flex-direction: column;
        gap: 18px;
        max-height: none;
        padding: 15px;
        overflow: visible;
    }

    .product-lightbox .product-lightbox-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        max-height: 38vh;
    }

    .product-lightbox-info {
        width: 100%;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .product-lightbox-info h2 {
        font-size: 1.45rem;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .product-nutrition {
        font-size: 0.78rem;
    }

    .product-nutrition th,
    .product-nutrition td {
        padding: 8px 5px;
    }
}
    /* Tlačidlá kategórií produktov */
    .product-categories .category-btn {
    font-size: 18px;
}
    /* Viac priestoru medzi kategóriami a galériou */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 22px 0 30px;
}

/* Odstup nadpisu kategórie od obrázkov */
.product-category h3 {
    margin-bottom: 22px;
}

/* Odstup galérie od nadpisu */
.product-category .gallery {
    margin-top: 10px;
}

/* Zvýraznenie zvolenej kategórie */
.product-categories .category-btn.active {
    background-color: #fff;
    color: #000;
}
/* Riadok s informáciami a cenou produktu */
.product-facts-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.product-facts-row .product-facts,
.product-facts-row .product-price {
    margin: 0;
}

.product-price {
    font-weight: bold;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}