/* ---
   Projecte Phoenix | Disseny per Albert Lozano
   Estil 2025: MD3, One-Page (Versió Final)
--- */

/* --- 1. Variables i Configuració Global (MD3 Dark Theme) --- */
:root {
    --color-primary: #D0BCFF;
    --color-on-primary: #381E72;
    --color-primary-container: #4F378B;
    --color-on-primary-container: #EADDFF;
    --color-surface: #1C1B1F;
    --color-on-surface: #E6E1E5;
    --color-outline: #938F99;

    --font-family: 'Montserrat', sans-serif;
    --transition-speed: 0.4s;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    overflow: hidden;
}

/* --- 2. Estructura de Panells a Pantalla Completa --- */
.page-container {
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.full-page-panel {
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    box-sizing: border-box;
}

.content-wrapper {
    max-width: 960px; /* Ampliat per a la nova secció */
}

/* --- 3. Estils dels Components (MD3 inspired) --- */
.main-title {
    font-size: 7.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--color-primary);
    margin: 1rem 0 3rem;
}

.section-title {
    font-size: 4.8rem;
    font-weight: 600;
    margin-bottom: 4rem; /* Augmentat per a més espai */
}

.section-description {
    font-size: 1.8rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all var(--transition-speed) ease;
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    border: 1px solid transparent;
}

.cta-button:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-outline);
}

.chips-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.chip {
    padding: 1rem 2rem;
    font-size: 1.6rem;
    background-color: var(--color-primary-container);
    color: var(--color-on-primary-container);
    border-radius: 8px;
    font-weight: 600;
}

/* --- 4. Estils Secció Història --- */
.panel-historia .content-wrapper {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.story-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: left;
}

.story-block {
    background-color: rgba(0,0,0,0.1); /* Fons subtil per a cada bloc */
    border: 1px solid var(--color-outline);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 300px;
    flex: 1;
}

.story-block h4 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--color-primary);
}

.story-block p {
    font-size: 1.6rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

/* --- 5. Indicador de Scroll --- */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-on-surface);
    border-radius: 20px;
    opacity: 0.7;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-on-surface);
    border-radius: 4px;
    animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
    0% { top: 5px; opacity: 1; }
    50% { top: 15px; opacity: 0; }
    100% { top: 15px; opacity: 0; }
}


/* --- 6. Millores Secció de Contacte --- */
.contact-wrapper-final {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monogram {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-outline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--color-outline);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 0.8s ease forwards;
}

.panel-contacte .section-title,
.panel-contacte .section-description,
.panel-contacte .contact-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 0.8s ease forwards;
}

.panel-contacte .section-title { animation-delay: 0.2s; }
.panel-contacte .section-description { animation-delay: 0.4s; }
.panel-contacte .contact-buttons { animation-delay: 0.6s; }


@keyframes fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 7. Disseny Responsable (Responsive) --- */
@media (max-width: 768px) {
    .main-title { font-size: 4.8rem; }
    .subtitle { font-size: 2rem; }
    .section-title { font-size: 3.6rem; }

    .story-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 80%;
    }
}```

---

### **3. `script.js` (Eliminat)**

Recorda que el fitxer `script.js` ja no és necessari. Pots eliminar-lo del directori del teu projecte per mantenir-lo net.