@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

@font-face {
    font-family: 'Braxton';
    src: url('../fonts/Braxton.otf') format('opentype');
}

/* Luxury Color Tokens & Variables */
:root {
    --primary: #111111;
    --primary-light: #222222;
    --accent: #002e7f;          /* Deep Royal Blue */
    --accent-hover: #001f5c;    /* Darker Royal Blue */
    --bg-light: #f4f7fc;        /* Light Ice Blue Cream */
    --bg-white: #ffffff;
    --text-dark: #2c2c2c;
    --text-muted: #71717a;
    --border-color: rgba(0, 46, 127, 0.12);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --border-radius: 4px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.8;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Headings */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin: 20px 0;
    letter-spacing: 0.05em;
}

h1 { font-size: 46px; line-height: 1.2; }
h2 { font-size: 36px; line-height: 1.3; }
h3 { font-size: 26px; line-height: 1.4; }

strong {
    font-weight: 700;
    color: var(--primary);
}

/* Navigation Header */
#sp-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    height: 90px;
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo-link img {
    height: 52px;
    transition: var(--transition);
    display: block;
}

.logo-link .logo-black {
    display: block;
}

.logo-link .logo-white {
    display: none;
}

/* Menu Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 12px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 16px;
    border-radius: var(--border-radius);
    display: block;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link i {
    font-size: 11px;
    margin-left: 3px;
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--primary);
    list-style: none;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    z-index: 99;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-link {
    color: rgba(255, 255, 255, 0.75) !important;
    display: block;
    padding: 10px 24px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.dropdown-link:hover {
    background-color: var(--primary-light);
    color: var(--accent) !important;
}

/* Fixed Header State on Scroll */
#sp-header.menu-fixed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#sp-header.menu-fixed .logo-link img {
    height: 38px;
}

#sp-header.menu-fixed .nav-link {
    color: var(--primary);
}

#sp-header.menu-fixed .nav-link:hover {
    color: var(--accent);
}

#sp-header.menu-fixed .hamburger span {
    background-color: var(--primary);
}

/* Mobile Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Off-canvas menu (mobile) */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--primary);
    z-index: 1005;
    padding: 60px 24px 24px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.offcanvas-menu.active {
    right: 0;
}

.close-offcanvas {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #ffffff;
    font-size: 24px;
    transition: var(--transition);
}

.close-offcanvas:hover {
    color: var(--accent);
}

.offcanvas-nav {
    list-style: none;
    margin-top: 20px;
}

.offcanvas-item {
    margin-bottom: 12px;
}

.offcanvas-link {
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas-link:hover {
    color: var(--accent);
}

.offcanvas-dropdown {
    list-style: none;
    padding-left: 15px;
    margin-top: 8px;
    border-left: 1px solid rgba(197, 168, 128, 0.2);
}

.offcanvas-dropdown-link {
    color: #a1a1aa;
    font-size: 13px;
    text-transform: uppercase;
    display: block;
    padding: 6px 0;
    letter-spacing: 0.04em;
}

.offcanvas-dropdown-link:hover {
    color: var(--accent);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Floating Facebook Badge */
.facebook-fixed-badge {
    position: fixed;
    right: 0;
    top: 120px;
    z-index: 999;
    transition: var(--transition);
}

.facebook-fixed-badge:hover {
    transform: translateX(-5px);
}

.facebook-fixed-badge img {
    width: 46px;
    display: block;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.15);
}

/* Layout wrappers */
.body-wrapper {
    margin-top: 90px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Homepage Slideshow Hero */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 38vw;
    min-height: 360px;
    overflow: hidden;
    background-color: #111111;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; /* Prevent scaling image from showing outside the bounds */
}

.mySlides::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s linear;
}

/* Ken Burns effect: triggers zoom on the active slide */
.mySlides[style*="display: block"] img {
    animation: kenBurns 5.2s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.animtext {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.animtext h1 {
    font-family: 'Cormorant Garamond', serif;
    color: #ffffff; /* Premium white */
    font-size: 58px;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-style: italic;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.animtext p {
    font-family: 'Braxton', cursive;
    font-size: 40px;
    color: #e2c9a9 !important; /* Elegant warm champagne gold for the sun/beauty tagline */
    margin-top: 15px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.dotscontainer {
    text-align: center;
    position: absolute;
    bottom: 25px;
    width: 100%;
    z-index: 10;
}

.dot {
    height: 9px;
    width: 9px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.3);
}

/* Fading animation */
.fade-anim {
    animation-name: fadeEffect;
    animation-duration: 2.2s;
}

@keyframes fadeEffect {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* Info Section (Homepage) */
.nasza-dzialalnosc-section {
    background-color: var(--bg-white);
    margin: -70px auto 40px auto;
    position: relative;
    z-index: 20;
    max-width: 900px;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.nasza-dzialalnosc-section h3 {
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
}

.nasza-dzialalnosc-section p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.nasza-dzialalnosc-section p:last-child {
    margin-bottom: 0;
}

/* Three Boxes (Wybor Module) */
.wybor-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 40px 0 0 0;
    border-top: 1px solid var(--border-color);
}

.wybor-box {
    width: 33.333%;
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.wybor-box.ad1 { background-image: url('../images/products/woman-3083379_640.jpg'); }
.wybor-box.ad2 { background-image: url('../images/products/pan2.jpg'); }
.wybor-box.ad3 { background-image: url('../images/products/rzym3.jpg'); }

.wybor-box .ciem {
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wybor-box:hover .ciem {
    background-color: rgba(26, 26, 26, 0.75);
}

.wybor-box .tekst {
    color: #ffffff;
    font-size: 32px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
}

.wybor-box:hover .tekst {
    transform: scale(1.05);
    color: var(--accent);
    border-color: var(--accent);
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h3 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 42px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
    margin: 20px 0;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
    transform: translateY(-2px);
}

/* Call to Action Section with Background Image (Luxury styling) */
.cta-section.with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 90px 20px;
    color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 1;
}

.cta-section.with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.7); /* Dark semi-transparent overlay for text contrast */
    z-index: -1;
}

.cta-section.with-bg h3 {
    color: #ffffff !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cta-section.with-bg h3:last-child {
    font-size: 16px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #99beff !important;
    margin-top: 15px;
}

/* Oferta Grid (Oferta Page) */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.oferta-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.oferta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.oferta-card-img {
    height: 230px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary);
}

.oferta-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05);
    transition: var(--transition);
}

.oferta-card:hover .oferta-card-img::after {
    background: rgba(0,0,0,0.25);
}

.oferta-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.oferta-card:hover .oferta-card-img img {
    transform: scale(1.06);
}

.oferta-card-content {
    padding: 24px;
    text-align: center;
}

.oferta-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.oferta-card-link {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.oferta-card:hover .oferta-card-link {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* Product Detail Pages */
.product-motto-container {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
    z-index: 1;
}

.product-motto-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.45); /* Dark overlay for text readability */
    z-index: -1;
}

.product-motto {
    font-family: 'Braxton', cursive;
    text-align: right;
    color: #ffffff;
    font-size: 42px;
    font-weight: normal;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
}

.product-content-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 0.05em;
}

.product-gallery {
    width: 100%;
    max-width: 650px;
    margin-bottom: 40px;
}

.gallery-expanded-container {
    width: 100%;
    height: 420px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
}

.gallery-expanded-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.gallery-thumbs-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.gallery-thumb-item {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 3px;
    background-color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.gallery-thumb-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

.product-description {
    width: 100%;
    max-width: 800px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.product-description p {
    margin-bottom: 20px;
}

.product-description ul {
    margin-left: 20px;
    margin-bottom: 25px;
    list-style-type: square;
    color: var(--accent);
}

.product-description li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.free-measurement-notice {
    font-weight: 700;
    color: var(--primary);
    margin-top: 30px;
    font-size: 15px;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 34px;
    color: var(--accent);
    margin-bottom: 18px;
}

.contact-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-card p, .contact-card a {
    font-size: 15px;
    color: var(--text-dark);
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-layout-bottom {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-info-block, .contact-map-block {
    width: 50%;
    padding: 0 15px;
}

.contact-map-block iframe {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color) !important;
}

/* Footer Section */
#sp-bottom {
    background-color: var(--primary);
    color: #ffffff;
    padding: 70px 0 30px 0;
    font-size: 14px;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-widget-col {
    width: 50%;
    padding-right: 40px;
}

.footer-widget-col:last-child {
    padding-right: 0;
}

.footer-widget-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

.footer-contact-links {
    list-style: none;
}

.footer-contact-links li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.footer-contact-links i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 46, 127, 0.25);
    border: 1px solid rgba(153, 190, 255, 0.2);
    color: #99beff; /* Bright sky blue for maximum readability on dark background */
    font-size: 13px;
    margin-right: 12px;
    transition: var(--transition);
    flex-shrink: 0; /* Prevent the circle from squeezing on wrapping text */
}

.footer-contact-links li:hover i {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 46, 127, 0.6);
    transform: scale(1.1) translateY(-1px);
}

.footer-contact-links a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid transparent;
}

.footer-contact-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

#sp-footer {
    background-color: #0c0c0c;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.stopimage {
    display: block;
    opacity: 0.8;
    transition: var(--transition);
}

/* Donatex Logo in footer */
.footer-bottom-container a img.stopimage[src*="logo"] {
    height: 35px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.12));
}
.footer-bottom-container a img.stopimage[src*="logo"]:hover {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

/* Facebook Icon in footer */
.footer-bottom-container a img.stopimage[src*="facebook"] {
    height: 24px;
    width: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 7px;
    box-sizing: content-box;
    background: rgba(255, 255, 255, 0.04);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.08));
}
.footer-bottom-container a img.stopimage[src*="facebook"]:hover {
    opacity: 1;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    filter: drop-shadow(0 0 8px rgba(0, 46, 127, 0.6));
    transform: translateY(-2px);
}

/* Scroll Animations CSS */
.reveal-on-scroll {
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Responsiveness */
@media (max-width: 991px) {
    .header-container {
        padding: 10px 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .product-text-col, .product-gallery-col {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .product-gallery-col {
        margin-bottom: 0;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-block, .contact-map-block {
        width: 100%;
    }
    
    .contact-map-block {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .wybor-box {
        width: 100%;
        height: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widget-col {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .footer-widget-col:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .animtext h1 {
        font-size: 30px;
    }
    
    .nasza-dzialalnosc-section {
        margin-top: -40px;
        padding: 30px 20px;
    }
    
    .product-content-wrapper {
        padding: 25px 20px;
    }
    
    .product-text-col h1 {
        font-size: 32px;
    }
    
    .gallery-expanded-container {
        height: 280px;
    }
}

/* Hide common cookie consent popups loaded dynamically via GTM */
#CookieConsent, 
#CookiebotConsentBanner, 
#cookie-script-consent, 
.cookie-script-container, 
#onetrust-consent-sdk, 
.cmplz-cookiebanner, 
.cc-window, 
.cc-banner, 
.qc-cmp2-container, 
#ccc, 
#cookie-law-info-bar, 
.cli-modal,
#hs-eu-cookie-confirmation,
#eu-cookie-barrier,
.cookie-bar,
.cookie-notice,
#cookie-notice,
.cookie-consent,
#cba-cookies-notice,
.cba-cookies,
.ch2,
.ch2-container,
.ch2-dialog,
.ch2-block,
.ch2-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Force scrollability on html and body to override third-party locks */
html, body {
    overflow: auto !important;
    overflow-x: hidden !important;
    position: static !important;
    height: auto !important;
}
