/* Reseteig bàsic i variables */
:root {
    --bg-color: #ffffff;
    --text-color: #1d1d1f; /* Negre suau tipus Apple/Disseny modern */
    --accent-color: #000000;
    --font-heading: "Georgia", "Times New Roman", serif; /* Simula la font de Súnion */
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --spacing-unit: 20px;
}

html {
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--bg-color);
    -webkit-text-size-adjust: 100%;
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
}

/* Capçalera minimalista (com la captura) */
.barra_superior {
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent; /* Fora vermell */
    position: relative; /* Ja no fixa per defecte, o sticky si es prefereix */
}

.logo {
    height: 30px; /* Ajustar mida logo */
    width: auto;
    /* Si el logo original és blanc, caldrà un filtre o canviar la imatge a versió negra */
    filter: invert(1); /* TRUC: Si el logo és blanc, això el torna negre */
}

/* Simulació del botó Menú de la captura */
.menu-trigger {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Contenidor principal */
.container {
    max-width: 1200px; /* Amplada màxima per no estirar massa en pantalles grans */
    margin: 0 auto;
    padding: 40px 20px;
    text-align: left; /* Alineació esquerra com el web principal */
}

/* Tipografia de Títols (Clau del nou disseny) */
h2 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 3rem; /* Títols grans */
    font-weight: 400; /* Normal, no bold, per elegància */
    margin-top: 60px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee; /* Opcional: separador subtil */
    padding-bottom: 10px;
    line-height: 1.2;
}

p {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Graella de Videos (Grid modern) */
.container_frames {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.video-item {
    display: flex;
    flex-direction: column;
}

.video-item p {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 15px;
    min-height: 3em; /* Per alinear títols de diferent llargada */
}

video, iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 4px; /* Suau arrodoniment */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

footer {
    height: 100px;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

/* Responsivitat */
@media(max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    .barra_superior {
        padding: 15px 20px;
    }
    .container_frames {
        grid-template-columns: 1fr; /* Una columna en mòbil */
    }
}