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

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html {
    font-size: 16px;
}

h1 {
    font-size: 2rem;
}

/* 32px */
p {
    font-size: 1rem;
}

/* 16px */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

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;
    margin-top: 2px;
}

.hero {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.hero-text-flex {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 40px;
}

.hero-text-flex h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 3rem;
    line-height: 1.2;
    color: white;
    text-align: center;
    margin: 0 auto;
}

.hero-text-flex p {
    font-size: 2rem;
    font-weight: 100;
    font-style: normal;
    color: white;
}

@media (max-width: 1200px) {
    .hero-container {
        height: 100%;
    }

    .hero {
        min-height: 600px;
    }

    .hero-text-flex {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-text-flex {
        padding: 30px 20px;
    }

    .hero-text-flex h1 {
        font-size: 2rem;
    }

    .hero-text-flex p {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }
}

.divider-image-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    transform: translateY(50%);
    pointer-events: none;
}

.divider-image-container img {
    pointer-events: auto;
}

.divider-image {
    max-width: 40%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .divider-image {
        max-width: 70%;
    }
}

@media (max-width: 480px) {
    .divider-image {
        max-width: 70%;
    }
}

/* Staty */
/* Główna sekcja statystyk */
.stats-section {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    padding: 60px 0;
}

.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: 4rem;
    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: 3.5rem;
    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-section {
        padding: 20px 0;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

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

    .stat-number {
        font-size: 3rem;
    }

    .stat-unit {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .stats-section {
        padding: 20px 0;
    }
}

/* 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;
}


/* Global Section */

.image-container {
    flex: 1;
    position: relative;
    background-image: url('img/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;
}

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

@media (max-width: 768px) {
    .image-container {
        min-height: 400px;
        flex: none;
    }

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

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

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


}


/* Challenges Section */

.challenges-section {
    font-family: 'Poppins', sans-serif;
    display: flex;
    background-color: #e3e4e4;
    overflow: hidden;
}

.challenges-image {
    background-image: url('img/IMG_1474.JPG');
    background-size: cover;
    background-position: center calc(0% - 50px);
    ;
}

.challenges-section .content-container {
    background-color: #e3e4e4;
    color: #333333;
}

.challenges-section h2 {
    font-size: 2.3rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    color: #333333;
}

.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('img/x_www.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

.challenges-section .cta-container {
    margin-top: 40px;
    text-align: left;
    position: relative;
}

.cta-text-challenge {
    font-size: 1.5rem;
    font-weight: 300;
    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);
}

/* Responsywność */
@media (max-width: 768px) {
    .challenges-section {
        flex-direction: column;
    }

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

    .challenges-list {
        margin-bottom: 40px;
    }

    .challenges-section 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;
    }
}

@media (max-width: 480px) {
    .challenges-image {
        min-height: 300px;
        background-position: center -20px;
    }

    .challenges-section 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;
    }
}

/* plate Section */
.plate-section {
    position: relative;
    background-color: #000;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.plate-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    height: auto;
    z-index: 1;
}

.plate-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.plate-text-box {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url('img/ooij.png');
    padding: 20px;
    max-width: 350px;
}

.plate-text-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.plate-subtitle {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .plate-section {
        min-height: 500px;
    }

    .plate-image {
        max-width: 800px;
    }

    .plate-text-box {
        max-width: 250px;
    }

    .plate-text-box p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .plate-section {
        min-height: 400px;
    }

    .plate-image {
        max-width: 700px;
    }

    .plate-text-box p {
        font-size: 0.75rem;
    }
}




/* Branding Section */

.branding-section {
    font-family: 'Poppins', sans-serif;
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.content-container {
    background-color: #e3e4e4;
    color: #333333;
}

.benefits-image {
    background-image: url('img/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;
    /* color: #333333; */
    background-image: url('img/ooo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%);
}

.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: #333333;
    font-weight: 200;
    letter-spacing: 0.01em;
}

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

.branding-section h2 {
    font-size: 2.3rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    color: #333333;
}

.cta-text {
    font-size: 2.5rem;
    color: #333333;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

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

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

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

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

    .svg-icon {
        width: 24px;
        height: 24px;
        margin-right: 15px;
    }

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

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

    .benefit-list {
        margin-bottom: 40px;
    }

    .benefit-header {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

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

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

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

    .branding-section .image-container {
        display: none;
    }

    .benefits-image {
        min-height: 300px;
    }

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

    .branding-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

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

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

/* Footer */
.footer {
    background-color: #fafafa;
    padding: 10px;
    border-top: 2px solid #000;
    font-family: 'Poppins', sans-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;
    }
}