/* ==========================================================
   CLUB MUNTANYENC MOLLET
   PLANTILLA ESTIL GENERAL
==========================================================*/

:root{

    --principal:#1E3A5F;
    --secundari:#4A5D8C;
    --accent:#FFD54F;

    --fons:#f7f8fb;
    --blanc:#ffffff;

    --text:#243447;
    --text-clar:#eef4ff;

    --ombra:0 5px 20px rgba(0,0,0,.15);

}

*{
    box-sizing:border-box;
}

body{

    margin:0;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size:17px;

    line-height:1.65;

    color:var(--text);

    background:var(--fons);

}

img{

    max-width:100%;
    height:auto;

}

a{

    color:var(--principal);

    text-decoration:none;

    transition:.25s;

}

a:hover{

    color:var(--secundari);

}

.main-content{

    max-width:1200px;

    margin:auto;

    padding:30px;

}
/* ==========================================================
   CAPÇALERA
==========================================================*/

.capcalera-100cims{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:20px 30px;
    margin-bottom:30px;
    background:linear-gradient(135deg,#d35400,#f57c00,#ff9800);
    color:white;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
}


.capcalera-logo img{
    height:90px;
}


.capcalera-text{
    flex:1;
    text-align:center;
}

.capcalera-text h1{
    margin:0;
    font-size:42px;
    font-weight:800;
    letter-spacing:2px;
    color:#fffde7;
    text-shadow:2px 2px 4px rgba(0,0,0,.35);
}


.capcalera-text p{
    margin-top:10px;
    font-size:18px;
    color:#fff8d6;
}


.capcalera-boto a{
    display:inline-block;
    background:#fff3c4;
    color:#b34700;
    padding:12px 22px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
    border:2px solid #ffd54f;
    transition:.3s;
}

.capcalera-boto a:hover{
    background:#ffe082;
    color:#8a2d00;
}

/* ==========================================================
   HERO
==========================================================*/

.hero-100cims{
    position:relative;
    margin-bottom:40px;
}

.hero-100cims img{
    width:100%;
    max-height:550px;
    object-fit:cover;
    border-radius:12px;
}


.hero-text{
    position:absolute;
    left:40px;
    bottom:40px;
    background:rgba(100,40,0,.75);
    color:white;
    padding:25px 30px;
    border-left:8px solid #ffd54f;
    border-radius:8px;
    max-width:650px;
}


.hero-text h1{
    margin:0;
    font-size:48px;
    color:#fff8d6;
}
.hero-text p{
    margin-top:12px;
    font-size:20px;
    color:#fff3c4;
}

/* ===== TARGETES ===== */

.info-caminada{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin:35px 0;
}

.info-card{
    background:#fff;
    border-radius:10px;
    padding:20px;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
    border-top:5px solid #FFD54F;
}

.info-card h3{
    margin:0 0 10px;
    color:#1E3A5F;
}

.info-card p{
    margin:0;
}

.info-card a{
    font-weight:bold;
}
/* ===== TAULA PREUS ===== */

.preus{
    width:100%;
    border-collapse:collapse;
    margin:25px 0;
}

.preus td,
.preus th{
    padding:12px;
    border:1px solid #491522;
}

.preus td.header{
    background:#E8E29E;
    text-align:center;
    font-weight:bold;
}

.preus td.preu{
    text-align:center;
    font-size:1.2rem;
    font-weight:bold;
}

@media(max-width:768px){

    .preus{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}
/* ===== DESCÀRREGUES ===== */

.info.left{

    width:48%;
    float:left;
    margin:1%;

}

.descargar{

    display:block;

    padding:15px;

    border-radius:10px;

    background:#fff;

    border:1px solid #ddd;

    transition:.25s;

}

.descargar:hover{

    transform:translateY(-3px);

    box-shadow:0 5px 15px rgba(0,0,0,.15);

}

.descargar img{

    width:48px;

    margin-right:12px;

}

/* ===== Del Original ===== */


.bloc-presentacio,
.bloc-historic{
    margin:45px 0;
}

.bloc-presentacio h2,
.bloc-historic h2{
    color:#d35400;
    border-bottom:4px solid #ffb300;
    padding-bottom:10px;
}

.bloc-presentacio p{
    line-height:1.7;
}

iframe{
    border:2px solid #ffcc80;
    border-radius:10px;
    background:white;
    box-shadow:0 3px 10px rgba(0,0,0,.10);
}



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

@media(max-width:768px){

    .info.left{

        width:100%;

        margin:10px 0;

        float:none;

    }

}
.footer{
    margin-top:50px;
    background:linear-gradient(135deg,#0B1F3A,#1E3A5F,#4A5D8C);
    color:#fff;
    padding:30px 20px;
    text-align:center;
}

.footer .wrapper{
    max-width:1000px;
    margin:auto;
}

.footer-top{
    font-size:22px;
    font-weight:700;
    color:#FFF9D6;
    margin-bottom:12px;
}

.footer-contacte{
    font-size:16px;
    margin-bottom:12px;
}

.footer a{
    color:#FFE082;
    text-decoration:none;
}

.footer a:hover{
    text-decoration:underline;
}

.footer-copy{
    font-size:13px;
    color:#d8e3ff;
    border-top:1px solid rgba(255,255,255,.25);
    margin-top:15px;
    padding-top:15px;
}

@media (max-width:768px){

    .footer{
        padding:25px 15px;
    }

    .footer-top{
        font-size:18px;
    }

    .footer-contacte{
        font-size:15px;
        line-height:1.6;
    }
/* ===== De l'original ===== */

@media(max-width:768px){

    .capcalera-100cims{
        flex-direction:column;
        text-align:center;
    }

    .capcalera-logo img{
        height:70px;
    }

    .capcalera-text h1{
        font-size:30px;
    }

    .hero-text{
        position:static;
        margin-top:10px;
        max-width:100%;
    }

    .hero-text h1{
        font-size:30px;
    }

/* ===== De l'original ===== */
/* ===== Linea separant blocs ===== */
/* ---------- Descàrregues ---------- */

.downloads{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:40px;
}

.downloads .info.left{
    width:calc(50% - 10px);
    margin:0;
    float:none;
}

@media (max-width:768px){

    .downloads .info.left{
        width:100%;
    }

}

/* ---------- Contacte ---------- */

.contacte{
    background:#fff;
    border:1px solid #d9e4d0;
    border-radius:10px;
    padding:20px;
    margin-bottom:30px;
}

.contacte ul{
    margin:0;
    padding-left:20px;
}

.contacte li{
    margin-bottom:12px;
}

/* ---------- Separadors ---------- */

.separador{
    border:0;
    border-top:2px solid #d7dfcf;
    margin:40px 0;
}

}
