/*
Theme Name: GASTROMASZ
Theme URI: https://example.com/
Author: GASTROMASZ
Description: Strona firmowa GASTROMASZ.
Version: 1.0
Text Domain: gastromasz
*/
/* =========================================
           RESET
        ========================================= */

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Montserrat', Arial, sans-serif;
            background: #f7f5f1;
            color: #292825;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }


        /* =========================================
           MENU
        ========================================= */

        .navbar {
            position: fixed;
            top: 0;
            left: 0;

            width: 100%;
            min-height: 78px;

            background: rgba(35, 34, 32, 0.98);

            display: flex;
            align-items: center;
            justify-content: space-between;

            padding: 0 6%;

            z-index: 9999;

            border-bottom: 1px solid rgba(210, 183, 124, 0.25);

            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }


        /* LOGO */

        .logo {
            font-family: 'Cormorant Garamond', serif;

            font-size: 28px;
            font-weight: 600;

            letter-spacing: 2px;

            color: #e5d5ae;

            white-space: nowrap;
        }

        .logo span {
            color: #f1eee7;
            font-weight: 400;
        }


        /* MENU */

        .menu {
            display: flex;
            align-items: center;

            gap: 30px;

            list-style: none;
        }

        .menu > li {
            display: flex;
            align-items: center;
        }

        .menu a {
            position: relative;

            color: #e7e3dc;

            font-size: 12px;
            font-weight: 500;

            letter-spacing: 1.4px;

            text-transform: uppercase;

            transition: color 0.3s ease;
        }

        .menu a::after {
            content: "";

            position: absolute;

            left: 0;
            bottom: -7px;

            width: 0;
            height: 1px;

            background: #d2b77c;

            transition: width 0.3s ease;
        }

        .menu a:hover {
            color: #d2b77c;
        }

        .menu a:hover::after {
            width: 100%;
        }


        /* =========================================
           JĘZYK
        ========================================= */

        .language-selector {
            display: flex;
            align-items: center;

            gap: 8px;
        }

        .language-label {
            color: #d2b77c;

            font-family: Arial, sans-serif;

            font-size: 12px;

            letter-spacing: 1px;

            text-transform: uppercase;
        }

        #google_translate_element {
            display: flex;
            align-items: center;

            height: 35px;
        }

        .goog-te-gadget {
            font-family: Arial, sans-serif !important;

            font-size: 0 !important;
        }

        .goog-te-gadget .goog-te-combo {
            background: #2c2b29;

            color: #eeeae2;

            border: 1px solid #b49a6c;

            padding: 7px 10px;

            font-family: Arial, sans-serif;

            font-size: 12px;

            cursor: pointer;

            outline: none;

            border-radius: 2px;

            transition: 0.3s;

            min-width: 100px;
        }

        .goog-te-gadget .goog-te-combo:hover {
            border-color: #d2b77c;

            color: #d2b77c;
        }

        .goog-logo-link {
            display: none !important;
        }

        .goog-te-gadget span {
            display: none !important;
        }

        .goog-te-banner-frame {
            display: none !important;
        }

        body {
            top: 0 !important;
        }


        /* =========================================
           BANER GŁÓWNY
        ========================================= */

        .hero {
            min-height: 580px;

            padding:
                150px
                6%
                80px;

            display: flex;

            align-items: center;
            justify-content: center;

            text-align: center;

            background:
                linear-gradient(
                    rgba(35, 34, 32, 0.88),
                    rgba(35, 34, 32, 0.93)
                ),
                url("<?php echo esc_url(get_template_directory_uri() . '/assets/WózekZTW.jpg'); ?>") center / cover no-repeat;

            color: white;
        }

        .hero-content {
            max-width: 850px;
        }

        .hero-subtitle {
            color: #d2b77c;

            font-size: 11px;

            letter-spacing: 4px;

            text-transform: uppercase;

            margin-bottom: 18px;
        }

        .hero h1 {
            font-family: 'Cormorant Garamond', serif;

            font-size: clamp(48px, 6vw, 78px);

            font-weight: 500;

            line-height: 1.05;

            margin-bottom: 25px;
        }

        .hero p {
            max-width: 680px;

            margin: 0 auto 32px;

            color: #d9d5cd;

            font-size: 14px;

            font-weight: 300;

            line-height: 1.9;
        }

        .hero-button {
            display: inline-block;

            padding: 13px 30px;

            border: 1px solid #d2b77c;

            color: #e5d5ae;

            font-size: 11px;

            letter-spacing: 2px;

            text-transform: uppercase;

            transition: all 0.3s ease;
        }

        .hero-button:hover {
            background: #d2b77c;

            color: #282724;
        }


        /* =========================================
           SEKCJE PRODUKTÓW
        ========================================= */

        .products-section {
            padding: 90px 6% 100px;

            background: #f7f5f1;
        }


        /* =========================================
           NAGŁÓWEK KATEGORII
        ========================================= */

        .category-header {
            max-width: 750px;

            margin: 0 auto 50px;

            text-align: center;
        }

        .category-label {
            color: #aa8c59;

            font-size: 11px;

            letter-spacing: 3px;

            text-transform: uppercase;

            margin-bottom: 10px;
        }

        .category-title {
            font-family: 'Cormorant Garamond', serif;

            font-size: 52px;

            font-weight: 500;

            line-height: 1.1;

            color: #292825;

            margin-bottom: 15px;
        }

        .category-description {
            color: #77736d;

            font-size: 14px;

            font-weight: 300;

            line-height: 1.8;
        }


        /* =========================================
           WÓZKI
        ========================================= */

        #wozki {
            scroll-margin-top: 90px;
        }


        /* =========================================
           SIATKA
        ========================================= */

        .product-grid {
            display: grid;

            grid-template-columns: repeat(4, 1fr);

            gap: 28px;

            max-width: 1500px;

            margin: 0 auto;
        }


        /* =========================================
           KARTA
        ========================================= */

        .product-card {
            position: relative;

            background: #ffffff;

            border: 1px solid #e2ded6;

            overflow: hidden;

            cursor: pointer;

            transition:
                transform 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease;
        }

        .product-card:hover {
            transform: translateY(-8px);

            border-color: #cdb98c;

            box-shadow:
                0 18px 40px rgba(0, 0, 0, 0.12);
        }


        /* =========================================
           ZDJĘCIE
        ========================================= */

        .product-image {
            position: relative;

            width: 100%;

            aspect-ratio: 1 / 1;

            overflow: hidden;

            background: #eae7e1;
        }

        .product-image img {
            width: 100%;
            height: 100%;

            object-fit: cover;

            display: block;

            transition:
                transform 0.7s ease,
                filter 0.5s ease;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);

            filter: brightness(0.55);
        }


        /* =========================================
           OPIS PO NAJECHANIU
        ========================================= */

        .product-hover-description {
            position: absolute;

            left: 0;
            right: 0;
            bottom: 0;

            padding: 24px 20px;

            background:
                rgba(35, 34, 32, 0.91);

            color: #eeeae2;

            text-align: center;

            font-size: 12px;

            line-height: 1.7;

            transform: translateY(100%);

            opacity: 0;

            transition:
                transform 0.45s ease,
                opacity 0.45s ease;
        }

        .product-card:hover
        .product-hover-description {
            transform: translateY(0);

            opacity: 1;
        }


        /* =========================================
           INFORMACJE PRODUKTU
        ========================================= */

        .product-info {
            padding: 22px 20px 25px;

            text-align: center;
        }

        .product-number {
            color: #aa8c59;

            font-size: 10px;

            letter-spacing: 2px;

            margin-bottom: 7px;
        }

        .product-name {
            font-family: 'Cormorant Garamond', serif;

            font-size: 27px;

            font-weight: 600;

            color: #302e2a;
        }


        /* =========================================
           POWIĘKSZENIE PRODUKTU
        ========================================= */

        .product-modal {
            position: fixed;

            inset: 0;

            z-index: 9999;

            display: flex;

            align-items: center;

            justify-content: center;

            padding: 30px;

            background: rgba(20, 19, 17, 0.82);

            opacity: 0;

            visibility: hidden;

            pointer-events: none;

            transition:
                opacity 0.3s ease,
                visibility 0.3s ease;
        }

        .product-modal.active {
            opacity: 1;

            visibility: visible;

            pointer-events: auto;
        }

        .product-modal-content {
            position: relative;

            width: min(1000px, 94vw);

            max-height: 92vh;

            overflow: auto;

            display: grid;

            grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);

            background: #ffffff;

            box-shadow:
                0 30px 80px rgba(0, 0, 0, 0.35);

            transform: translateY(25px) scale(0.97);

            transition: transform 0.3s ease;
        }

        .product-modal.active .product-modal-content {
            transform: translateY(0) scale(1);
        }

        .product-modal-image {
            min-height: 520px;

            background: #eae7e1;
        }

        .product-modal-image img {
            width: 100%;

            height: 100%;

            min-height: 520px;

            object-fit: contain;

            display: block;

            background: #eae7e1;
        }

        .product-modal-info {
            padding: 55px 45px;

            display: flex;

            flex-direction: column;

            justify-content: center;
        }

        .product-modal-number {
            color: #aa8c59;

            font-size: 11px;

            letter-spacing: 3px;

            margin-bottom: 12px;
        }

        .product-modal-title {
            font-family: 'Cormorant Garamond', serif;

            font-size: 46px;

            line-height: 1.05;

            font-weight: 600;

            color: #302e2a;

            margin-bottom: 22px;
        }

        .product-modal-description {
            color: #66625c;

            font-size: 15px;

            line-height: 1.9;

            font-weight: 300;
        }

        .product-modal-close {
            position: absolute;

            top: 14px;

            right: 16px;

            z-index: 2;

            width: 42px;

            height: 42px;

            border: 0;

            border-radius: 50%;

            background: rgba(255, 255, 255, 0.92);

            color: #302e2a;

            font-size: 27px;

            line-height: 1;

            cursor: pointer;

            box-shadow:
                0 5px 15px rgba(0, 0, 0, 0.12);
        }

        .product-modal-close:hover {
            background: #302e2a;

            color: #ffffff;
        }

        body.modal-open {
            overflow: hidden;
        }

        @media (max-width: 850px) {
            .product-modal {
                padding: 15px;
            }

            .product-modal-content {
                grid-template-columns: 1fr;

                width: min(700px, 96vw);

                max-height: 94vh;
            }

            .product-modal-image,
            .product-modal-image img {
                min-height: 0;

                height: 55vh;

                max-height: 520px;
            }

            .product-modal-info {
                padding: 30px 25px 35px;
            }

            .product-modal-title {
                font-size: 38px;
            }
        }

        /* =========================================
           REGATY
        ========================================= */

        .regaty-section {
            padding:
                100px
                6%
                110px;

            background: #efede8;

            scroll-margin-top: 90px;
        }


        /* =========================================
           O NAS
        ========================================= */

        .about-section {
            background: #252421;

            color: #eeeae2;

            padding: 110px 6%;
        }

        .about-container {
            max-width: 950px;

            margin: 0 auto;

            text-align: center;
        }

        .about-label {
            color: #d2b77c;

            font-size: 11px;

            letter-spacing: 3px;

            text-transform: uppercase;

            margin-bottom: 12px;
        }

        .about-title {
            font-family: 'Cormorant Garamond', serif;

            color: #f3f0e9;

            font-size: 50px;

            font-weight: 500;

            line-height: 1.1;

            margin-bottom: 20px;
        }

        .about-container p {
            color: #c4c0b8;

            font-size: 14px;

            line-height: 2;

            font-weight: 300;
        }


        /* =========================================
           KONTAKT
        ========================================= */

        .contact-section {
            padding: 100px 6%;

            background: #f7f5f1;

            scroll-margin-top: 90px;
        }

        .contact-header {
            max-width: 700px;

            margin: 0 auto 50px;

            text-align: center;
        }

        .contact-label {
            color: #aa8c59;

            font-size: 11px;

            letter-spacing: 3px;

            text-transform: uppercase;

            margin-bottom: 10px;
        }

        .contact-title {
            font-family: 'Cormorant Garamond', serif;

            font-size: 50px;

            font-weight: 500;

            line-height: 1.1;

            margin-bottom: 15px;
        }

        .contact-description {
            color: #77736d;

            font-size: 14px;

            font-weight: 300;
        }

        .contact-container {
            max-width: 1200px;

            margin: 0 auto;

            display: grid;

            grid-template-columns: repeat(4, 1fr);

            gap: 25px;
        }

        .contact-box {
            text-align: center;

            padding: 35px 20px;

            background: #ffffff;

            border: 1px solid #e1ddd5;

            transition:
                transform 0.3s ease,
                box-shadow 0.3s ease;
        }

        .contact-box:hover {
            transform: translateY(-5px);

            box-shadow:
                0 10px 25px rgba(0, 0, 0, 0.08);
        }

        .contact-icon {
            font-size: 24px;

            color: #b49a6c;

            margin-bottom: 12px;
        }

        .contact-box h3 {
            font-family: 'Cormorant Garamond', serif;

            font-size: 25px;

            font-weight: 600;

            margin-bottom: 10px;
        }

        .contact-box p {
            color: #77736d;

            font-size: 13px;

            line-height: 1.7;
        }


        /* =========================================
           STOPKA
        ========================================= */

        footer {
            background: #232220;

            color: #a9a59e;

            text-align: center;

            padding: 30px 20px;

            border-top:
                1px solid rgba(210, 183, 124, 0.2);
        }

        footer strong {
            color: #d2b77c;

            font-family: 'Cormorant Garamond', serif;

            font-size: 20px;

            font-weight: 500;
        }

        footer p {
            font-size: 11px;

            margin-top: 7px;

            letter-spacing: 0.5px;
        }

        .privacy-policy {
            max-width: 850px;

            margin: 25px auto 0;

            padding-top: 20px;

            border-top:
                1px solid rgba(210, 183, 124, 0.2);

            text-align: left;
        }

        .privacy-policy h3 {
            color: #d2b77c;

            font-family: 'Cormorant Garamond', serif;

            font-size: 20px;

            font-weight: 500;

            margin: 0 0 12px;

            text-align: center;
        }

        .privacy-policy p {
            font-size: 12px;

            line-height: 1.7;

            margin: 8px 0;

            letter-spacing: 0;

            color: #a9a59e;
        }

        .privacy-policy a {
            color: #d2b77c;

            text-decoration: underline;
        }

        .privacy-policy a:hover {
            color: #ffffff;
        }


        /* =========================================
           TABLET
        ========================================= */

        @media (max-width: 1100px) {

            .navbar {
                padding: 0 4%;
            }

            .menu {
                gap: 18px;
            }

            .product-grid {
                grid-template-columns: repeat(3, 1fr);
            }

        }


        /* =========================================
           MAŁY LAPTOP / TABLET
        ========================================= */

        @media (max-width: 850px) {

            .navbar {
                min-height: 75px;

                flex-direction: column;

                padding: 15px 20px;

                gap: 12px;
            }

            .menu {
                flex-wrap: wrap;

                justify-content: center;

                gap: 12px 20px;
            }

            .hero {
                padding-top: 175px;
            }

            .product-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .contact-container {
                grid-template-columns: 1fr;
            }

        }


        /* =========================================
           TELEFON
        ========================================= */

        @media (max-width: 550px) {

            .logo {
                font-size: 24px;
            }

            .menu {
                gap: 10px 15px;
            }

            .menu a {
                font-size: 10px;
            }

            .language-label {
                font-size: 10px;
            }

            .goog-te-gadget .goog-te-combo {
                min-width: 85px;

                padding: 6px 7px;

                font-size: 10px;
            }

            .hero {
                min-height: 570px;

                padding:
                    165px
                    20px
                    70px;
            }

            .hero h1 {
                font-size: 48px;
            }

            .hero p {
                font-size: 13px;
            }

            .products-section {
                padding:
                    65px
                    20px
                    75px;
            }

            .category-title {
                font-size: 42px;
            }

            .product-grid {
                grid-template-columns: 1fr;

                gap: 20px;
            }

            .regaty-section {
                padding:
                    70px
                    20px
                    80px;
            }

            .about-section {
                padding:
                    75px
                    20px;
                ;
            }

            .about-title {
                font-size: 42px;
            }

            .contact-section {
                padding:
                    70px
                    20px
                    80px;
            }

            .contact-title {
                font-size: 42px;
            }

            .product-hover-description {
                padding: 20px 15px;

                font-size: 11px;
            }

        }
