/* ==========================================================================
   TINA LA CHIPPIE — Exact Mockup Replica (Mobile-First)
   ========================================================================== */

/* =====================
   1. CSS VARIABLES
   ===================== */
:root {
    --bg-main: #fbe6eb;
    /* Outer light pink background */
    --bg-wrapper: #fcedf1;
    /* Similar soft pink for the wrapper */
    --text-main: #6f5f64;
    /* Muted brownish-grey */
    --color-pink-accent: #d26a84;
    /* Vivid rose pink for cursive texts */
    --color-white: #ffffff;
    --color-dashed: #e6b9c9;
    /* Pink dashed lines */

    --font-heading: 'Alex Brush', cursive !important;
    --font-body: 'Lora', serif;

    --transition: 0.3s ease;
    --radius: 3px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* =====================
   2. RESET & BASE
   ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    /* give space around */
}

/* Stitched Box Wrapper */
.site-wrapper {
    background-color: var(--bg-wrapper);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px dashed var(--color-dashed);
    padding: 40px 50px;
    position: relative;
    box-shadow: inset 0 0 0 4px var(--bg-wrapper), inset 0 0 0 5px var(--color-dashed);
}

a {
    color: var(--color-pink-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--text-main);
}

/* =====================
   3. HEADER & LOGO
   ===================== */
.main-logo {
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply;
}

.chippie-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horizontal Dashed Lines */
.dashed-divider {
    border-top: 1px dashed var(--color-dashed);
    width: 100%;
    margin: 25px 0;
}

/* =====================
   4. NAVIGATION
   ===================== */
nav {
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 60px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-pink-accent);
    text-transform: none;
    font-weight: normal;
    font-style: normal;
}

.nav-link:hover {
    color: var(--text-main);
}

/* =====================
   5. WELCOME SECTION & TOP CARDS
   ===================== */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 30px 0 50px 0;
    gap: 30px;
}

.welcome-section {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-pink-accent);
    margin-bottom: 20px;
    font-weight: normal;
    /* Alex Brush est conçue pour un poids normal */
    font-style: normal;
    /* Empêcher un double-italique synthétique */
}

.welcome-text p {
    font-size: 1.05rem;
    color: var(--text-main);
    max-width: 480px;
    margin: 0 auto;
}

/* Small hearts dividers */
.small-heart {
    width: 15px;
    height: 15px;
    background-color: var(--color-dashed);
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') no-repeat center / contain;
    margin: 15px auto;
}

.bottom-heart {
    margin-top: 25px;
}

/* Polaroids */
.polaroid {
    background: var(--color-white);
    padding: 10px 10px 20px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}

.polaroid-inner {
    border: 1px solid #f9f9f9;
    overflow: hidden;
}

.polaroid img {
    width: 220px;
    height: 300px;
    object-fit: cover;
    display: block;
}

.polaroid-left {
    transform: rotate(-3deg);
}

.polaroid-right {
    transform: rotate(3deg);
}

/* =====================
   6. 4 FEATURE BLOCKS
   ===================== */
.four-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.block-card {
    background: var(--color-white);
    padding: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.block-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.block-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-pink-accent);
    margin-bottom: 8px;
    font-weight: normal;
    font-style: normal;
    /* Alex Brush est conÃ§ue pour un style normal */
    text-transform: capitalize;
}

/* Inner card wrapper for image and footer */
.card-inner {
    border: 1px solid var(--color-dashed);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
}

.block-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.block-image-wrapper img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-dashed);
    /* separates image from footer */
}

/* Fake Chat Bubbles Wrapper */
.chat-wrapper {
    background: #fdf5f7;
    height: 130px;
    position: relative;
    border-bottom: 1px solid var(--color-dashed);
}

.chat-bubble {
    background: #fff;
    border-radius: 20px;
    padding: 8px 15px;
    position: absolute;
    font-size: 1.5rem;
    line-height: 1;
    color: #e6b9c9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.left-bubble {
    top: 20%;
    left: 10%;
}

.right-bubble {
    bottom: 20%;
    right: 10%;
    background: #ffe4eb;
}

/* Footer of the card */
.card-footer,
.card-footer-text {
    background: #fcf4f6;
    padding: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-main);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dummy Progress Video Bar */
.progress-bar {
    width: 100%;
    height: 3px;
    background: #e6b9c9;
    position: relative;
    border-radius: 2px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background: var(--color-pink-accent);
    border-radius: 2px;
}

/* =====================
   7. SOCIAL FOOTER
   ===================== */
.social-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.social-header {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 25px;
}

.dashed-line,
.dashed-line-full {
    flex: 1;
    height: 1px;
    border-top: 1px dashed var(--color-dashed);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: block;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    /* subtle roundness like photo */
    transition: opacity var(--transition), transform var(--transition);
}

.social-icon:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* In production, these should be real SVG or image icons if not already */
.instagram {
    background-color: #d26a84;
}

/* Matches pink accent */
.twitter {
    background-color: #8daed9;
}

.snapchat {
    background-color: #e5cd6e;
}

.pinterest {
    background-color: #c97f8c;
}

.footer-bottom {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 10px;
}

.heart-icon {
    color: var(--color-pink-accent);
}

/* =====================
   8. RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .four-blocks {
        grid-template-columns: repeat(2, 1fr);
    }

    .top-cards {
        flex-direction: column;
    }

    .polaroid-left,
    .polaroid-right {
        transform: rotate(0);
        margin: 15px 0;
    }

    .nav-links {
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .four-blocks {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .site-wrapper {
        padding: 20px;
    }
}