@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Base & Reusable Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    top: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 15px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1F8D4F;
}

.nav-link .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 5px;
}

.social-media {
    display: flex;
    gap: 20px;
}

.social-media a {
    font-size: 1.2rem;
    color: #555;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #1F8D4F;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 15px;
    padding: 10px 0;
    list-style: none;
    width: 200px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    top: 120%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
    color: #1F8D4F;
}

/* === NOWE STYLE DLA MENU MOBILNEGO (ukryte na desktopie) === */
.hamburger {
    display: none;
    z-index: 1002;
}
.mobile-sidebar {
    display: none;
}
.mobile-overlay {
    display: none;
}

/* --- E-book Hero Section --- */
.ebook-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

.slider-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: start;
    gap: 24px;
    position: relative;
    max-width: 700px;
}

.slider-thumbnails {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
    align-self: start;
    justify-self: start;
}

/* KONTENER MINIATURY - prostokątny szary kontener */
.thumb {
    width: 100px;
    height: 120px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    background-color: #e8e8e8;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.thumb:hover {
    transform: scale(1.05);
}

.thumb.active {
    border-color: #1F8D4F;
    background-color: #d4d4d4;
}

/* OBRAZEK W MINIATURZE */
.thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    transition: transform 0.3s ease;
}

.slider-main {
    position: relative;
    width: 580px;
    height: 580px;
    border-radius: 15px;
    background-color: #e8e8e8;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 20px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: transparent;
    display: none;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Kontener dla napisu DARMOWE i przycisku */
.price-download-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.price-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    margin: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
}

/* --- Tabs Section --- */
.tabs-section {
    padding: 100px 20px;
}

.tabs-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-link {
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #e0e0e0;
    color: #555;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-link:hover {
    background-color: #d0d0d0;
}

.tab-link.active {
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    color: #fff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-opis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.opis-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    margin-top: 20px;
}

.opis-text ul {
    list-style: none;
    padding-left: 0;
}

.opis-text li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
    text-align: left;
}

.opis-text li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.srodek-list {
    list-style: none;
    padding: 0;
}

.srodek-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.srodek-list i {
    font-size: 2rem;
    margin-top: 5px;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
}

/* IKONA KETTLEBELL Z GRADIENTEM */
.kettlebell-icon {
    width: 32px;
    height: 32px;
    margin-top: 5px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-mask: url('../NoweZdjęcia/Kettlebell.svg') no-repeat center;
    mask: url('../NoweZdjęcia/Kettlebell.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* --- FAQ Styles --- */
.faq-accordion { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.faq-item { 
    background-color: #ffffff; 
    border-radius: 10px; 
    border: 1px solid #eee; 
}

.faq-question { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-family: 'Poppins', sans-serif; 
    font-size: 1.1rem; 
    font-weight: 500; 
    text-align: left; 
    color: #333; 
}

.faq-question i { 
    font-size: 1.2rem; 
    transition: transform 0.1s ease;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.01s ease, padding 0.1s ease;
}

.faq-answer p { 
    padding: 0 20px 0 20px; 
    font-size: 0.95rem; 
    color: #555; 
    line-height: 1.8; 
}

.faq-item.active .faq-question i { 
    transform: rotate(45deg); 
}

.faq-item.active .faq-answer { 
    max-height: 500px; 
    padding-bottom: 20px;
    transition: max-height 0.1s ease, padding 0.1s ease;
}

/* --- Contact/Footer Section --- */
.contact-section {
    padding: 100px 20px;
    color: #f9f9f9;
    background-color: #333;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.newsletter-side h3, .contact-info-side h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.newsletter-side p, .contact-info-side p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #555;
    background-color: #444;
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: #ccc;
}

.newsletter-form .btn {
    align-self: flex-start;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-social-media {
    display: flex;
    gap: 25px;
}

.footer-social-media a {
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-social-media a:hover {
    color: #1F8D4F;
}

.custom-svg {
    height: 750px;
    width: 500px;
}

/* Nowe style dla grafiki SVG */
.opis-iphone {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Etykieta nad tytułem: Wersja cyfrowa */
.digital-label {
    display: inline-block;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Strzałki nawigacyjne slidera */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: none;
    padding: 10px;
}

.slider-nav:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: none;
}

.slider-nav i {
    font-size: 2rem;
    color: #666;
    font-weight: 900;
    transition: color 0.3s ease;
}

.slider-nav:hover i {
    color: #333;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* =========================
   FOOTER - DESKTOP
   ========================= */
.footer-main {
    background-color: #2a2a2a;
    color: #e0e0e0;
    padding: 40px 50px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #444;
}

.footer-contact {
    text-align: left;
}

.footer-contact p {
    margin: 8px 0;
}

.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #1F8D4F;
}

.footer-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    justify-content: center;
}

.footer-social-link:hover {
    color: #1F8D4F;
}

.footer-social-link i {
    font-size: 1.1rem;
}

.footer-links {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1F8D4F;
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding-top: 15px;
    margin-top: 30px;
    color: #999;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}