@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Jost:wght@400;500&display=swap");
/* Profumeria Giusy: aspetto elegante (crema, bordeaux, oro tenue).
   Caricato da UcHead.ascx dopo style.css: ridefinisce solo colori, titoli e spaziature. */

:root {
    --bordeaux: #590100;
    --bordeaux-scuro: #2e0504;
    --crema: #faf6f1;
    --crema-scuro: #efe3d0;
    --oro: #b08d57;
    --oro-chiaro: #d4b97f;
    --testo: #2b2420;
    --testo-tenue: #6b5d52;
    --serif: Georgia, "Times New Roman", serif;
}

body {
    background: var(--crema);
    color: var(--testo);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: normal;
    letter-spacing: 0.02em;
}

p { color: var(--testo-tenue); }

body a { color: var(--bordeaux); }
body a:hover { color: var(--oro); }

/* Intestazione */
.aw_banner_bootm { background-color: var(--bordeaux); border-bottom: 3px solid var(--oro); }
.logo h1 a { font-family: var(--serif); color: #f6e9c8; letter-spacing: 0.06em; }

/* Striscia telefoni e striscia novità */
.wthree_agile_login {
    background: var(--bordeaux-scuro);
    border-bottom: 1px solid var(--oro);
}
.wthree_agile_login ul li { color: var(--crema-scuro); }
.wthree_agile_login ul li i { color: var(--oro-chiaro); }

.highlight_bar {
    background: var(--crema-scuro);
    border-bottom: 1px solid var(--oro);
    font-family: var(--serif);
    font-size: 1.15em;
}
/* senza novità attive la striscia sparisce invece di restare un riquadro vuoto */
.aw_inner_bottom:has(.highlight_bar):not(:has(.highlight_bar li)) { display: none; }
.highlight_bar ul li a { color: var(--bordeaux); }
.highlight_bar ul li a:hover { color: var(--oro); }
.highlight_bar i.fa { color: var(--oro); }

/* Contenuto delle pagine interne */
.header-content { background-color: var(--crema); padding: 1.5em 9pt; }

/* Piè di pagina */
.agile-footer.ws-section { background: var(--bordeaux-scuro); }
ul.footer-nav, .aw-copyright { border-color: rgba(212, 185, 127, 0.35); }
ul.footer-nav li a { color: var(--crema-scuro); font-family: var(--serif); letter-spacing: 0.04em; }
ul.footer-nav li a:hover, ul.footer-nav li a.active { color: var(--oro-chiaro); }
.footer-nav li:hover { border-bottom-color: var(--oro); }
.w3_agile-footer1.f1 h2 a { color: #f6e9c8; font-family: var(--serif); }
.w3_agile-footer1 h5 { color: var(--oro-chiaro); font-family: var(--serif); letter-spacing: 0.12em; }
.w3_agile-footer1 p, ul.ws-footer-bottom-list li a, ul.footer-social-icons li a { color: #c9bba6; }
ul.ws-footer-bottom-list li a:hover, ul.footer-social-icons li a:hover { color: var(--oro-chiaro); }
.aw-copyright p, .aw-copyright p a { color: #c9bba6; }
.aw-copyright p a:hover { color: var(--oro-chiaro); }

/* Link "Altro" e frecce nel piè di pagina */
.agile-footer a.prev_page, .agile-footer a.next_page { color: var(--oro-chiaro); }
.agile-footer a.prev_page:hover, .agile-footer a.next_page:hover { color: #fff; }

/* Foto: cornice oro sottile al posto di quella corallo */
.ws-row img { border: 1px solid var(--oro); padding: 6px; background: #fff; }

/* Mappe incorporate: cornice sottile e mai più larghe dello schermo */
iframe { border: 1px solid var(--oro); max-width: 100%; }

/* Sezione marchi (il colore giallo era scritto dentro marchi.aspx) */
.wthreeabout { background-color: var(--crema-scuro); }

/* Modulo contatti */
.contact-right-w3l input[type="submit"] {
    background: var(--bordeaux);
    border: 1px solid var(--oro);
    color: var(--crema);
    font-family: var(--serif);
    letter-spacing: 0.08em;
}
.contact-right-w3l input[type="submit"]:hover { background: var(--oro); color: #fff; }

/* Pulsanti */
button.btn.btn-primary.btn-sm, button.btn.btn-default.btn-sm, .btn-primary {
    background-color: var(--bordeaux);
    border: 1px solid var(--oro);
    border-radius: 2px;
    color: var(--crema);
    font-family: var(--serif);
    letter-spacing: 0.08em;
}
button.btn.btn-primary.btn-sm:hover, button.btn.btn-default.btn-sm:hover, .btn-primary:hover {
    background-color: var(--oro);
    color: #fff;
}

@media (max-width: 767px) {
    .highlight_bar { font-size: 1em; padding-left: 12px; padding-right: 12px; }
    .highlight_bar ul li { display: block; margin: 0.2em 0; }
    .wthree_agile_login ul li { display: block; margin: 0.2em 0; }
    .header-content { padding: 1em 6pt; }
}

/* ---- Seconda passata: respiro, titoli e dettagli ---- */
body { font-size: 16px; line-height: 1.7; }

/* Testo introduttivo delle pagine: colonna centrale leggibile, titolo con filetto oro */
.header-content { padding: 2.2em 6% 1.6em; }
.header-content > p, .header-content > .ws-title { max-width: 920px; margin-left: auto; margin-right: auto; }
.header-content .ws-title {
    font-size: 2.4em; color: var(--bordeaux); margin-top: 0.2em; margin-bottom: 0.9em;
}
.header-content .ws-title::after {
    content: ""; display: block; width: 70px; height: 2px; margin: 0.45em 0 0; background: var(--oro);
}
.header-content p { font-size: 1.05em; text-align: center; max-width: 920px; margin-left: auto; margin-right: auto; }

/* Testo sopra lo slider della home: velo sfumato invece del grigio piatto */
.header-content-abs {
    background: linear-gradient(to bottom, rgba(46, 5, 4, 0.88) 0%, rgba(46, 5, 4, 0.55) 60%, rgba(46, 5, 4, 0));
    padding: 1.4em 6% 2.6em; width: 100%; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.header-content-abs h4 { font-family: var(--serif); font-weight: normal; font-size: 2em; color: #f6e9c8; margin: 0 0 0.3em; }
.header-content-abs p { max-width: 920px; line-height: 1.7; }
.header-content-abs a { color: var(--oro-chiaro); border-bottom: 1px solid var(--oro); }

/* Menu: sottolineatura oro al passaggio */
.footer-nav li a { padding-bottom: 0.25em; border-bottom: 1px solid transparent; }
.footer-nav li a:hover, .footer-nav li a.active { border-bottom-color: var(--oro); }

/* Marchi: cerchi con anello oro e leggero rilievo */
.serviceinfo_agile.ih-item.circle { box-shadow: 0 0 0 2px var(--oro), 0 6px 18px rgba(89, 1, 0, 0.12); transition: box-shadow 0.25s; }
.serviceinfo_agile.ih-item.circle:hover { box-shadow: 0 0 0 2px var(--bordeaux), 0 10px 24px rgba(89, 1, 0, 0.2); }
#about.wthreeabout { padding: 2.5em 0; background-color: var(--crema-scuro); }

/* Modulo contatti: campi più curati */
.contact-right-w3l input[type="text"], .contact-right-w3l input[type="email"], .contact-right-w3l textarea {
    border: 1px solid var(--crema-scuro); background: #fff; border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-right-w3l input:focus, .contact-right-w3l textarea:focus {
    outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.2);
}

/* Link "Logoff" (visibile solo da loggati): discreto, in fondo */
.btn_logoff { display: block; text-align: center; padding: 0.6em; font-size: 0.8em; color: var(--testo-tenue); }

@media (max-width: 767px) {
    .header-content { padding: 1.4em 5% 1em; }
    .header-content .ws-title { font-size: 1.8em; }
    .header-content-abs { padding: 1em 5% 1.6em; }
    .header-content-abs h4 { font-size: 1.4em; }
}

/* ---- Rinfrescata: carattere tipografico, texture e movimento ---- */
:root {
    --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Jost", "Segoe UI", Arial, sans-serif;
}
body { font-family: var(--sans); font-weight: 400; background-image: radial-gradient(rgba(176, 141, 87, 0.07) 1px, transparent 1px); background-size: 22px 22px; }
h1, h2, h3, h4, h5, h6, .ws-title { font-family: var(--display); font-weight: 600; letter-spacing: 0; }
.logo h1 a, .w3_agile-footer1.f1 h2 a, .header-content .ws-title, .header-content-abs h4 { font-family: var(--display); }
.logo h1 a { font-size: 1.15em; font-weight: 600; }
.header-content .ws-title { font-size: 3em; font-style: italic; font-weight: 500; }
.header-content-abs h4 { font-size: 2.6em; font-weight: 500; font-style: italic; }

/* Menu e striscia novità: maiuscoletto spaziato, stile insegna di profumeria */
ul.footer-nav li a, .w3_agile-footer1 h5, .highlight_bar { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.82em; font-weight: 500; }
.highlight_bar { font-size: 0.85em; }
.w3_agile-footer1 h5 { font-size: 0.8em; }
button.btn.btn-primary.btn-sm, button.btn.btn-default.btn-sm, .btn-primary, .contact-right-w3l input[type="submit"] {
    font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8em; padding: 1em 2.4em;
}

/* Marchi: anello che si apre al passaggio */
.serviceinfo_agile.ih-item.circle:hover { transform: translateY(-4px); }
.serviceinfo_agile.ih-item.circle { transition: box-shadow 0.25s, transform 0.25s; }

/* Entrata morbida dei contenuti */
@keyframes giusy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.header-content > *, .header-content-abs > *, #about .service_grid, .contact-right-w3l form {
    animation: giusy-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.header-content > :nth-child(2), .header-content-abs > :nth-child(2) { animation-delay: 0.12s; }
#about .service_grid:nth-child(2) { animation-delay: 0.08s; }
#about .service_grid:nth-child(3) { animation-delay: 0.16s; }
#about .service_grid:nth-child(4) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (max-width: 767px) {
    .header-content .ws-title { font-size: 2.2em; }
    .header-content-abs h4 { font-size: 1.7em; }
    ul.footer-nav li a { letter-spacing: 0.12em; }
}
.header-content > .ws-title::after { margin-left: auto; margin-right: auto; }

/* ---- Selettori dei carosello (pagine dei marchi) ---- */
.banner-bottom-girds { margin-left: auto; margin-right: auto; }
.bullets { display: flex; justify-content: center; margin: 0; padding: 0.4em 0 0.2em; }
.bullet {
    position: relative; width: 44px; height: 44px; margin: 0; border: 0; border-radius: 0;
    background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bullet::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
    margin: -6px 0 0 -6px; border: 2px solid var(--oro); border-radius: 8px; box-sizing: border-box;
    background: transparent; transition: width 0.25s, margin 0.25s, background 0.25s, border-color 0.25s;
}
.bullet.active { background: none; }
.bullet:hover::before { background: var(--oro-chiaro); }
.bullet.active::before { width: 30px; margin-left: -15px; background: var(--bordeaux); border-color: var(--bordeaux); }
.bullet:focus-visible { outline: 2px solid var(--oro); outline-offset: -4px; }
.spots-swipe { touch-action: pan-y; }

/* Slider della home: stessi selettori dei marchi */
.zs-enabled .zs-slideshow .zs-bullets { display: flex; justify-content: center; }
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet {
    position: relative; width: 44px; height: 44px; margin: 0; border: 0; border-radius: 0; background: none;
    -webkit-tap-highlight-color: transparent;
}
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border: 2px solid var(--oro-chiaro); border-radius: 8px; box-sizing: border-box; background: rgba(46, 5, 4, 0.35);
    transition: width 0.25s, margin 0.25s, background 0.25s;
}
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet:hover::before { background: var(--oro-chiaro); }
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet.active { background: none; }
.zs-enabled .zs-slideshow .zs-bullets .zs-bullet.active::before { width: 30px; margin-left: -15px; background: var(--oro-chiaro); border-color: var(--oro-chiaro); }
.zs-enabled { touch-action: pan-y; }

/* ---- Menu a tendina (hamburger): crema con testo bordeaux ---- */
#m_nav_container { background-color: var(--crema-scuro); border-bottom: 2px solid var(--oro); box-shadow: 0 8px 24px rgba(46, 5, 4, 0.25); }
.m_nav_item a { color: var(--bordeaux); font-family: var(--sans); font-size: 0.85em; font-weight: 500; letter-spacing: 0.18em; }
.menu--sebastian .menu__link:hover, .menu--sebastian .menu__item--current .menu__link { color: var(--bordeaux-scuro); }
.menu--sebastian .menu__link::before, .menu--sebastian .menu__link::after { background: var(--oro); }
.m_nav_ham_1_open, .m_nav_ham_2_open { background: var(--bordeaux); }
@media (min-width: 768px) {
    /* lascia spazio alla X di chiusura, che prima copriva "Contattaci" */
    #m_nav_container { padding-right: 90px; box-sizing: border-box; }
    .m_nav_item { margin: 0 1.2em; }
}
