/* ===============================
   SEZIONE COSA FACCIO – LUXURY
=================================*/

.cosa-section {
    padding: 120px 0 130px;
}

.cosa-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */

.cosa-header {
    text-align: left;
    margin-bottom: 3.5rem;
}

.cosa-header h2 {
    font-size: 3rem;
}

.cosa-subtitle {
    margin-top: 0.6rem;
    max-width: 540px;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

/* GRID */

.cosa-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

/* CARD BASE */

.cosa-card {
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, rgba(255,215,160,0.06), rgba(3,5,7,0.92));
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 174, 102, 0.35);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.7),
        0 0 30px rgba(212,174,102,0.12);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Hover 3D / Glow */

.cosa-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,225,170,0.7);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.85),
        0 0 40px rgba(255,225,170,0.35);
}

/* MEDIA */

.cosa-media {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.cosa-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.cosa-card:hover .cosa-media img {
    transform: scale(1.08);
}

/* leggero gradient sopra l'immagine per staccare il testo sotto */
.cosa-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.55));
    mix-blend-mode: soft-light;
}

/* BODY */

.cosa-body {
    padding: 1.8rem 1.8rem 2.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Numero / tag */

.cosa-tag {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-mid);
    opacity: 0.9;
}

/* Titolo card */

.cosa-title-card {
    font-family: "Cinzel", serif;
    font-size: 1.35rem;
    line-height: 1.3;
    color: var(--gold-light);
}

/* Testo */

.cosa-body p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(235,235,235,0.85);
}

/* ===============================
   RESPONSIVE
=================================*/

@media (max-width: 1180px) {
    .cosa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cosa-section {
        padding: 80px 0 90px;
    }

    .cosa-header {
        text-align: center;
    }

    .cosa-header h2 {
        font-size: 2.4rem;
    }

    .cosa-subtitle {
        margin: 0.8rem auto 2.4rem;
        text-align: center;
    }

    .cosa-grid {
        grid-template-columns: 1fr;
    }
}
