:root {
    --primary-color: #0d9488; /* Bardziej premium odcień zieleni / morskiego (teal) */
    --primary-dark: #0f766e;
    --accent-color: #fbbf24;
    --text-color: #111827;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.65;
    background-color: var(--bg-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animations (Scroll Reveal) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card.fade-in.visible:nth-child(1) { transition-delay: 0.1s; }
.product-card.fade-in.visible:nth-child(2) { transition-delay: 0.2s; }
.product-card.fade-in.visible:nth-child(3) { transition-delay: 0.3s; }

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
    font-weight: 400;
}

.section {
    padding: 7rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: white;
}

.bg-dark h2, .bg-dark p {
    color: white;
}

.bg-dark .subtitle {
    color: #9ca3af;
}

/* Brands Section */
.brands-banner {
    background: #ffffff;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.brands-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9ca3af;
    margin-bottom: 2rem;
    font-weight: 600;
}
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}
.brand-item {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
    cursor: default;
}
.brand-item:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Links & Buttons */
a {
    text-decoration: none;
    color: inherit;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -2px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-contact {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--primary-dark);
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Smuklejszy pasek, dopasowany do ukrytej bieli logotypu */
}

.brand-logo-main {
    height: 60px; /* Czysta wysokość poprawnie skadrowanego logo */
    margin: 0;
    width: auto;
    display: block;
    mix-blend-mode: multiply; /* Neutralizacja ewentualnych białych teł poza marginesami */
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.75rem;
    align-items: center;
}

.nav-shop-link {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}

.nav-shop-link:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -2px rgba(13, 148, 136, 0.3);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
}

/* Hero Section (Split Layout) */
.hero {
    position: relative;
    padding-top: 130px;
    padding-bottom: 70px;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    margin-top: 0;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
    color: var(--text-color);
}

.hero-content h1 {
    font-size: 3.8rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1);
    will-change: opacity, transform;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.slide-1 { background-image: url('assets/slider1.png'); background-position: center 30%; }
.slide-2 { background-image: url('assets/slider2.png'); background-position: center 60%; }
.slide-3 { background-image: url('assets/slider3.png'); }

.hero-watermark {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    height: 38px;
    opacity: 0.5;
    z-index: 2;
}

/* About Section */
.about-grid {
    display: flex;
    justify-content: center;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* PRZEPROJEKTOWANO KAFELKI - PREMIUM + BRANDING */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.03);
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative; /* Wymagane dla logo/watermarku wewnątrz */
}

/* WATERMARK / LOGO BADGE na karcie produktu */
.brand-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.brand-badge img {
    height: 32px;
    width: auto;
    display: block;
    opacity: 0.95;
}

.card-body {
    padding: 2.25rem;
}

.card-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
}

.card-body p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Baner Promocyjny wklejony ponizej dla miksu */
.banner-insert {
    margin-top: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.banner-insert img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Features (Dlaczego My) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.feature-item {
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-item h4 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.feature-item p {
    color: var(--text-light);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.contact-card h4 {
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.contact-card strong {
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color) !important;
    font-weight: 600;
    margin: 1rem auto;
    font-size: 0.9rem;
    white-space: nowrap;
    background: rgba(13, 148, 136, 0.1);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    transition: all 0.2s;
}

.contact-link:hover {
    text-decoration: none;
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.tel {
    font-size: 0.95rem;
    opacity: 0.7;
}

.company-details {
    text-align: center;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer {
    background-color: #030712;
    color: #4b5563;
    text-align: center;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #030712;
    color: #9ca3af;
    text-align: center;
    padding: 1rem;
    z-index: 1000;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1);
}

.cookie-banner button {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.cookie-banner button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsiveness (Mobile First Approach) */
@media (max-width: 900px) {
    h2 {
        font-size: 2.25rem;
    }
    .hero-content h1 {
        font-size: 3.25rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2.5rem 0;
        box-shadow: var(--shadow);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-watermark {
        bottom: 2rem;
        right: 2rem;
        height: 25px;
        opacity: 0.7;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .brand-logo-main {
        height: 48px; /* Proporcjonalna skala optymalna na małe ekrany */
        margin: 0;
    }
    
    .brands-grid {
        gap: 1.5rem;
        flex-direction: column;
    }

    .section {
        padding: 4.5rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* WIDGETS (WhatsApp & Google Translate) */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #1a1a1a;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.lang-switcher {
    background-color: transparent;
    border-radius: 4px;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
}

#google_translate_element .goog-te-gadget {
    color: transparent !important;
    font-size: 0;
}
#google_translate_element .goog-te-gadget .goog-te-combo {
    background-color: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 40px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}
#google_translate_element .goog-te-gadget .goog-te-combo:hover {
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
}
/* Ukrycie paska Google Translate */
body {
    top: 0 !important;
}
.skiptranslate iframe {
    display: none !important;
}
