.scrapbook-section {
    padding: 50px 0 1px;
    background-color: #ffffff;
    /* Clean white background */
    overflow: visible !important;
}

.book-wrapper {
    position: relative;
    max-width: 950px;
    margin: 3rem auto;
}

.book {
    position: relative;
    width: 100%;
    height: 550px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    padding: 60px 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-page.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.page-content {
    position: relative;
    height: 100%;
}

/* Day Number Accent */
.day-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--brand-forest);
    font-weight: 800;
    opacity: 0.6;
    position: absolute;
    top: -30px;
    right: -20px;
    line-height: 1;
    pointer-events: none;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-title i {
    color: var(--brand-forest);
    font-style: italic;
}

.page-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.journal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journal-list li {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
}

.journal-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--brand-forest);
    font-size: 0.9rem;
}

/* New Itinerary Content Styles */
.day-subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.itinerary-badge-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.itinerary-badge {
    background: #e0a92a;
    color: #1a1a1a;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Polished Polaroid */
.polaroid {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #fff;
    padding: 10px 10px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: rotate(3deg);
    width: 240px;
    z-index: 10;
    border-radius: 2px;
    transition: transform 0.4s ease;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.03);
}

.polaroid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.polaroid span {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: #555;
    display: block;
    text-align: center;
    margin-top: 15px;
}

.p1 {
    bottom: 20px;
    right: 30px;
    transform: rotate(-3deg);
}

.p2 {
    bottom: 20px;
    right: 30px;
    transform: rotate(5deg);
}

.p3 {
    bottom: 20px;
    right: 30px;
    transform: rotate(-2deg);
}

.p4 {
    bottom: 20px;
    right: 30px;
    transform: rotate(4deg);
}

.p5 {
    bottom: 20px;
    right: 30px;
    transform: rotate(-4deg);
}

.p6 {
    bottom: 20px;
    right: 30px;
    transform: rotate(2deg);
}

/* Scrapbook Elements */
.washi-tape {
    position: absolute;
    width: 100px;
    height: 30px;
    background: rgba(145, 159, 14, 0.4);
    top: 10px;
    left: 40px;
    transform: rotate(-15deg);
    opacity: 0.6;
}

.t2 {
    background: rgba(255, 94, 94, 0.4);
    top: auto;
    bottom: 20px;
    right: 100px;
}

.t3 {
    background: rgba(0, 109, 109, 0.4);
    top: 50px;
    right: 50px;
}

.ribbon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #126353;
    /* Updated to brand color */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 80%, 0% 100%);
    top: -10px;
    right: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Nav */
.book-nav {
    display: flex;
    justify-content: flex-end;
    /* Bottom right */
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
    padding-right: 20px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: #d4d4d4;
    /* Premium light gray */
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.nav-btn:hover {
    background: #c0c0c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.nav-btn svg {
    stroke: #fff;
}

.page-counter {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .book {
        height: auto;
        min-height: 600px;
    }

    .book-page {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .book-wrapper {
        padding: 0 10px;
        margin: 1.5rem auto;
    }

    .book {
        height: 650px;
        /* Fixed height for single screen fit */
        min-height: 650px;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .book-page {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        background: transparent;
        transition: opacity 0.5s ease;
    }

    .book-page.active {
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        z-index: 10;
    }

    .page-content {
        background: #fff;
        padding: 25px 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
    }

    .day-number {
        position: relative;
        top: 0;
        right: 0;
        font-size: 1.1rem;
        color: var(--brand-forest);
        opacity: 1;
        font-weight: 800;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 2px;
        order: -1;
    }

    .page-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }

    .page-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .journal-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-left: 24px;
    }

    .polaroid {
        position: relative;
        width: 100%;
        max-width: 100%;
        bottom: 0;
        right: 0;
        margin-top: auto;
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        padding: 8px 8px 25px;
    }

    .polaroid img {
        height: 160px;
    }

    .polaroid span {
        font-size: 1.1rem;
        margin-top: 10px;
    }

    .p1,
    .p2,
    .p3,
    .p4,
    .p5,
    .p6 {
        top: auto;
        bottom: auto;
        right: auto;
        left: auto;
    }

    .book-nav {
        margin-top: 1rem;
        justify-content: center;
        padding-right: 0;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }
}