/* ===== GLOBAL ===== */
body {
    margin: 0;
    background: black;
    font-family: sans-serif;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}



/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    background: black;
    background-image: url("../images/header_line.JPG");
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;

    padding: 20px 40px;
    height: 80px;
    z-index: 1000;

    display: flex;
    align-items: center;
}

.logo {
    max-height: 80px;
}

section {
    scroll-margin-top: 120px;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 10px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: rgb(179, 152, 2);
    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav-btn {
    color: black;
    text-decoration: none;
}

.nav-btn {
    margin-left: 20px;
    padding: 10px 20px;
    background: rgb(179, 152, 2);
    border-radius: 6px;
    font-weight: bold;

    border: 2px solid rgb(179, 152, 2);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background: rgb(200, 170, 0);
}





/* ===== SEKCJA HOME ===== */
#home {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-top: 15px;
}

.home-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.home-text {
    flex: 1;
    padding-left: 40px;
    z-index: 2;
}

.hero-title {
    margin-bottom: 0px;
}

.hero-line {
    margin: 0;
    line-height: 1.2;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-line.white {
    color: white;
}

.hero-line.smaller {
    font-size: 48px;
}

.hero-line.lighter {
    font-weight: 400;
}

.hero-line.gold {
    color: rgb(179, 152, 2);
}

.hero-line:first-child {
    font-size: 88px;
}

.hero-description {
    font-size: 24px;
    line-height: 1.6;
    color: #ddd;
}

.home-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-weight: bold;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid rgb(179, 152, 2);
    color: white;
    transition: all 0.2s ease;
}

.btn-primary {
    background: rgb(179, 152, 2);
    color: black;
}

.btn-secondary {
    background: black;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-primary:hover {
    background: rgb(200, 170, 0);
}

.btn-secondary:hover {
    background: #111;
}

.home-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.front-img {
    width: 100%;
    max-width: 400px;
    display: block;
}

.home-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;  
    min-width: 30px;
    padding: 10px 16px;
    border: 1px solid rgb(179, 152, 2);
    border-radius: 999px;
    color: white;
    font-size: 16px;
    text-decoration: none;
    background: transparent;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background: rgba(179, 152, 2, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(179, 152, 2, 0.25);
}



/* ===== SYSTEM SECTION ===== */
#system {
    background: rgb(26, 25, 25);
    color: white;
    margin-top: 50px;
    border: 2px solid rgba(179, 152, 2, 0.35);
    border-radius: 24px;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 4px;
    position: relative;
    margin-bottom: 40px;
}

.brand-name {
    font-size: 48px;
    color: rgb(179, 152, 2);
    margin: 0;
}

.section-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: rgb(179, 152, 2);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title.light {
    position: relative;
    margin-bottom: 20px;
}

.section-title.light::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: rgb(179, 152, 2);
    margin-top: 15px;
    border-radius: 2px;
}

.system-content {
    padding: 0 40px;
}
.system-description {
    line-height: 1.6;
    font-size: 20px;
    text-align: center;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 50px;
}
.process-step {
    position: relative;
    width: 180px;
    background: black;    
    border-radius: 16px;
    padding-top: 20px;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.08);
}
.process-step:hover {
    transform: translateY(-6px);
    background: #161616;
}
.process-step img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}
.process-step h3 {
    font-size: 18px;
    color: white;
    line-height: 1.2;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}
.process-step::after {
    content: "→";
    position: absolute;
    top: 30%;
    right: -20px;
    transform: translateY(-50%);
    font-size: 72px;
    color: rgb(179, 152, 2);
}
.process-step:last-child::after {
    display: none;
}





.event-section {
    background: rgb(26, 25, 25);
    color: white;
    margin-top: 50px;
    border: 2px solid rgba(179, 152, 2, 0.35);
    border-radius: 24px;
}

.event-title {
    text-align: center;
    font-size: 48px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 4px;
}

.event-description {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
    padding: 0 40px;
    color: white;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 auto;
    padding: 0 40px 40px;
}

.event-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1.65;
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.event-card h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}






#display {
    color: white;
    background: rgb(26, 25, 25);
    padding: 50px 40px;
    margin-top: 50px;
    border: 2px solid rgba(179, 152, 2, 0.35);
    border-radius: 24px;
}

.display-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.display-image {
    display: flex;
    justify-content: center;
}

.display-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.display-right {
    text-align: left;
}

.display-right p {
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
}

.display-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
    text-align: left;
    font-size: 20px;
    line-height: 1.6;
}

.display-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.display-list li::before {
    content: "✓";
    flex-shrink: 0;
    font-size: 30px;
    font-weight: bold;
    color: rgb(179, 152, 2);
    line-height: 1.2;
    padding-left: 15px;
}






#compact {
    background: rgb(26, 25, 25);
    color: white;
    padding: 50px 40px;
    margin-top: 50px;
    border: 2px solid rgba(179, 152, 2, 0.35);
    border-radius: 24px;
}

.compact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.compact-left {
    text-align: center;
}

.compact-left p {
    font-size: 20px;
    line-height: 1.6;
}

.compact-size {
    font-size: 32px;
    font-weight: 600;
    color: rgb(179, 152, 2);
    margin: 20px 0;
}

.compact-image {
    display: flex;
    justify-content: center;
}

.compact-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}







#technology {
    background: rgb(26, 25, 25);
    color: white;
    padding: 50px 40px;
    margin-top: 50px;
    border: 2px solid rgba(179, 152, 2, 0.35);
    border-radius: 24px;
}

.technology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.technology-image {
    display: flex;
    justify-content: center;
}

.technology-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.technology-right {
    text-align: center;
}

.technology-right p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}





#additional {
    background: rgb(26, 25, 25);
    color: white;
    padding: 40px 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    border: 2px solid rgba(179, 152, 2, 0.35);
    border-radius: 24px;
}

.additional-title {
    text-align: center;
    font-size: 48px;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 40px;
    position: relative;
}

.additional-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: rgb(179, 152, 2);
    margin: 15px auto 0;
    border-radius: 2px;
}

.additional-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
}

.additional-content p {
    margin-bottom: 20px;
}


.banner-wrapper {
    position: relative;
}

#banner img {
    width: 100%;
    height: 200px;
    height: auto;
    display: block;
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;    
}



/* ===== CONTACT ===== */
#contact {
    background: black;
    padding: 40px 40px;
    color: white;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "left form image";
    gap: 40px;
    align-items: start;
}

.contact-left {
    grid-area: left;
}

.contact-title {
    font-size: 48px;
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    position: relative;
}

.contact-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: rgb(179, 152, 2);
    margin: 15px 0 20px 0;
    border-radius: 2px;
}

.contact-intro {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-social-title {
    font-size: 18px;
    color: #ddd;
}
.contact-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    border-radius: 999px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.contact-facebook {
    background: #1877F2;
}

.contact-instagram {
    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285AEB 90%);
}

.contact-youtube {
    background: #FF0000;
}
.contact-social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form {
    grid-area: form;
}
.contact-form h2 {
    font-size: 30px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;

    background: rgb(26, 25, 25);
    color: white;

    font-family: inherit;
    font-size: 18px;
}

.contact-form textarea {
    height: 80px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form button {
    padding: 12px;
    background: rgb(179, 152, 2);
    border: none;
    color: black;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
}

.contact-form button:hover {
    opacity: 0.9;
}

.contact-image {
    grid-area: image;
    display: flex;
    justify-content: center;
}

.contact-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}





/* OKIENKO Z REZERWACJA */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);

    justify-content: center;
    align-items: center;

    z-index: 2000;
}

.modal-content {
    background: black;
    padding: 40px;
    padding-top: 0px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    color: white;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content h2 {
    font-size: 30px;
    font-family: sans-serif;
}

.modal-content input,
.modal-content textarea {
    padding: 12px;
    background: rgb(26, 25, 25);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;

    width: 100%;
    box-sizing: border-box;

    font-size: 16px;
    font-family: sans-serif;
}

.modal-content textarea {
    min-height: 60px;
}

.modal-content button {
    padding: 12px;
    background: rgb(179, 152, 2);
    border: none;
    color: black;
    border-radius: 6px;
    cursor: pointer;

    font-size: 20px;
    font-family: sans-serif;
}

.flatpickr-mobile:before  {
  content: attr(placeholder);
  color: rgba(255, 255, 255, 0.35);
}
.flatpickr-mobile:focus[value]:not([value=""]):before {
  display: none;
}

input[type="hidden"][value]:not([value=""]) + .flatpickr-mobile:before {
  display: none; 
}

/* ===== POTWIERDZENIE ZAMOWIENIA ===== */
.success-message {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgb(179, 152, 2);
    color: black;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.2rem; 
    font-weight: 500;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 3000;
}

.success-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}





/* FOOTER */
.footer-bar {
    background: rgb(26, 25, 25);
    height: 20px;
    text-align: center;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    gap: 5px;
}

.footer-bar a {
    color: #aaaaaa5b;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-bar a:hover {
    text-decoration: underline;
}

.footer-bar span {
    color: #aaaaaa5b;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {

    .system-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }

    .interface-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "image right"
            "cards cards";
        gap: 30px;
    }

    .order-container {
        grid-template-areas:
            "right image"
            "cards cards";
    }

    .ingredients-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "image right"
            "cards cards";
        gap: 30px;
    }

    .banner-text {
        font-size: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "left image"
            "form form";
    }

    #banner {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

@media (max-width: 840px) {
    #display {
        padding: 0px 40px;
    }

    .display-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .display-image {
        order: 2;
        padding-bottom: 30px;
    }

    .display-right {
        order: 1;
    }


    #compact {
        padding: 0px 40px;
    }

    .compact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .compact-left {
        order: 1;
    }

    .compact-image {
        order: 2;
        padding-bottom: 30px;
    }


    #technology {
        padding: 0px 40px;
    }
    .technology-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .technology-right {
        order: 1;
    }

    .technology-image {
        order: 2;
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {

    header {
        flex-wrap: wrap;
        height: auto;
    }

    .nav {
        order: 3;        
        width: 100%;     
        margin-left: 0;

        display: flex;
        justify-content: right;
        gap: 45px;
        flex-wrap: wrap;
    }

    .nav-btn {
        order: 2;     
        margin-left: auto;
    }

    .nav a {
        font-size: 1rem;
    }

    .home-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .home-text {
        padding-left: 0;
        text-align: center;
    }

    .home-buttons {
        justify-content: center;
    }

    .home-visual {
        width: 100%;
    }

    .front-img {
        max-width: 320px;
    }

    .home-socials {
        justify-content: center;
        flex-wrap: wrap;
    }


    .system-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    #interface {
        padding-top: 0px;
    }
    .interface-right h2 {
        padding-top: 0px;
    }
    .interface-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "right"
            "cards"
            "image";
    }
    .interface-image img {
        max-width: 100%;
    }

    #order {
        padding-top: 0px;
    }
    .order-right h2 {
        padding-top: 0px;
    }
    .order-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "right"
            "cards"
            "image";
    }
    .order-image img {
        max-width: 100%;
    }

    #ingredients {
        padding-top: 0px;
    }
    .ingredients-right h2 {
        padding-top: 0px;
    }
    .ingredients-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "right"
            "cards"
            "image";
    }

    .ingredients-image img {
        max-width: 100%;
    }

    .banner-text {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "left"
            "form"
            "image";
    }

    .contact-form {
        margin-top: 0;
    }
}

@media (max-width: 600px) {

    .event-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 20px 30px;
    }

    .event-card:last-child {
        display: none;
    }

    .order-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .order-card img[src*="small_etap"] {
        display: none;
    }

    .order-card:has(img[src*="small_etap"]) {
        display: none;
    }
    .order-card-first {
        border-radius: 12px;
    }
    .order-card-last {
        border-radius: 12px;
    }
    .order-card {
        border-radius: 12px;
    }
}

@media (max-width: 530px) {

    .order-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .interface-right h2{
        font-size: 38px;
    }

    .interface-cards {
        gap: 0px;
    }

    .order-right h2{
        font-size: 38px;
    }

    .ingredients-right h2{
        font-size: 38px;
    }

    .ingredients-cards {
        gap: 0px;
    }

    .banner-text {
        font-size: 0.7rem;
    }

    .logo {
        max-height: 60px;
    }

    .nav a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 12px;
    }
}

@media (max-width: 460px) {

    .nav a {
        font-size: 10.5px;
    }

    .interface-card {
        font-size: 13px;
    }
    .ingredients-card {
        font-size: 13px;
        padding-left: 0px;
        padding-right: 0px;
    }
}