/* ============================================
   VINTAGE SCRAPBOOK THEME
   Eski albüm/scrapbook teması
   ============================================ */

/* Tema Renkleri */
:root {
    --scrapbook-primary: #8b7355;
    --scrapbook-secondary: #c9a882;
    --scrapbook-accent: #d4a574;
    --scrapbook-dark: #3e2723;
    --scrapbook-paper: #f5f0e8;
    --scrapbook-tape: rgba(255, 255, 255, 0.6);
}

/* Body Background - Old Paper */
body.scrapbook-theme {
    background: #e8dcc8;
    background-image:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    position: relative;
}

/* Hero Section */
.scrapbook-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.scrapbook-cover {
    max-width: 700px;
    background: var(--scrapbook-paper);
    padding: 4rem 3rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 100px rgba(139, 115, 85, 0.1);
    border: 3px solid var(--scrapbook-primary);
    position: relative;
    transform: rotate(-1deg);
}

.scrapbook-cover::before,
.scrapbook-cover::after {
    content: '';
    position: absolute;
    background: var(--scrapbook-tape);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Washi tape top */
.scrapbook-cover::before {
    top: 20px;
    left: -10px;
    right: -10px;
    height: 40px;
    transform: rotate(-2deg);
}

/* Washi tape bottom */
.scrapbook-cover::after {
    bottom: 20px;
    left: -10px;
    right: -10px;
    height: 40px;
    transform: rotate(1deg);
}

.scrapbook-cover h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    color: var(--scrapbook-primary);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
}

.scrapbook-cover p {
    font-family: var(--font-handwriting);
    font-size: 1.5rem;
    color: var(--scrapbook-dark);
    text-align: center;
}

/* Album Pages */
.album-section {
    padding: 5rem 0;
}

.album-page {
    max-width: 1000px;
    margin: 0 auto 5rem;
    background: var(--scrapbook-paper);
    padding: 4rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.album-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 10px,
            rgba(139, 115, 85, 0.3) 10px,
            rgba(139, 115, 85, 0.3) 20px);
}

.page-title {
    font-family: var(--font-handwriting);
    font-size: 2.5rem;
    color: var(--scrapbook-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Photo Grid */
.scrapbook-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.scrapbook-photo {
    position: relative;
    background: white;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.scrapbook-photo:nth-child(even) {
    transform: rotate(2deg);
}

.scrapbook-photo:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.scrapbook-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: sepia(30%) contrast(1.1);
}

/* Corner decorations */
.scrapbook-photo::before,
.scrapbook-photo::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--scrapbook-accent);
}

.scrapbook-photo::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.scrapbook-photo::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.photo-caption {
    margin-top: 1rem;
    font-family: var(--font-handwriting);
    font-size: 1rem;
    color: var(--scrapbook-dark);
    text-align: center;
}

.photo-date {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Decorative Elements */
.tape-decoration {
    position: absolute;
    background: var(--scrapbook-tape);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tape-horizontal {
    width: 100px;
    height: 30px;
}

.tape-vertical {
    width: 30px;
    height: 100px;
}

/* Stickers */
.sticker {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Handwritten Notes */
.handwritten-note {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    margin: 3rem 0;
    border-left: 3px solid var(--scrapbook-accent);
    font-family: var(--font-handwriting);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--scrapbook-dark);
    position: relative;
}

.handwritten-note::before {
    content: '✎';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
}

/* Ribbon */
.ribbon {
    position: relative;
    background: var(--scrapbook-primary);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ribbon::before,
.ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.ribbon::before {
    left: -20px;
    border-width: 0 0 50px 20px;
    border-color: transparent transparent var(--scrapbook-dark) transparent;
}

.ribbon::after {
    right: -20px;
    border-width: 50px 20px 0 0;
    border-color: var(--scrapbook-dark) transparent transparent transparent;
}

/* Footer */
.scrapbook-footer {
    background: var(--scrapbook-primary);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.scrapbook-footer h2 {
    font-family: var(--font-handwriting);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .scrapbook-cover {
        padding: 3rem 2rem;
    }

    .scrapbook-cover h1 {
        font-size: 2.5rem;
    }

    .album-page {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }

    .scrapbook-photos {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .scrapbook-cover {
        padding: 2rem 1.5rem;
    }

    .scrapbook-cover h1 {
        font-size: 2rem;
    }

    .album-page {
        padding: 2rem 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .handwritten-note {
        font-size: 1.125rem;
        padding: 1.5rem;
    }
}