/* --- reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

/* fonts */
body {
    font-family: 'Lora', serif;
    color: #fff;
    background: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* biała linia */
.separator {
    height: 2px;
    background-color: #fff;
    margin: 30px 0;
}

/* background */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
}

.bg-fixed .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85);
}

/* global hover */
.global-hover {
    display: inline-block;
    transition: transform 0.9s ease;
}

.global-hover:hover {
    transform: scale(1.03);
}

.global-hover-txt {
    display: inline-block;
    transition: transform 0.9s ease;
}

.global-hover-txt:hover {
    transform: scale(1.08);
}

/* header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    backdrop-filter: blur(12px);
    background: rgba(180, 180, 180, 0.5);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px
}

.logo {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-decoration: none
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 22px;
    font-weight: 300;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer
}

/* MOBILE MENU */

.mobile-menu {
    position: fixed;
    width: 100%;
    top: 80px;
    align-items: center;
    justify-content: center;
    background: rgba(180, 180, 180, 0.9);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;

    /* ANIMACJA */
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.mobile-menu a {
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px;
    text-align: center;
}

.mobile-menu a span {
    display: inline-flex;
    width: 100%;
    padding: 0px;
    justify-content: center;
}

/* PO OTWARCIU */
.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* hero */
.hero {
    height: 105vh;
    display: flex;
    justify-content: center;
    padding-top: 50px
}

.hero-inner {
    text-align: center;
    max-width: 1000px;
    padding: 20px
}

.hero-title {
    font-family: 'Lora', serif;
    font-size: 48px;
    line-height: 1.05;
    margin-bottom: 12px
}

.hero-sub {
    font-size: 18px;
    opacity: .95;
    margin-bottom: 18px
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 60vh;
}

/* PORTRAIT */
@media (orientation: portrait) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        margin-top: 6vh;
        gap: 20px;
    }

    .hero-ctas a:nth-child(3) {
        margin-top: 50vh;
    }
}

/* buttons */
.btn {
    width: 230px;
    display: inline-block;
    padding: 12px 18px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    background: rgba(180, 180, 180, 0.5);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0;
}

.btn-contact {
    font-family: 'Lora', serif;
    width: 230px;
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    backdrop-filter: blur(12px);
    background: rgba(180, 180, 180, 0.5);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0;
    cursor: pointer;
}

#toTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    background: rgba(180, 180, 180, 0.1);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    z-index: 2100;
}

/* content containers */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 20px;
    color: #fff
}

.content h2,
.info-page h2 {
    font-size: 24px;
    margin-bottom: 18px
}

.products-head {
    font-size: 24px;
    margin-bottom: 18px;
    text-align: center;
}

.products-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
}

.products-description {
    margin-bottom: 30px;
    text-align: left;
}

.content h3,
.products-page h3,
.info-page h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 400;
}

.content {
    min-height: 105vh;
    display: flex;
    flex-direction: column;
    padding-top: 4vh;
    text-align: left;
}

.content-info-page {
    min-height: 105vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.content-contact {
    min-height: 105vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

h3+h3 {
    margin-top: 25px;
}

/* grid for products */
.grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 24px;
    margin-top: 28px
}

.card {
    background: rgba(180, 180, 180, 0.5);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    padding: 18px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-media img {
    width: 100%;
    height: auto;
    z-index: 150;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.card-media img:hover {
    transform: scale(1.03);
}

.card-content {
    text-align: center;
}

.product-params {
    list-style: disc;
    margin: 12px auto;
    padding-left: 18px;
    text-align: left;
    margin-bottom: 6px;
}

.param-label {
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

.param-value {
    font-size: 15px;
    color: #ffffff;
}

.product-summary {
    font-style: italic;
    margin-top: 26px;
    text-align: left;
    opacity: 0.8;
}

/* contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    resize: none;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-head {
    font-size: 24px;
    margin-bottom: 18px;
    text-align: center;
}

.success {
    font-size: 16px;
    margin-bottom: 18px;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-form input,
.contact-form textarea {
    font-family: 'Lora', serif;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(180, 180, 180, 0.5);
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
    resize: vertical; 
}

/* contact-form szerokość */
@media (orientation: landscape) or (min-width:768px) {
    .btn-contact {
        width: 380px;
    }
}

/* footer */
.site-footer {
    margin-top: 40px;
    padding: 18px 20px;
    text-align: center;
    background: rgba(180, 180, 180, 0.5);
    backdrop-filter: blur(8px)
}

.footer-inner {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #fff;
    text-decoration: none
}

/* responsive */
@media (max-width:900px) {
    .main-nav {
        display: none
    }

    .hamburger {
        display: block
    }

    .hero-title {
        font-size: 36px
    }

    .hero-sub {
        font-size: 16px
    }

    .header-inner {
        padding: 12px 18px
    }

    .bg-fixed .bg-img {
        height: 110vh
    }
}

/* domyślnie - duże ekrany (lg) */
.bg-fixed .bg-img {
    height: 101vh;
}

/* średnie ekrany - md (tablet, 768px - 1023px) */
@media (min-width:768px) and (max-width:1023px) {
    .bg-fixed .bg-img {
        height: 102vh;
    }
}

/* małe ekrany - sm (640px - 767px) */
@media (min-width:640px) and (max-width:767px) {
    .bg-fixed .bg-img {
        height: 104vh;
    }
}

/* mobile <640px */
@media (max-width:639px) {
    .bg-fixed .bg-img {
        height: 106vh;
    }


}

/* produkty kolumna - ułożenie */
@media (orientation: landscape) {
    .card {
        flex-direction: row;
        align-items: flex-start;
    }

    .card-media {
        flex: 0 0 40%;
    }

    .card-media img {
        width: 100%;
        height: auto;
    }

    .card-content {
        flex: 1;
        text-align: left;
        padding-left: 20px;
    }

    .product-params {
        margin-left: 0;
    }
}

/* modal zoom */
.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.img-modal.open {
    display: flex;
}

.img-modal img {
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}