/* =====================================================================
   SITE.CSS - parti comuni delle pagine interne
   (home, music, about, music-usage, playlists, contact, privacy-policy)
   1. Font   2. Base   3. Header   4. Pagina   5. Footer   6. Pezzi riusati
   Ogni pagina carica poi il suo page-NOME.css.
   (media/css/home.css è la pagina d'ingresso raimu.ch, non raimu.ch/home)
   ===================================================================== */

/* ---------- 1. FONT (in media/fonts) ---------- */
/* Shadows Into Light: la versione di Google Fonts (la stessa che usava WordPress), più piena di shadows-into-light.woff2 */
@font-face{font-family:'Shadows Into Light';font-style:normal;font-weight:400;font-display:swap;src:url(/media/fonts/shadows-into-light-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Shadows Into Light';font-style:normal;font-weight:400;font-display:swap;src:url(/media/fonts/shadows-into-light-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Permanent Marker';font-style:normal;font-weight:400;font-display:swap;src:url(/media/fonts/permanent-marker-latin.woff2) format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/media/fonts/roboto-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/media/fonts/roboto-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- 2. BASE ---------- */
:root {
    --bg: #0c0c0c;
    --green: #8cc4a3;          /* link, voce di menu attiva */
    --system-font: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: #fff; font-family: var(--system-font); font-size: 17px; line-height: 1.5; }
/* la pagina occupa almeno tutto lo schermo: il footer resta sempre attaccato al fondo */
body { display: flex; flex-direction: column; min-height: 100vh; }
.site-header, .site-footer { flex-shrink: 0; }
img, video { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; transition: color .1s ease-in-out, background-color .1s ease-in-out; }
a:hover, a:focus { color: #fff; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 400; line-height: 1.2; }
h1 { font-size: 42px; }
h2 { font-size: 35px; }
h3 { font-size: 29px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
p { margin: 0 0 1.5em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }
@media (max-width: 768px) { a, body, button { transition: all 0s; } }

/* testo solo per screen reader */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -10000em; top: 5px; z-index: 100000; padding: 15px 23px 14px; background: #f1f1f1; color: #21759b; font-size: .875rem; font-weight: 700; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6); text-decoration: none; }
.skip-link:focus { left: 5px; }
/* chi usa il mouse non vede il contorno di focus (chi usa la tastiera sì) */
.using-mouse :focus { outline: 0; }
/* emoji mostrate come immagini (media/icons/emoji) */
img.emoji { display: inline; width: 1em; height: 1em; margin: 0 .07em; vertical-align: -.1em; border: 0; box-shadow: none; }

/* ---------- 3. HEADER ---------- */
.site-header { position: relative; background: var(--bg); color: #fff; }
.header-inner { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 20px 40px; }
.logo { max-width: 100%; }
.logo img { display: block; width: 250px; }
.main-menu { margin-left: auto; background: var(--bg); }
.main-menu ul { display: flex; flex-wrap: wrap; align-items: center; list-style: none; }
.main-menu a,
.menu-toggle { font-family: 'Shadows Into Light', handwriting; font-size: 25px; line-height: 60px; color: #fff; }
.main-menu a { display: block; padding: 0 20px; text-decoration: none; }
.main-menu a:hover, .main-menu a:focus, .main-menu .current a { color: var(--green); }
.menu-toggle { display: none; margin: 0 0 0 auto; padding: 0 20px; border: 0; background: rgba(0,0,0,.02); cursor: pointer; }
.menu-toggle svg { position: relative; top: .125em; width: 1em; height: 1em; fill: currentColor; }
.menu-toggle .icon-close, .menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: inline; }

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; padding: 20px 30px; }
    .menu-toggle { display: block; }
    .main-menu { display: none; flex-basis: 100%; margin-top: 1.5em; }
    .menu-open .main-menu { display: block; }
    .main-menu ul { display: block; }
}

/* ---------- 4. PAGINA (riquadro centrale) ---------- */
.page { flex: 1 0 auto; width: 100%; max-width: 1200px; margin: 20px auto; padding: 40px; background: var(--bg); color: #fff; }
@media (max-width: 768px) { .page { padding: 30px; } }

/* ---------- 5. FOOTER ---------- */
.site-footer { background: linear-gradient(180deg, #0c0c0c 0%, #1f1f1f 100%); font-family: Roboto, sans-serif; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 10px; }
.footer-line { margin: 5px 0 25px; border: 0; border-top: 2px solid #fff; }
.footer-menus, .footer-bottom { display: flex; }
.footer-menu { width: 33.333%; padding: 10px; }
.footer-menu h4 { margin: 0 0 20px; font-size: 24px; font-weight: 600; line-height: 1; color: #b6b6b6; }
.footer-menu ul { display: flex; flex-wrap: wrap; list-style: none; }
.footer-menu li:not(:last-child) { margin-right: 9px; }
.footer-menu a { display: block; padding: 10px 0; font-size: 16px; font-weight: 600; line-height: 1; color: #fff; text-decoration: none; }
.footer-menu a:hover, .footer-menu a:focus, .footer-menu .current a { color: var(--green); }

.footer-logo { width: 30.029%; padding: 10px; }
.footer-logo img { display: block; width: 250px; margin-left: -13px; }
.social-icons { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; width: 39.607%; margin-top: 6px; padding: 10px; list-style: none; }
.social-icons li { height: 57px; margin: 0 -8px; }
.social-icons a { display: block; width: 50px; height: 50px; padding: 12.5px; border-radius: 50%; color: #fff; transition: transform .3s, color .3s; }
.social-icons a:hover, .social-icons a:focus { color: #95f0ff; transform: scale(1.1); }
.social-icons svg { display: block; width: 25px; height: 25px; fill: currentColor; }
.copyright { width: 30.03%; margin: 0; padding: 35px 10px; text-align: right; color: #ececec; }

@media (max-width: 1024px) { .footer-logo img { display: none; } }
@media (max-width: 767px) {
    .footer-menus, .footer-bottom { flex-direction: column; }
    .footer-menu, .footer-logo, .social-icons, .copyright { width: 100%; }
    .footer-menu li:not(:last-child) { margin-right: 13px; }
    .footer-menu a { padding: 5px 0; }
    .copyright { padding: 10px; text-align: center; }
}

/* ---------- 6. PEZZI RIUSATI ---------- */
/* effetto "cresce" al passaggio del mouse (copertine, icone) */
.grow { transition: transform .3s; }
.grow:hover, .grow:focus, .grow:active { transform: scale(1.1); }
/* pulsanti tipo "SEE ALL" */
.button { display: inline-block; text-decoration: none; text-align: center; }
