@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&display=swap');

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
    /* Zapobiega przewijaniu w poziomie */
}

/* Główny kontener nawigacji */
.navigation {
    background-color: #fafafa;
    border-bottom: 2px solid #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

/* Wewnętrzny wrapper */
.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 80px;
}

/* Kontener na linki i linie */
.nav-content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* Logo container */
.logo-container {
    position: relative;
    z-index: 10;
    background-color: #fafafa;
    padding: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    text-decoration: none;
    height: 250px;
}

/* Górne linie wychodzące ze środka logo */
.top-line-left,
.top-line-right {
    position: absolute;
    top: 30px;
    height: 1px;
    background-color: #000;
    z-index: 5;
}

.top-line-left {
    right: 50%;
    left: -1000px;
}

.top-line-right {
    left: 50%;
    right: -1000px;
}

/* Sekcje nawigacji */
.nav-section {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    padding-bottom: 15px;
    position: relative;
}

.nav-left {
    justify-content: space-around;
    padding-right: 80px;
}

.nav-right {
    justify-content: space-around;
    padding-left: 80px;
}

/* Linki nawigacji */
.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: #000;
}

/* Efekt podkreślenia przy hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
    left: 0;
}

.hamburger::after {
    top: 8px;
    left: 0;
}

/* Aktywny hamburger */
.hamburger.active {
    background-color: transparent;
}

.hamburger.active::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.active::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
    display: none;
    position: fixed;
    top: 60px;
    /* wysokość nawigacji mobilnej */
    left: 0;
    width: 100%;
    background-color: #fafafa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #000;
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .nav-link {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.nav-mobile .nav-link:last-child {
    border-bottom: none;
}


/* Responsywność */
@media (max-width: 1200px) {
    .nav-section {
        gap: 25px;
    }

    .nav-left {
        padding-right: 60px;
    }

    .nav-right {
        padding-left: 60px;
    }
}

@media (max-width: 900px) {
    .navigation {
        position: fixed;
        width: 100%;
        top: 0;
    }

    body {
        padding-top: 30px;
        /* kompensacja fixed navigation */
    }

    .content {
        min-height: calc(100vh - 60px);
        /* Adjusting for mobile navigation height */
    }

    .nav-wrapper {
        height: 60px;
    }

    .nav-section {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo {
        font-size: 24px;
    }

    .logo-container {
        padding: 0 40px;
    }

    .line-left,
    .line-right,
    .top-line-left,
    .top-line-right {
        display: none;
    }
}

/* Przykładowa zawartość */
.content {
    background-color: #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.hero-container{
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    display: flex;
    align-items: center;
    /* max-width: 1400px; */
    /* margin:  0 0 0 auto; */
    background: #e8e8e8;
    position: relative;
    flex: 1;
    /* Zajmuje dostępną przestrzeń */
    min-height: 0;
    /* Pozwala na skurczenie się jeśli potrzeba */
}

.hero-text-flex {
    flex: 1;
    padding: 40px;
    margin-left: 200px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.594);
}

.hero-text-flex h1 {
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 1.2;
}

.hero-text-flex p {
    font-family: "Lavishly Yours", cursive;
    font-size: 36px;
    padding-left: 20px;
    font-weight: 400;
    font-style: normal;
}

.hero-image {
    align-self: right;
    flex: 1;
    margin-left: -150px;
    z-index: 5;
    display: flex;
    align-items: stretch;
}

.hero-image img {
    width: 100%;
    height: 100%;
    max-width: 820px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {

    .hero-container{
    height: 100%;
}
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-left: 0;
        margin-top: 40px;
    }

    .hero-text-flex {
        margin-top: -50px;
        margin-left: 0px;
        padding: 40px;
    }

    .hero-text-flex p {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-text-flex {
        padding: 30px 20px;
        min-width: 80%;
    }

    .hero-text-flex h1 {
        font-size: 36px;
    }

    .hero-text-flex p {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hero-text-flex {
        min-width: 300px;
    }

    .hero-text-flex h1 {
        font-size: 24px;
    }

    .hero-text-flex p {
        font-size: 32px;

    }

    .hero-image img {
        max-height: 400px;
    }
}

/* Staty */
/* Główna sekcja statystyk */
.stats-section {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
    /* Nie pozwala na skurczenie się */
    margin-top: auto;
    /* Przesuwa na sam dół */
    padding: 20px 0;
    /* Dodaje padding dla lepszego wyglądu */
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Pojedynczy stat */
.stat-item {
    text-align: center;
    position: relative;
}

/* Główna liczba */
.stat-number {
    font-size: 72px;
    font-weight: 300;
    line-height: 1;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    position: relative;
}

.counter {
    min-width: 2ch;
    /* Minimum width to prevent jumping */
    text-align: center;
}

.character-span-1 {
    min-width: 1ch;
}

/* Jednostka/symbol */
.stat-unit {
    font-size: 36px;
    color: #666;
    margin-left: 5px;
}

/* Opis */
.stat-description {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
    margin-top: 15px;
    font-weight: 400;
}

/* Separator między statystykami */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
}

/* Animacja pojawiania się */
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsywność */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 56px;
    }

    .stat-unit {
        font-size: 28px;
    }

    .stat-description {
        font-size: 16px;
    }
}

/* Dodatkowe style dla różnych wariantów */
.highlight {
    color: #e74c3c;
}

/* Loading animation */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.loading {
    animation: pulse 1.5s infinite;
}


/* Branding Section */
.branding-section {
    font-family: 'Playfair Display', serif;
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.image-container {
    flex: 1;
    position: relative;
    background-image: url('5EB2A8CA-9B1E-4F85-B130-F1877033F037.JPEG');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

/* Overlay gradient dla lepszej czytelności */
.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
}

.content-container {
    flex: 1;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-wrapper {
    max-width: 600px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 50px;
    font-family: 'Playfair Display', Georgia, serif;
}

.description {
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-text {
    font-size: 2.5rem;
    font-style: italic;
    font-family: "Lavishly Yours", cursive;
    color: #ffffff;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

/* Animacja */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* Responsywność */
@media (max-width: 1024px) {
    .content-container {
        padding: 60px 40px;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .cta-text {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .branding-section {
        flex-direction: column;
    }

    .image-container {
        min-height: 400px;
        flex: none;
    }

    .content-container {
        padding: 40px 30px;
        min-height: auto;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        min-height: 300px;
    }

    .content-container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1.5rem;
    }
}


/* Challenges Section */

.challenges-section {
    font-family: 'Playfair Display', serif;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.challenges-list {
    list-style: none;
    margin-bottom: 80px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-left: 0;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.challenge-item:nth-child(1) {
    animation-delay: 0.1s;
}

.challenge-item:nth-child(2) {
    animation-delay: 0.2s;
}

.challenge-item:nth-child(3) {
    animation-delay: 0.3s;
}

.challenge-item:nth-child(4) {
    animation-delay: 0.4s;
}

.challenge-item:nth-child(5) {
    animation-delay: 0.5s;
}

.challenge-item:nth-child(6) {
    animation-delay: 0.6s;
}
.challenge-item:nth-child(7) {
    animation-delay: 0.7s
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.challenge-icon {
    width: 24px;
    height: 24px;
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Jeśli nie masz obrazka points.png, użyj tego SVG jako ikony */
.challenge-icon::before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    background-image: url('x_www.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.challenge-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333333;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.cta-container {
    width: 100vw;
    margin-left: calc(-50vw + 40%);
    margin-top: 80px;
    text-align: right;
    position: relative;
}

.cta-container::before {
    content: " ";
    display: block;
    height: 2px;
    width: 65%;
    position: absolute;
    top: 50%;
    left: 0;
    background: #1a1a1a;
    opacity: 0;
    animation: fadeInUpChallenge 0.8s ease-out 0.6s forwards;
}

.cta-text-challenge {
    font-size: 2.2rem;
    font-style: italic;
    font-family: "Lavishly Yours", cursive;
    color: #1a1a1a;
    opacity: 0;
    animation: fadeInUpChallenge 0.8s ease-out 0.8s forwards;
}

@keyframes fadeInUpChallenge {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect */
.challenge-item {
    transition: transform 0.3s ease;
}

.challenge-item:hover {
    transform: translateX(10px);
}

@media (max-width: 1400px) {
    .cta-container::before {
        display: none;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .challenges-section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .challenge-text {
        font-size: 1.1rem;
    }

    .challenge-icon {
        width: 20px;
        height: 20px;
        margin-right: 15px;
    }

    .challenge-icon::before {
        width: 20px;
        height: 20px;
    }

    .cta-text-challenge {
        font-size: 1.8rem;
    }

    .cta-container {
        width: 100%;
        margin-left: 0;
        margin-top: 50px;
    }


}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .challenge-text {
        font-size: 1rem;
    }

    .challenge-item {
        margin-bottom: 20px;
    }

    .cta-text-challenge {
        font-size: 1.5rem;
    }
}

/* Benefit Section */
.benefits-image{
    background-image: url('IMG_6225.JPG');
    background-size: cover;
    background-repeat: no-repeat;
}

.svg-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url('ooo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.benefit-header{
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.benefit-text{
    font-size: 1.25rem;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 200;
    letter-spacing: 0.01em;
}

.benefit-list {
    list-style: none;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #fafafa;
    padding: 10px;
    border-top: 2px solid #000;
    font-family: 'Playfair Display', serif;
}

.footer-content {
    max-width: 1400px;
    padding-top: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 120px;
}

.footer-right {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    color: #666;
    transition: all 0.3s ease;
    padding: 0px 8px;
    border-radius: 50%;
}

.social-link:hover {
    color: #000;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.footer-line {
    width: 200px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 auto 20px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.legal-link {
    text-decoration: none;
    color: #666;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #000;
}

.footer-copyright {
    font-size: 11px;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Footer Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 30px 20px 20px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .footer-left {
        margin-bottom: 20px;
    }
    
    .footer-right {
        margin-bottom: 15px;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        gap: 12px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-logo img {
        height: 60px;
    }
}


