/* css-components.css - KOMPONENTY TREŚCI - Sebolazty ADV */

/* --- HERO CAROUSEL --- */
.hero-carousel { margin-top: var(--header-height); position: relative; width: 100%; height: 600px; overflow: hidden; background-color: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease-in-out; display: flex; align-items: center; justify-content: center; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.slide-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }
.slide-content { position: relative; z-index: 10; text-align: center; color: #fff; max-width: 800px; padding: 0 20px; }
.slide-content h1 { font-size: 3.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; }
.carousel-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--sebo-yellow); width: 30px; border-radius: 10px; }

/* --- INTRO SECTION --- */
.intro-text-section { padding: 100px 0; background-color: #242424; text-align: center; }
.intro-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; text-align: left; }
.intro-text-section h2 { font-size: 2.8rem; font-weight: 800; text-transform: uppercase; color: #ffffff; margin-bottom: 30px; text-align: center; }
.intro-text-section p { font-size: 1.2rem; line-height: 1.8; color: #ffffff; margin: 0; }
.signature { display: block; margin-top: 30px; text-align: right; font-family: 'Alex Brush', cursive; font-size: 2.5rem; color: #ffffff; }

/* --- COUNTDOWN --- */
.countdown-section { background-color: #111; color: #fff; padding: 30px; text-align: center; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.countdown-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.countdown-section h3 { text-transform: uppercase; font-weight: 800; font-size: 1.4rem; margin-bottom: 5px; color: var(--sebo-yellow); letter-spacing: 1px; }
.countdown-trip-name { display: block; font-size: 1.1rem; margin-bottom: 35px; opacity: 0.7; font-weight: 600; text-transform: uppercase; }
.countdown-timer { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.timer-item { background: #1a1a1a; border: 1px solid #333; padding: 20px; min-width: 110px; border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.timer-value { display: block; font-size: 2.8rem; font-weight: 800; color: var(--sebo-yellow); line-height: 1; margin-bottom: 8px; }
.timer-label { text-transform: uppercase; font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; opacity: 0.5; }

/* --- GRID WYPRAW (TOURS) --- */
.content-wrapper { padding: 80px 0; background-color: var(--sebo-white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 40px 30px; }
.tour-card { background: #fff; border: 1px solid var(--sebo-border); display: flex; flex-direction: column; transition: 0.3s ease-in-out; position: relative; }
.tour-card:hover { transform: translateY(-5px); border-color: #000; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.image-wrapper { position: relative; height: 250px; overflow: hidden; }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.badge-date { position: absolute; top: 20px; left: 20px; background: #fff; padding: 10px 15px; border: none; z-index: 2; text-align: center; }
.badge-date .date-label { display: block; font-size: 10px; font-weight: 700; color: #666; margin-bottom: 3px; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-date .date-val { font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--sebo-black); }
.tour-viewing-badge { position: absolute; bottom: 12px; right: 12px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 11px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: 0.02em; max-width: calc(100% - 24px); box-sizing: border-box; }
.tour-viewing-pulse { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); animation: tour-viewing-pulse 2s ease-out infinite; }
.tour-viewing-text { text-align: left; }
@keyframes tour-viewing-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.tour-meta { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--sebo-border); padding: 15px 5px; justify-content: space-around; font-size: 12px; font-weight: 700; color: #444; background: #fafafa; }
.tour-body { padding: 35px 30px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.tour-title { font-size: 19px; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.tour-excerpt { font-size: 14px; line-height: 1.6; color: #666; margin-bottom: 25px; text-align: center; }
.tour-price { font-size: 26px; font-weight: 800; margin-top: auto; padding-bottom: 15px; color: var(--sebo-black); }
.price-prefix { font-size: 14px; font-weight: 800; color: var(--sebo-yellow); margin-right: 8px; letter-spacing: 1px; }

.tour-actions { display: flex; padding: 0 30px 35px 30px; gap: 15px; }
.btn { flex: 1; text-align: center; text-decoration: none; text-transform: uppercase; font-size: 12px; font-weight: 700; padding: 16px 5px; transition: 0.3s; border: 2px solid #000; cursor: pointer; outline: none; }
.btn-outline { color: #000; background: transparent; border: 1px solid #999; }
.btn-outline:hover { background: #000; color: #fff; border-color: #000; }
.btn-filled { background: #1a1a1a; color: #fff; }
.btn-filled:hover { background: var(--sebo-yellow); border-color: var(--sebo-yellow); color: #000; }
.btn-filled:disabled { background: #ccc !important; border-color: #ccc !important; color: #666 !important; cursor: not-allowed; }

/* --- PHOTO GALLERY --- */
.photo-gallery-section { padding: 20px 0 40px 0; background-color: #f9f9f9; text-align: center; }
.photo-gallery-section h2 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; color: #000; margin-bottom: 40px; }
.photo-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-img-wrapper { position: relative; height: 180px; overflow: hidden; cursor: pointer; border-radius: 4px; }
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-hover-icon { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 204, 0, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s ease; }
.gallery-hover-icon i { color: #fff; font-size: 30px; }
.gallery-img-wrapper:hover img { transform: scale(1.1); }
.gallery-img-wrapper:hover .gallery-hover-icon { opacity: 1; }

/* --- ABOUT US (ZGODNIE Z TWOIM PARAMETREM: PADDING 20PX) --- */
.about-us-section { 
    padding: 20px 0; 
    background-color: #1a1a1a; 
    color: #ffffff; 
    text-align: center; 
}
.about-us-section h2 { font-size: 2.8rem; font-weight: 800; text-transform: uppercase; color: #ffffff; margin-bottom: 30px; }
.about-author-img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin: 0 auto 30px auto; display: block; border: 4px solid var(--sebo-yellow); }
.about-text { max-width: 900px; margin: 0 auto; line-height: 1.8; font-size: 1.1rem; text-align: left; }

/* --- VIDEO BACKGROUND --- */
.video-background-section { width: 100vw !important; position: relative; left: 50% !important; right: 50% !important; margin-left: -50vw !important; margin-right: -50vw !important; height: 450px; background: #000; overflow: hidden; margin: 0; }
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.video-container iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 450px;
    min-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.3);
}
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; background: rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; }
.video-overlay h2 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; margin: 0; }
.video-overlay p { font-size: 1.2rem; margin: 10px 0 25px; opacity: 0.9; }
.btn-yt-link { background: var(--sebo-yellow); color: #000; text-decoration: none; padding: 15px 30px; border-radius: 4px; font-weight: 800; text-transform: uppercase; transition: 0.3s; }
.btn-yt-link:hover { transform: scale(1.05); }

/* --- COOKIES BANNER --- */
.cookie-banner { position: fixed; bottom: -150px; left: 0; width: 100%; background: #1a1a1a; color: #fff; padding: 20px 0; z-index: 5000; box-shadow: 0 -5px 20px rgba(0,0,0,0.3); transition: bottom 0.5s ease-in-out; }
.cookie-banner.active { bottom: 0; }
.cookie-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cookie-container p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.8); }
.btn-cookie { background: var(--sebo-yellow); color: #000; border: none; padding: 10px 25px; font-weight: 800; text-transform: uppercase; font-size: 12px; cursor: pointer; border-radius: 4px; white-space: nowrap; transition: 0.3s; }
.btn-cookie:hover { transform: scale(1.05); }

/* --- RWD COMPONENTS --- */
@media (max-width: 1024px) { .photo-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .lightbox-nav { font-size: 30px; padding: 10px; } .nav-prev { left: 5px; } .nav-next { right: 5px; } }
@media (max-width: 768px) {
    .hero-carousel { margin-top: 0; }
    body.page-home .hero-carousel { margin-top: var(--header-height); }
    .video-background-section { height: 300px; }
    .video-overlay h2 { font-size: 1.5rem; }
    .video-overlay p { font-size: 1rem; }
    .cookie-container { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) { .photo-gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-img-wrapper { height: 150px; } }