/* ============================================
   PHOTO COLLAGE THEME
   Polaroid fotoğraf kolajı teması
   ============================================ */

/* Tema Renkleri */
:root {
    --collage-primary: #ff6b9d;
    --collage-secondary: #4ecdc4;
    --collage-accent: #ffe66d;
    --collage-dark: #2c3e50;
    --collage-light: #f7f7f7;
    --collage-wood: #8b7355;
}

/* Body Background - Cork Board */
body.collage-theme {
    background: #d4a574;
    background-image:
        radial-gradient(circle at 20% 50%, transparent 0%, rgba(0, 0, 0, .05) 100%),
        radial-gradient(circle at 80% 80%, transparent 0%, rgba(0, 0, 0, .05) 100%);
    position: relative;
}

body.collage-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, .03) 2px, rgba(0, 0, 0, .03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, .03) 2px, rgba(0, 0, 0, .03) 4px);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section */
.collage-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.collage-hero-content {
    background: white;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
    max-width: 600px;
    position: relative;
}

.collage-hero-content::before {
    content: '📌';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.collage-hero h1 {
    font-family: var(--font-handwriting);
    font-size: 3.5rem;
    color: var(--collage-primary);
    margin-bottom: 1rem;
}

.collage-hero p {
    font-family: var(--font-handwriting);
    font-size: 1.5rem;
    color: var(--collage-dark);
}

/* Polaroid Grid */
.polaroid-section {
    padding: 5rem 0;
    position: relative;
}

.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.polaroid {
    background: white;
    padding: 1rem;
    padding-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Random rotations */
.polaroid:nth-child(1) {
    transform: rotate(3deg);
}

.polaroid:nth-child(2) {
    transform: rotate(-2deg);
}

.polaroid:nth-child(3) {
    transform: rotate(4deg);
}

.polaroid:nth-child(4) {
    transform: rotate(-3deg);
}

.polaroid:nth-child(5) {
    transform: rotate(2deg);
}

.polaroid:nth-child(6) {
    transform: rotate(-4deg);
}

.polaroid:nth-child(7) {
    transform: rotate(3deg);
}

.polaroid:nth-child(8) {
    transform: rotate(-1deg);
}

.polaroid:nth-child(9) {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.1) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

/* Pin effect */
.polaroid::before {
    content: '📌';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.polaroid:hover::before {
    transform: translateX(-50%) scale(1.2);
}

.polaroid-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.polaroid-caption {
    margin-top: 1rem;
    font-family: var(--font-handwriting);
    font-size: 1.125rem;
    color: var(--collage-dark);
    text-align: center;
    min-height: 2rem;
}

/* Sticky Notes Section */
.sticky-notes-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.1);
}

.sticky-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.sticky-note {
    background: var(--collage-accent);
    padding: 2rem;
    min-height: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.sticky-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
}

.sticky-note:nth-child(odd) {
    transform: rotate(-2deg);
    background: #ffe66d;
}

.sticky-note:nth-child(even) {
    transform: rotate(2deg);
    background: #a8e6cf;
}

.sticky-note:nth-child(3n) {
    background: #ffd3b6;
}

.sticky-note:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.sticky-note h3 {
    font-family: var(--font-handwriting);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--collage-dark);
}

.sticky-note p {
    font-family: var(--font-handwriting);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--collage-dark);
}

.sticky-note-date {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-family: var(--font-handwriting);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Washi Tape Decorations */
.washi-tape {
    position: absolute;
    height: 30px;
    background: repeating-linear-gradient(45deg,
            rgba(255, 107, 157, 0.5),
            rgba(255, 107, 157, 0.5) 10px,
            rgba(196, 69, 105, 0.5) 10px,
            rgba(196, 69, 105, 0.5) 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.washi-tape.horizontal {
    width: 200px;
    top: 20%;
    right: 10%;
    transform: rotate(15deg);
}

.washi-tape.vertical {
    width: 30px;
    height: 200px;
    bottom: 30%;
    left: 5%;
    transform: rotate(-10deg);
    background: repeating-linear-gradient(45deg,
            rgba(78, 205, 196, 0.5),
            rgba(78, 205, 196, 0.5) 10px,
            rgba(255, 230, 109, 0.5) 10px,
            rgba(255, 230, 109, 0.5) 20px);
}

/* Message Board */
.message-board {
    max-width: 800px;
    margin: 5rem auto;
    padding: 3rem;
    background: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
    position: relative;
}

.message-board::before {
    content: '📌';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 2rem;
}

.message-board::after {
    content: '📌';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 2rem;
}

.message-board h2 {
    font-family: var(--font-handwriting);
    font-size: 2.5rem;
    color: var(--collage-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.message-board p {
    font-family: var(--font-handwriting);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--collage-dark);
    text-align: center;
}

/* Footer */
.collage-footer {
    background: var(--collage-wood);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.collage-footer h2 {
    font-family: var(--font-handwriting);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .collage-hero h1 {
        font-size: 2.5rem;
    }

    .collage-hero p {
        font-size: 1.25rem;
    }

    .polaroid-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sticky-notes-grid {
        grid-template-columns: 1fr;
    }

    .message-board {
        margin: 3rem 1rem;
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .collage-hero h1 {
        font-size: 2rem;
    }

    .collage-hero-content {
        padding: 2rem;
    }

    .polaroid-grid {
        padding: 1rem;
    }

    .message-board h2 {
        font-size: 2rem;
    }

    .message-board p {
        font-size: 1.125rem;
    }
}