/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background-attachment: fixed;
    transition: background-image 0.3s ease;
}

/* Dark Mode (default) - ciemne tło */
body.dark-mode {
    color: white;
    background: url('background-dark.jpg') center center/cover no-repeat;
}

/* Light Mode - jasne tło */
body.light-mode {
    color: #333;
    background: url('background-light.jpg') center center/cover no-repeat;
}

.container {
    position: relative;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Mobile First */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.header-logo {
    width: auto;
}

/* Main Content - Mobile First */
.main-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    gap: 60px;
}

.content-left {
    flex: 1;
    position: relative;
    text-align: center;
}

.large-text {
    position: relative;
}

.text-line {
    font-size: 48px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -1px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.text-line:first-child {
    margin-top: 0;
}

.overlay-rectangle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 1;
}

.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

/* Wspólne style dla obu trybów */
.simple-text h2 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 15px;
}

.simple-text p {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 10px;
}

.simple-text p a {
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Dark Mode - tylko kolory */
body.dark-mode .simple-text h2,
body.dark-mode .simple-text p,
body.dark-mode .simple-text p a {
    color: white;
}

body.dark-mode .simple-text p a:hover {
    color: #ccc;
}

/* Light Mode - tylko kolory */
body.light-mode .simple-text h2,
body.light-mode .simple-text p,
body.light-mode .simple-text p a {
    color: #333;
}

body.light-mode .simple-text p a:hover {
    color: #666;
}

.cta-section {
    width: 100%;
    margin-top: 20px;
}

/* Wspólne style dla CTA button */
.simple-text .cta-button {
    display: inline-block;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.simple-text .cta-button:hover {
    transform: translateY(-2px);
}

/* Dark Mode - jasny button na ciemnym tle (tylko kolory) */
body.dark-mode .simple-text .cta-button {
    background: white;
    color: #333;
}

body.dark-mode .simple-text .cta-button:hover {
    background: #f0f0f0;
    color: #333;
}

/* Light Mode - ciemny button na jasnym tle (tylko kolory) */
body.light-mode .simple-text .cta-button {
    background: #333;
    color: #fff;
}

body.light-mode .simple-text .cta-button:hover {
    background: #555;
    color: #fff;
}


/* Tablet and Desktop Responsive */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .header {
        padding: 25px 0;
    }

    .main-content {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 80px 0;
    }

    .content-left {
        flex: 1;
        padding: 65px 0;
        padding-right: 40px;
        border-right: 1px solid white;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .content-right {
        flex: 1;
        padding-left: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: left;
    }

    .text-line {
        font-size: 54px;
    }

    .simple-text h2 {
        font-size: 20px;
    }

    .simple-text p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }

    .header {
        padding: 30px 0;
    }

    .text-line {
        font-size: 80px;
    }

    .content-left {
        padding-right: 50px;
    }

    .content-right {
        padding-left: 50px;
    }

    .simple-text p {
        font-size: 18px;
    }

    .overlay-rectangle {
        width: 50px;
        height: 150px;
    }
}

@media (min-width: 1200px) {
    .text-line {
        font-size: 82px;
    }
}
