/* ================================
   TrunkMonkey.life - Landing Page
   Luggage Stickers on a Trunk
   ================================ */

/* ================================
   Landing Header (expanded slideshow)
   ================================ */

.landing-header {
    min-height: 75vh;
    /* Remove bottom padding - no text sitting inside the banner */
    padding: 0;
    align-items: stretch;
}

/* Strip the dark overlay on the landing banner so monkey images are bright and clear.
   The overlay in styles.css exists for text contrast - we don't need it here. */
.landing-header .header-slideshow::after {
    background: rgba(0, 0, 0, 0.08);
}

/* Title block - sits between the banner and nav, outside the image */
.landing-title-block {
    background: var(--secondary-color, #2c3e50);
    color: var(--white, #fff);
    padding: 28px 40px 24px;
    text-align: left;
}

.landing-title-block h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.8em;
    font-weight: normal;
    margin: 0 0 6px 0;
    color: var(--white, #fff);
}

.landing-title-block .tagline {
    font-size: 1.1em;
    opacity: 0.75;
    font-style: italic;
    margin: 0;
    color: var(--white, #fff);
}

/* ================================
   Trunk Surface Section
   ================================ */

.trunk-surface {
    position: relative;
    min-height: 60vh;
    padding: 80px 40px;
    /* Layered leather/canvas texture */
    background:
        /* Subtle grain noise */
        radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(0,0,0,0.02) 1px, transparent 1px),
        /* Leather gradient base */
        linear-gradient(145deg, #7a5c3a 0%, #6b4e2a 25%, #5d4324 50%, #6b4e2a 75%, #7a5c3a 100%);
    background-size: 4px 4px, 6px 6px, 3px 3px, 100% 100%;
    overflow: hidden;
}

/* Stitching border effect */
.trunk-surface::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border: 2px dashed rgba(210, 180, 140, 0.35);
    border-radius: 4px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle vignette */
.trunk-surface::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ================================
   Trunk Hardware (decorative)
   ================================ */

.trunk-hardware {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

/* Corner brackets */
.trunk-corner {
    width: 32px;
    height: 32px;
    position: absolute;
    border-color: rgba(180, 160, 120, 0.4);
    border-style: solid;
    border-width: 0;
}

.trunk-corner-tl { top: 24px; left: 24px; border-top-width: 3px; border-left-width: 3px; border-radius: 4px 0 0 0; }
.trunk-corner-tr { top: 24px; right: 24px; border-top-width: 3px; border-right-width: 3px; border-radius: 0 4px 0 0; }
.trunk-corner-bl { bottom: 24px; left: 24px; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 4px; }
.trunk-corner-br { bottom: 24px; right: 24px; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 4px 0; }

/* Center latch */
.trunk-latch {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 24px;
    background: linear-gradient(180deg, #b8a070, #8b7d5a, #b8a070);
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(0,0,0,0.2);
    border-top: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 3;
}

.trunk-latch::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    background: #6b5d3a;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.15);
}

/* ================================
   Section Title
   ================================ */

.trunk-title {
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.trunk-title h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2em;
    color: #d4c4a0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 8px;
}

.trunk-title p {
    color: rgba(210, 190, 150, 0.7);
    font-style: italic;
    font-size: 1.1em;
}

/* ================================
   Sticker Grid
   ================================ */

.sticker-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ================================
   Sticker Base
   ================================ */

.sticker {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 24px 28px;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Paper/sticker feel */
    background: #ffffff;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 0 0 1px rgba(0,0,0,0.05);
}

.sticker:hover {
    transform: scale(1.06) rotate(0deg) !important;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.3),
        inset 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 10;
}

/* ================================
   Sticker Variants
   ================================ */

/* Fresh/Latest - large and prominent */
.sticker-fresh {
    min-width: 220px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
    border: 3px solid var(--primary-color, #3498db);
    box-shadow:
        0 4px 16px rgba(52, 152, 219, 0.25),
        inset 0 0 0 1px rgba(52, 152, 219, 0.1);
}

.sticker-fresh::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(52,152,219,0.1), transparent 50%);
    pointer-events: none;
}

.sticker-fresh:hover {
    box-shadow:
        0 12px 32px rgba(52, 152, 219, 0.35),
        inset 0 0 0 1px rgba(52, 152, 219, 0.1);
}

/* Worn/archived - slightly muted */
.sticker-worn {
    min-width: 180px;
    background: linear-gradient(135deg, #faf8f2 0%, #f0ebe0 100%);
    border: 2px solid rgba(139, 125, 107, 0.4);
}

.sticker-worn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.04) 50%);
    border-radius: 0 6px 0 0;
    pointer-events: none;
}

/* ================================
   Sticker Content
   ================================ */

.sticker-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.sticker-fresh .sticker-icon {
    width: 64px;
    height: 64px;
}

.sticker-title {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--secondary-color, #2c3e50);
    margin-bottom: 4px;
    line-height: 1.2;
}

.sticker-fresh .sticker-title {
    font-size: 1.4em;
    color: var(--primary-color, #3498db);
}

.sticker-subtitle {
    display: block;
    font-size: 0.85em;
    color: var(--text-light, #666);
    font-style: italic;
}

.sticker-fresh .sticker-subtitle {
    color: var(--secondary-color, #2c3e50);
}

/* ================================
   Rotation Utilities
   ================================ */

.rotate-1  { transform: rotate(1deg); }
.rotate-2  { transform: rotate(2deg); }
.rotate-3  { transform: rotate(3deg); }
.rotate-neg1 { transform: rotate(-1deg); }
.rotate-neg2 { transform: rotate(-2deg); }
.rotate-neg3 { transform: rotate(-3deg); }

/* ================================
   Landing Nav
   ================================ */

.landing-nav a.active {
    background: var(--primary-color, #3498db);
    color: var(--white, #fff);
}

/* ================================
   Landing Footer
   ================================ */

.landing-footer {
    background: var(--secondary-color, #2c3e50);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
    .landing-header {
        min-height: 60vh;
    }

    .landing-title-block {
        padding: 20px 24px 18px;
    }

    .landing-title-block h1 {
        font-size: 2em;
    }

    .trunk-surface {
        padding: 60px 24px;
        min-height: auto;
    }

    .trunk-title h2 {
        font-size: 1.6em;
    }

    .sticker-grid {
        gap: 24px;
    }

    .sticker-fresh {
        min-width: 180px;
        padding: 24px 28px;
    }

    .sticker-worn {
        min-width: 150px;
    }

    /* Reduce rotations on mobile for cleaner look */
    .rotate-1, .rotate-2, .rotate-3 { transform: rotate(1deg); }
    .rotate-neg1, .rotate-neg2, .rotate-neg3 { transform: rotate(-1deg); }

    .trunk-corner { display: none; }

    .trunk-latch {
        width: 48px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .landing-header {
        min-height: 50vh;
    }

    .landing-title-block {
        padding: 16px 20px 14px;
    }

    .landing-title-block h1 {
        font-size: 1.6em;
    }

    .landing-title-block .tagline {
        font-size: 0.95em;
    }

    .trunk-surface {
        padding: 40px 16px;
    }

    .sticker-grid {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .sticker-fresh,
    .sticker-worn {
        min-width: 0;
        width: 100%;
        max-width: 280px;
    }

    .sticker-icon {
        width: 48px;
        height: 48px;
    }

    .sticker-fresh .sticker-icon {
        width: 56px;
        height: 56px;
    }

    .trunk-title h2 {
        font-size: 1.3em;
    }

    .trunk-latch { display: none; }
}
