
@font-face {
    font-family: 'Helvetica Light';
    src: url('../fonts/helvetica-light.ttf') format('truetype'); 
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-light: #F4F3F0;
    --bg-dark: #212020;  
    --font-text: 'Helvetica Light', sans-serif;
    --font-heading: 'Luxurious Script', cursive;
}
body {
    background-color: var(--bg-dark);
    color: var(--bg-light);
    font-family: var(--font-text);
    font-size: 24px;
    line-height: 1.4;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: normal; 
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(33, 32, 32, 0.95); 
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(244, 243, 240, 0.1); 
}

.desktop-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 80px; 
}

.desktop-menu a {
    color: var(--bg-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 32px; 
    transition: 0.3s;
}

.desktop-menu a:hover {
    opacity: 0.7;
}

.mobile-burger {
    display: none;
}

.desktop-layout {
    display: block;
}

.mobile-layout {
    display: none;
}

.section-prologue {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-light) 100%); 
    padding-top: 150px; 
    overflow: hidden; 
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}
.main-logo {
    width: 100%;
    max-width: 633px; 
    height: auto;
}

.journal-wrapper {
    position: relative;
    width: 100%;
    max-width: 2000px; 
    margin: 0 auto;
    z-index: 5; 
}

.journal-unified-bg {
    width: 100%;
    height: auto;
    display: block;
}

.journal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.page {
    position: absolute;
    color: var(--bg-dark); 
}

.page-left {
    top: 10%;      
    left: 14%;
    width: 32%; 
}

.page-right {
    top: 30%;      
    right: 14%;    
    width: 32%;
}
.script-title {
    font-size: clamp(28px, 3.5vw, 60px);
    margin-bottom: 5px; 
}

.script-subtitle {
    font-size: clamp(20px, 2.5vw, 40px);
    margin-bottom: 10px;
}

.journal-text {
    font-family: var(--font-text);
    font-size: clamp(11px, 0.9vw, 16px); 
    line-height: 1.8; 
    text-align: justify; 
}

.section-mystic {
    width: 100%;
    min-height: 800px;
    /* nie wiem wrócić tu xd */
    background-color: var(--bg-light); 
    padding: 100px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-wrapper {
    display: flex;
    max-width: 1400px;
    width: 100%;
    gap: 50px;
    align-items: center;
}

.text-side { 
    flex: 1; 
    color: var(--bg-dark); 
    z-index: 5; 
}

.image-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    display: block;
}
.deco {
    position: absolute;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.deco:hover {
    transform: scale(1.05) rotate(0deg);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
    z-index: 100 !important;
}

.deco-map
 { width: 350px; top: 100px; left: 50px; z-index: 1; transform: rotate(-5deg); }
.deco-note 
{ width: 300px; top: 50px; right: 20px; z-index: 2; transform: rotate(5deg); }
.deco-flower 
{ width: 150px; top: 10px; left: 20px; z-index: 3; }
.deco-pen { width: 280px; bottom: 80px; right: 50px; z-index: 3; transform: rotate(-20deg); }

.section-protagonists {
    position: relative;
    width: 100%;
    min-height: 1426px; 
    background-color: var(--bg-dark);
    padding: 150px 5% 250px 5%; 
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.protagonists-wrapper {
    width: 100%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    gap: 100px; 
    z-index: 5;
}
.protagonists-header {
    display: flex;
    align-items: flex-end; 
    gap: 20px;
    margin-left: 5%;
}

.protagonists-header {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    gap: 15px; 
    margin-left: 5%;
}

.sub-heading {
    color: var(--bg-light);
    font-family: var(--font-text);
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0; 
}

.characters-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.character-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--bg-light);
}

.elena-card {
    transform: translateY(-30px); 
}

.polaroid {
    width: 100%;
    max-width: 380px;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}


.polaroid:hover {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.char-name {
    font-size: clamp(28px, 3vw, 42px);
    margin: 30px 0 15px 0;
}

.char-desc {
    font-size: 16px;
    line-height: 1.6;
    max-width: 320px;
    color: #e0e0e0; 
}


.bottom-lace {
    position: absolute;
    bottom: 0;
    height: auto;
    max-width: 48%; 
    opacity: 0.8;
    z-index: 1;
}

.lace-left { left: 0; }
.lace-right { right: 0; }

.polaroid {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: grayscale(100%); 
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}
.polaroid:hover {
    transform: scale(1.05) translateY(-10px);
    /* Zdejmujemy szarość (grayscale 0%) i dodajemy mroczny cień */
    filter: grayscale(0%) drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.section-archives {
    width: 100%;
    background-color: var(--bg-dark);
    padding: 100px 0 50px 0; 
    overflow: hidden;
}

.archives-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.archives-title {
    text-align: left;
    color: var(--bg-light);
    font-size: clamp(40px, 5vw, 70px);
    max-width: 1400px; 
    width: 100%;
    margin: 0 auto 50px auto; 
    padding: 0 5%; 
}

.season-info {
    max-width: 1400px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 5%;
    gap: 50px;
}

.season-title-col h3 {
    font-family: var(--font-text);
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--bg-light);
    margin: 0 0 5px 0;
}

.season-title-col h4 {
    font-family: var(--font-text);
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--bg-light);
    margin: 0;
}

.season-desc-col p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

.filmstrip-container {
    width: 100%;
    overflow-x: auto; 
    overflow-y: hidden;
    position: relative;
    background-color: rgba(17, 17, 17, 0.4);
    padding: 15px 0;
    display: flex;
    align-items: center;
    scroll-behavior: smooth; 
}
.filmstrip-container {
    width: 100%;
    overflow-x: auto; 
    overflow-y: hidden;
    position: relative;
    background-color: rgba(17, 17, 17, 0.4);
    padding: 15px 0;
    display: flex;
    align-items: center;
    scroll-behavior: smooth; 
    scrollbar-width: thin; 
    scrollbar-color: #2a2a2a #111111;
}
.filmstrip-container::-webkit-scrollbar {
    height: 10px; 
}

.filmstrip-container::-webkit-scrollbar-track {
    background: #111111; 
}

.filmstrip-container::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}

.filmstrip-container::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
    cursor: pointer;
}

.filmstrip-track {
    display: flex;
    align-items: center; 
    width: max-content;
}

.filmstrip-track img {
    height: 350px; 
    width: auto;
    display: block;
    margin: 0;
}
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.main-footer {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 5%;
}
.footer-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    margin-top: 40px; 
}

.footer-text {
    flex: 1;
    max-width: 600px;
    color: var(--bg-dark);
}
.footer-text .script-title {
    font-size: clamp(40px, 4vw, 65px);
    margin-bottom: 25px;
    line-height: 1.1;
}

.footer-text .journal-text {
    font-size: 18px;
}

.footer-form-container {
    flex: 1;
    max-width: 450px;
    display: flex;
    justify-content: flex-end;
}

.subscribe-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 30px;
}


.email-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--bg-dark); 
    padding: 10px 0;
    font-family: var(--font-text);
    font-size: 18px;
    font-style: italic;
    color: var(--bg-dark);
    outline: none;
    transition: border-width 0.2s ease;
}

.email-input::placeholder {
    color: #a0a0a0;
    font-style: italic;
}
.email-input:focus {
    border-bottom: 2px solid var(--bg-dark); 
}


.submit-btn {
    background-color: #000;
    color: var(--bg-light);
    font-family: var(--font-text);
    font-size: 18px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.submit-btn:hover {
    background-color: #333;
    transform: translateY(-2px); 
}

@media (max-width: 768px) {
    .main-nav{
        padding: 0;
        margin: 0;
    }

    .desktop-menu {
        display: none;
    }
    .mobile-burger {
        display: block; 
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
    }
    .mobile-burger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--bg-light);
        margin-bottom: 6px;
        border-radius: 2px;
    }

    .section-prologue {
        padding-top: 0;
        background: var(--bg-dark);
    }

    .logo-container {
        padding-top: 70px;
        margin-bottom: 20px;
        position: relative;
        z-index: 10;
    }

    .journal-unified-bg {
        display: none; 
    }

    .desktop-layout { display: none; }
    .mobile-layout { display: block; }

    .journal-wrapper {
        display: flex;
        flex-direction: column;
        
        background-image: url('../img/section1bgmobile.png'); 
        background-size: cover; 
        background-position: center top;
        background-repeat: no-repeat;
        padding: 100px 12% 480px 12%; 
    }

    .journal-content {
        position: relative; 
        height: auto;
    }

    .page-mobile {
        position: relative;
        width: 100%;
        color: var(--bg-dark); 
    }

    .mobile-adjusted-text {
        font-size: 15px; 
        line-height: 2.0;
        text-align: justify; 
        color: rgba(0, 0, 0, 0.85); 
    }

    .page-left {
        position: relative;
        width: 100%;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        color: var(--bg-dark);
    }

    .mobile-adjusted-text {
        font-size: 15px; 
        line-height: 1.75; 
        text-align: justify; 
        color: rgba(0, 0, 0, 0.85); 
    }
    .section-mystic {
        padding: 50px 20px;
        min-height: auto;
    }

    .content-wrapper {
        position: relative; 
        display: block;
        width: 100%;
        max-width: 440px;
        min-height: 610px;
        margin: 0 auto;
        text-align: left;
    }

    .text-side.mobile-layout {
        position: relative;
        z-index: 5;
    }
    .mystic-title-mob {
        font-size: 38px; 
        line-height: 1.1;
        max-width: 220px; 
        margin-bottom: 10px;
        text-align: left;
    }

    .mystic-text-top {
        font-size: 15px;
        line-height: 1.4;
        max-width: 50%; 
        margin-bottom: 15px;
        text-align: left !important; 
    }

    .mystic-text-bottom {
        font-size: 15px;
        line-height: 1.4;
        max-width: 95%; 
        text-align: left !important; 
    }

    .section-mystic .image-container {
        position: absolute;
        top: 0;
        right: 0; 
        width: 200px;
        height: 100%;
        margin: 0;
        z-index: 1;
        pointer-events: none; 
    }

    .deco-note { 
        display: none; 
    }
    
   .deco-flower { 
        width: 110px; 
        top: 90px;
        right: 0px; 
        left: auto; 
    }
    
    .deco-map { 
        width: 190px; 
        top: 150px;
        right: -25px; 
        left: auto; 
        transform: rotate(-5deg); 
    }
    
    .deco-pen { 
        width: 140px; 
        top: 200px; 
        right: 15px; 
        left: auto; 
        transform: rotate(-10deg); 
    }

    .protagonists-header {
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
    .characters-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
        
    }
    .elena-card {
        transform: none; 
    }
    .polaroid {
        max-width: 300px;
    }
 
    .polaroid { filter: grayscale(0%); } 

    .archives-wrapper {
        gap: 50px;
    }
    .season-info {
        flex-direction: column; 
        gap: 20px;
        text-align: center;
        align-items: center;
    }
    .season-title-col {
        flex: auto; 
    }
    .filmstrip-track img {
        height: 200px; 
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-top: 0;
    }
    .footer-text {
        max-width: 100%;
    }
    .footer-form-container {
        max-width: 100%;
        justify-content: center;
    }
    .subscribe-form {
        align-items: center;
    }
}
@media (max-width: 768px) {
    .burger-check {
        display: none;
    }

    .desktop-menu {
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(33, 32, 32, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    .burger-check:checked ~ .desktop-menu {
        display: flex;
    }

    .mobile-burger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        z-index: 1001;
    }
}

@media (min-width: 769px) {
    .burger-check, .mobile-burger {
        display: none;
    }
    .desktop-menu {
        display: flex !important;
    }
}
@media (min-width: 769px) {
    .desktop-menu a {
        transition: color 0.3s ease; 
    }

    .desktop-menu a:hover {
        color: #FF0000; 
    }
}
@media (max-width: 768px) {
    .script-title { 
        font-size: 45px;
        line-height: 1.2;
    }
    .protagonists-header .script-title {
        font-size: 45px; 
    }
}
@media (max-width: 768px) {
    .archives-title {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}