/* Reset CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { /* Base font size for easier scaling */ font-size: 100%; } /* =16px by default */
body { margin: 0; font-family: Arial, sans-serif; background-color: #1a1a1a; color: white; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 20px; overflow-y: auto; 
    /* Base font size using CSS variable */
    font-size: calc(1rem * var(--font-scale, 1)); /* Default scale 1 */
    line-height: 1.6; /* Improve base line height */
    transition: font-size 0.2s ease-in-out; /* Smooth font scaling */
}
body.modal-active { overflow: hidden; }

/* Layout */
.centered-container { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; min-height: 100vh; width: 100%; max-width: 1200px; margin: 0 auto; padding: 80px 20px 80px 20px; position: relative; box-sizing: border-box; }

/* Logo */
.logo-container { display: flex; justify-content: center; margin: 40px 0 20px 0; width: 100%; transition: all 0.3s ease; position: relative; z-index: 1; }
.logo { width: 160px; height: 160px; background: transparent; border-radius: 10px; padding: 5px; transition: all 0.3s ease; }
.logo img { width: 100%; height: 100%; object-fit: contain; }

/* --- Accessibility Font Size Controls --- */
.accessibility-controls {
    position: absolute; /* Or fixed if needed */
    top: 20px;
    right: 200px; /* Adjust position as needed, maybe next to language? */
    display: flex;
    gap: 5px;
    z-index: 1100; /* Above other elements */
    background: rgba(35, 35, 35, 0.7);
    border-radius: 20px;
    padding: 4px;
    backdrop-filter: blur(5px);
}
.accessibility-controls button {
    background: transparent;
    border: none;
    color: white;
    padding: 4px 8px;
    font-size: 16px; /* Fixed size for controls */
    line-height: 1;
    cursor: pointer;
    border-radius: 15px;
    transition: background-color 0.2s ease;
    font-weight: bold;
}
.accessibility-controls button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.accessibility-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#font-decrease { font-size: 14px; /* Smaller 'a' */ }
#font-increase { font-size: 18px; /* Larger 'A' */ }

/* Base Button Style */
.button-common { padding: 10px 18px; border-radius: 30px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s ease; background: rgba(35, 35, 35, 0.85); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); color: white; letter-spacing: 0.5px; /* Removed font-size here */ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); cursor: pointer; white-space: nowrap; z-index: 100; }
.button-common:hover { background: rgba(55, 55, 55, 0.95); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.2); }
.button-common svg { width: 18px; height: 18px; fill: #D4AF37; }

/* Gift Card Button (Top Left) */
.top-left-button { position: absolute; top: 20px; left: 20px; }
/* Top Right Buttons Container */
.top-buttons { position: absolute; top: 20px; right: 20px; display: flex; gap: 15px; z-index: 100; width: auto; }
.top-buttons .whatsapp-button, .top-buttons .book-button { position: static; } 
/* Apply common style to all buttons */
.whatsapp-button, .book-button, .gift-card-button { /* Inherit from .button-common or re-apply */ padding: 10px 18px; border-radius: 30px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s ease; background: rgba(35, 35, 35, 0.85); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); color: white; letter-spacing: 0.5px; /* font-size removed */ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); cursor: pointer; white-space: nowrap; z-index: 100; font-size: calc(0.875rem * var(--font-scale, 1)); /* Example scaling */ }
.whatsapp-button:hover, .book-button:hover, .gift-card-button:hover { background: rgba(55, 55, 55, 0.95); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.2); }
.whatsapp-button svg, .book-button svg, .gift-card-button svg { width: 18px; height: 18px; fill: #D4AF37; }

/* Language Selector */
.language-selector { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 1000; background: rgba(35, 35, 35, 0.7); border-radius: 30px; padding: 5px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); backdrop-filter: blur(5px); }
.language-button { display: flex; align-items: center; gap: 5px; background: transparent; border: none; color: #fff; padding: 5px 10px; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; outline: none; font-size: calc(0.8rem * var(--font-scale, 1)); /* Scale lang button text */ }
.language-button:hover { background: rgba(255, 255, 255, 0.1); }
.language-button.active { background: rgba(255, 255, 255, 0.2); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.flag { width: 20px; height: 14px; background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); display: inline-block; }
.flag-pl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Crect width='8' height='5' fill='%23fff'/%3E%3Crect width='8' height='2.5' y='2.5' fill='%23dc143c'/%3E%3C/svg%3E"); }
.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v30H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%2300247d'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23cf142b' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23cf142b' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 4'%3E%3Cpath fill='%23c60b1e' d='M0 0h6v4H0z'/%3E%3Cpath fill='%23ffc400' d='M0 1h6v2H0z'/%3E%3C/svg%3E"); }

/* Social media icons */
.social-icons { display: flex; gap: 15px; align-items: center; justify-content: center; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; padding: 0 40px; box-sizing: border-box; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: transform 0.2s ease, background-color 0.2s ease; background-color: rgba(35, 35, 35, 0.85); backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.social-icon:hover { transform: translateY(-3px) scale(1.1); background: rgba(55, 55, 55, 0.95); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.2); }
.social-icon svg { width: 20px; height: 20px; fill: #D4AF37; }

/* Filmstrip component */
.filmstrip-container { position: relative; background: #333; padding: 20px 0; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); overflow: hidden; width: 100%; max-width: 1200px; margin: 20px auto; border-radius: 10px; box-sizing: border-box; }
.filmstrip { 
    display: flex; 
    gap: 10px; 
    padding: 0 10px; 
    min-width: min-content; 
    width: fit-content; 
    margin: 0 auto; 
    box-sizing: border-box; 
    overflow-x: auto;  /* Allow native scroll */
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; 
    touch-action: pan-x pinch-zoom; /* Allow horizontal pan, disable vertical pan during swipe */
    /* Remove transform for smoother native scroll? Test this */
    /* transition: transform 0.3s ease; */ 
}
.filmstrip::-webkit-scrollbar { display: none; }
/* .filmstrip { -ms-overflow-style: none; scrollbar-width: none; } */
.filmstrip-item { flex: 0 0 auto; width: 120px; height: 200px; background: #222; border: 3px solid #444; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4); cursor: pointer; scroll-snap-align: start; }
.filmstrip-item img, .filmstrip-item video { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; position: absolute; top: 0; left: 0; }
.filmstrip-item img { z-index: 2; opacity: 1; }
.filmstrip-item video { z-index: 1; opacity: 0; pointer-events: none; }
.filmstrip-item.auto-previewing video { opacity: 1; z-index: 3; }
.filmstrip-item.auto-previewing img { opacity: 0; z-index: 2; }

/* Filmstrip Buttons */
.filmstrip-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.7); color: white; border: none; font-size: 24px; padding: 10px; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 100; border-radius: 50%; transition: background-color 0.2s ease; }
.filmstrip-button.left { left: 10px; }
.filmstrip-button.right { right: 10px; }
.filmstrip-button:disabled,
.filmstrip-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.4);
}


.filmstrip-button:hover { background: rgba(255, 255, 255, 0.2); }
@media (min-width: 769px) { .filmstrip-button { display: none; } } 
@media (max-width: 768px) { 
    .filmstrip-button { display: flex; width: 35px; height: 35px; font-size: 20px; }
    .filmstrip-button.left { left: 5px; }
    .filmstrip-button.right { right: 5px; }
    .filmstrip { width: 100%; padding: 0 50px; scroll-snap-type: none; touch-action: pan-x pinch-zoom; } /* Ensure pan-x for mobile touch */
}

/* Navigation & Menu */
.main-navigation { width: 100%; max-width: 1200px; margin: 15px auto; background: rgba(51, 51, 51, 0.9); border-radius: 10px; padding: 10px 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.nav-menu { display: flex; justify-content: center; list-style: none; gap: 20px; }
.nav-item { display: inline-block; position: relative; }
.nav-link { color: white; text-decoration: none; padding: 10px 15px; display: block; transition: all 0.3s ease; border-radius: 5px; cursor: pointer; font-size: calc(1.25rem * var(--font-scale, 1)); /* Scale nav links */ }
.nav-link:hover { background: rgba(255, 255, 255, 0.1); }
.nav-link.active { background: rgba(255, 255, 255, 0.15); font-weight: bold; }

/* Modal Styles */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); z-index: 1000; justify-content: center; align-items: center; padding: 20px; overflow-y: auto; cursor: pointer; }
.modal-overlay.active { display: flex; }
.modal-inner { background: #333; color: white; width: 90%; max-width: 700px; max-height: 85vh; overflow-y: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); position: relative; padding: 30px 35px; line-height: 1.7; cursor: default; font-size: calc(1rem * var(--font-scale, 1)); /* Scale modal text */ }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #aaa; font-size: 28px; line-height: 1; cursor: pointer; padding: 5px; transition: color 0.2s ease; z-index: 1010; }
.modal-close:hover { color: white; }
#info-modal .modal-title { margin: 0 0 25px 0; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; font-size: calc(1.625rem * var(--font-scale, 1)); /* Scale title */ }
#info-modal .modal-content { font-size: calc(1rem * var(--font-scale, 1)); /* Ensure content scales */ }
#info-modal .modal-content img { max-width: 100%; height: auto; margin: 15px auto; display: block; border-radius: 5px; }
#info-modal .modal-content h2 { 
    color: #D4AF37; 
    margin-top: 20px; 
    margin-bottom: 10px; 
    font-size: calc(1.25rem * var(--font-scale, 1));
}

#info-modal .modal-content h3 { 
    color: #D4AF37; 
    margin-top: 16px; 
    margin-bottom: 8px; 
    font-size: calc(1.15rem * var(--font-scale, 1));
}
#info-modal .modal-content p { margin-bottom: 15px; font-size: inherit; /* Inherit from .modal-inner */ }
#info-modal .modal-content ul { list-style: none; padding-left: 0; margin-bottom: 15px; }
#info-modal .modal-content li { padding-left: 20px; position: relative; margin-bottom: 8px; }
#info-modal .modal-content li::before { content: "•"; color: #D4AF37; position: absolute; left: 0; font-size: calc(1.125rem * var(--font-scale, 1)); line-height: 1; }
#info-modal .modal-content table { width: 100%; margin-top: 20px; border-collapse: collapse; }
#info-modal .modal-content td { padding: 10px 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
#info-modal .modal-content tr:last-child td { border-bottom: none; }
#info-modal .modal-content strong { color: #D4AF37; }
#modal .modal-inner { max-width: 900px; background: black; padding: 0; overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 16 / 9; max-height: 90vh; }

#modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 20px;
    width: 100%;
    background: #222;
    color: #fff;
    font-size: 1rem;
    flex-direction: row; /* zawsze w jednej linii */
  }
  
  #modal .modal-header .phone-number {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    outline: none;
    flex: 1 1 0;
    text-align: left;
    min-width: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  #modal .modal-header .phone-number:hover,
  #modal .modal-header .phone-number:focus {
    color: #D4AF37;
    text-decoration: underline;
  }
  #modal .modal-header .phone-number svg {
    width: 18px;
    height: 18px;
    fill: #D4AF37;
    vertical-align: middle;
    margin-right: 7px;
  }
  
  #modal .modal-header .whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: transparent;
    border: 2px solid #8B6A2B; /* brązowy border */
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(212,175,55,0.07);
    min-width: 0;
    flex: 0 0 auto;
    justify-content: center;
  }
  #modal .modal-header .whatsapp-button:hover,
  #modal .modal-header .whatsapp-button:focus {
    background: rgba(212,175,55,0.10);
    color: #fff;
    border-color: #D4AF37;
    box-shadow: 0 4px 16px rgba(212,175,55,0.18);
  }
  #modal .modal-header .whatsapp-button svg {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    fill: #D4AF37; /* złoty akcent */
    flex-shrink: 0;
  }
  #modal .modal-header .whatsapp-button span {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
  }
  
  /* Responsywność: zawijaj tylko na bardzo wąskich ekranach */
  @media (max-width: 400px) {
    #modal .modal-header {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      text-align: center;
    }
    #modal .modal-header .phone-number {
      justify-content: center;
      text-align: center;
    }
    #modal .modal-header .whatsapp-button {
      margin-left: 0;
      justify-content: center;
    }
  }
  


#modal .modal-content-area { position: relative; width: 100%; flex-grow: 1; background: black; display: flex; justify-content: center; align-items: center; overflow: hidden; }
#modal video { display: block; width: 100%; height: 100%; object-fit: contain; }
#modal .modal-close { top: 10px; right: 10px; color: rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.5); border-radius: 50%; width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; font-size: 24px; padding: 0; } 
#modal .modal-close:hover { color: white; background: rgba(0, 0, 0, 0.8); }
#modal .modal-footer .signature { opacity: 0.8; }
#modal .modal-footer .signature object { width: 150px; height: 45px; display: block; }

/* Text animation */
.typing-container { text-align: center; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.4; position: relative; margin: 30px 0 10px 0; width: 100%; max-width: 800px; min-height: 4.2em; font-size: calc(clamp(1.5rem, 4vw, 2rem) * var(--font-scale, 1)); /* Scale typing text */ }
.line { display: block; white-space: normal; overflow: hidden; position: relative; height: 1.4em; margin-bottom: 10px; text-align: center; }
.line .text { display: inline-block; visibility: hidden; vertical-align: bottom; }
.line.typing .text, .line.finished .text { visibility: visible; }
.line .cursor { display: none !important; } 
.typing-end-dot { color: gold; display: inline-block; margin-left: 1px; font-weight: bold; opacity: 0; transition: opacity 0.3s ease; vertical-align: bottom; }
.typing-end-dot.visible { opacity: 1; }

/* Signature */
.main-signature { display: block; width: 200px; height: 60px; margin: 10px auto 0 auto; opacity: 0; transform: translateY(20px); transition: opacity 0.8s 0.2s ease-out, transform 0.8s 0.2s ease-out, visibility 0s linear 1s; visibility: hidden; }
.main-signature.visible { opacity: 1; transform: translateY(0); visibility: visible; transition-delay: 0s, 0s, 0s; }
.main-signature object { display: block; width: 100%; height: 100%; }

/* Responsywność */
@media (max-width: 768px) {
    body { padding: 10px; }
    .centered-container { padding-top: 40px; padding-bottom: 180px; min-height: 100vh; }
    
    /* Mobile Button Positioning */
    .button-common { position: fixed; z-index: 101; padding: 8px 14px; /* font-size removed */ } 
    .button-common svg { width: 16px; height: 16px; }
    .whatsapp-button, .book-button, .gift-card-button { font-size: calc(0.8125rem * var(--font-scale, 1)); /* 13px base scaled */ }
    .top-left-button { position: fixed; top: auto; bottom: 70px; left: 15px; } 
    .top-buttons { position: fixed; top: auto; bottom: 70px; right: 15px; left: auto; flex-direction: column; align-items: flex-end; transform: none; z-index: 101; gap: 10px; width: auto; } 
    .top-buttons .whatsapp-button, .top-buttons .book-button { position: static; }

    /* Mobile Logo & Lang Selector */
    .logo-container { margin-top: 40px; margin-bottom: 15px; }
    .language-selector { top: -25px; padding: 3px; }
    .language-button { padding: 4px 8px; /* font-size removed */ font-size: calc(0.75rem * var(--font-scale, 1)); /* 12px base scaled */ }
    .flag { width: 18px; height: 12px; }
    .logo { width: 120px; height: 120px; }
    
    /* Mobile Accessibility Controls */
    .accessibility-controls { top: 10px; right: 10px; /* Adjust position */ }
    
    /* Mobile Social Icons */
    .social-icons { padding: 10px 15px; bottom: 0; left: 0; transform: none; position: fixed; z-index: 101; width: 100%; justify-content: center; background: rgba(26, 26, 26, 0.9); backdrop-filter: blur(4px); box-sizing: border-box; }
    .social-icon { width: 36px; height: 36px; }
    .social-icon svg { width: 18px; height: 18px; }
    
    /* Mobile Typing & Signature */
    .typing-container { position: relative; bottom: auto; left: auto; transform: none; width: 100%; text-align: center; margin-top: 20px; padding: 0 10px; box-sizing: border-box; /* font-size scaled via body */ min-height: 4.2em; }
    .line {     height: auto;
    min-height: 1.4em;
    overflow: visible;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; }
    .main-signature { width: 150px; height: 50px; margin: 15px auto 0 auto; }
    
    /* Mobile Filmstrip */
    .filmstrip-item { width: 100px; height: 160px; }
    .filmstrip-container { padding: 15px 0; max-width: 100%; margin: 15px auto; }
    .filmstrip { width: 100%; padding: 0 50px; overflow-x: auto; scroll-snap-type: none; touch-action: pan-x pinch-zoom; } 
    .filmstrip-button { display: flex; width: 35px; height: 35px; font-size: 20px; } 
    .filmstrip-button.left { left: 5px; }
    .filmstrip-button.right { right: 5px; }
    
    /* Mobile Nav */
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 10px 15px; }
    .nav-link { /* font-size removed */ padding: 8px 12px; font-size: calc(1rem * var(--font-scale, 1)); /* 16px base scaled */ }
    .main-navigation { margin-top: 10px; padding: 8px 15px; }
    
    /* Mobile Modals */
    .modal-overlay { padding: 10px; }
    .modal-inner { width: 95%; max-height: 90vh; /* Font size scaled via body */ }
    #info-modal .modal-inner { padding: 25px 20px; }
    #info-modal .modal-title { /* font-size removed */ font-size: calc(1.375rem * var(--font-scale, 1)); /* 22px base scaled */ }
    #info-modal .modal-content { /* font-size removed */ font-size: calc(0.9375rem * var(--font-scale, 1)); /* 15px base scaled */ }
    #modal .modal-inner { max-width: 100%; max-height: 90vh; aspect-ratio: auto; }
    #modal .modal-header, #modal .modal-footer { padding: 10px 15px; flex-direction: column; align-items: center; gap: 8px; text-align: center; /* Font size scaled via body */}
    #modal .modal-header .phone-number { font-size: 14px; /* Keep fixed? Or scale? */ }
    #modal .modal-header .buttons { width: 100%; justify-content: center; }
    #modal .modal-footer .signature object { width: 120px; height: 36px; }
    #modal video { max-height: calc(90vh - 120px); } 
    #modal .modal-close { top: 5px; right: 5px; width: 30px; height: 30px; font-size: 20px; } 

    /* === Existing CSS Rules Above === */

/* Filmstrip component */

.filmstrip {
    display: flex;
    gap: 10px;
    padding: 0 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
  }

.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip { -ms-overflow-style: none; scrollbar-width: none; }
.filmstrip-item { /* ... existing styles ... */ flex: 0 0 auto; width: 120px; height: 200px; background: #222; border: 3px solid #444; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4); cursor: pointer; scroll-snap-align: start; }
.filmstrip-item img, .filmstrip-item video { /* ... existing styles ... */ width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; position: absolute; top: 0; left: 0; }
.filmstrip-item img { z-index: 2; opacity: 1; }
.filmstrip-item video { z-index: 1; opacity: 0; pointer-events: none; }
.filmstrip-item.auto-previewing video { opacity: 1; z-index: 3; }
.filmstrip-item.auto-previewing img { opacity: 0; z-index: 2; }

/* Filmstrip Buttons */
@media (min-width: 769px) { .filmstrip-button { display: none; } } 
@media (max-width: 768px) { 
    .filmstrip-button { display: flex; width: 35px; height: 35px; font-size: 20px; }
    .filmstrip-button.left { left: 5px; }
    .filmstrip-button.right { right: 5px; }
    /* Update mobile filmstrip padding/width */
    .filmstrip { width: 100%; padding: 0 50px; scroll-snap-type: none; touch-action: pan-x pinch-zoom; } 
}

/* Kontener na telefon i WhatsApp */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
  }
  
  /* Zapewnia, że oba elementy mogą się zmniejszać na mobile */
  .contact-row .phone-number,
  .contact-row .whatsapp-button {
    min-width: 0;
    flex: 1 1 auto;
  }
  
  /* Zapobiega zbyt wczesnemu zawijaniu na szerszych mobile */
  @media (max-width: 480px) {
    .contact-row {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }
  }



}