/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* =========================
   BACKGROUND
========================= */
body {
    background-image: url("background.jpg");
    background-color: rgb(211, 209, 209);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* =========================
   CONTAINER
========================= */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: calc(100vh - 40px);
    padding: 20px;
    gap: 20px;
}

/* =========================
   COLONNES
========================= */
.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================
   BOITES
========================= */
.box {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

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

.box:hover img {
    filter: brightness(0.85);
    transition: 0.3s ease;
}

/* =========================
   TITRE + BOUTONS
========================= */
.title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Hauteur titre */
.title {
    background-color: rgba(127, 255, 212, 0);
    height: calc(100% - 20px);
}

/* Boutons réseaux */
.socials {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.social {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.3s ease, transform 0.2s ease;
}

.social:hover {
    background: rgba(0,0,0,0.85);
    transform: translateY(-2px);
}

/* Couleurs spécifiques */
.instagram { background: #ff0f9b; }
.mastodon  { background: #6364ff; }
.facebook  { background: #1877f2; }
.other     { background: #444; }

/* =========================
   RÉPARTITION HAUTEURS
========================= */
.shop {
    height: calc(50% - 10px);
}

.galerie {
    height: 78.5%;
}

.propos {
    height: calc(50% - 10px);
}

.contact {
    height: calc(28.5% - 10px);
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {

    html, body {
        overflow: auto;
    }

    .container {
        grid-template-columns: 1fr;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .column {
        gap: 15px;
    }

    .box {
        height: 40vh;
    }

    .socials {
        gap: 8px;
    }
}
