/* STILI GENERALI CSS PER SICILY PALERMO TOUR - LUXURY EDITION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    top: 0px !important;
    position: static !important;
}

/* Nasconde la barra bianca di Google Translate in cima alla pagina */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Impedisce la barra/sfondo bianco di compilazione automatica del browser sugli input */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   TOP BAR BLU CONTATTI & BARRA NAVIGAZIONE BIANCA STICKY CON LOGO
   ========================================================================== */
.top-header-bar {
    background: linear-gradient(135deg, #0b2545 0%, #005f9e 100%);
    color: #ffffff;
    padding: 11px 35px;
    font-size: 0.94rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 1001;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.top-bar-contacts a {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.top-bar-contacts a:hover {
    color: #fef08a;
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-circle-link {
    width: 34px;
    height: 34px;
    background: #ffffff;
    color: #005f9e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.social-circle-link:hover {
    transform: scale(1.12);
    background: #fef08a;
    color: #0b2545;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.social-circle-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-circle-link:hover {
    transform: scale(1.1);
    background: #e0f2fe;
}

.social-circle-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* BARRA NAVIGAZIONE PRINCIPALE BIANCA STICKY */
.main-navbar-sticky {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.main-navbar-brand img {
    max-width: 240px;
    height: auto;
    display: block;
}

.main-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.main-nav-links a {
    color: #0077b6;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    padding: 6px 0;
}

.main-nav-links a:hover,
.main-nav-links a.active {
    color: #0284c7;
    border-bottom: 2.5px solid #0284c7;
}

/* HEADER HERO PANORAMICA LIMPIDA SENZA SCATOLE CHE COPRONO L'IMMAGINE */
header#home {
    position: relative;
    height: 85vh;
    min-height: 650px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    background: #0b2545;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #0b2545;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.hero-slide.active {
    opacity: 1;
}

/* OVERLAY SFUMATO DELICATISSIMO PER LASCIARE LA FOTO LIMPIDA E LUMINOSA */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.22);
    z-index: 2;
}

/* CONTENUTO TESTO PURO SENZA ALCUNA SCATOLA SCURA CHE COPRE LA FOTO */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

header h1 {
    font-size: 3.8rem;
    font-weight: 900;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.5px;
}

header p {
    font-size: 1.35rem;
    max-width: 780px;
    margin: 0 auto 25px auto;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
    font-weight: 600;
    line-height: 1.6;
}

/* BARRA DI NAVIGAZIONE STICKY ELEGANTE BLU NAVY */
nav {
    background-color: #0b2545;
    padding: 14px 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #d97706;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

nav ul li a:hover {
    color: #f59e0b;
    transform: translateY(-1px);
}

nav ul li a.nav-admin {
    color: #ffffff;
    background-color: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.intro {
    text-align: center;
    margin-bottom: 30px;
}

/* BOTTONI FILTRO CATEGORIA */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #0b2545;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #0b2545, #134074);
    color: #ffffff;
    border-color: #0b2545;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}

/* BOTTONE CALL TO ACTION HERO */
.btn-hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(217, 119, 6, 0.6);
}

/* FORM CONTATTI CURATO E CURATO */
.contact-section {
    max-width: 700px;
    margin: 60px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-section .form-group {
    margin-bottom: 20px;
}

.contact-section label {
    display: block;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-section input, .contact-section textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
}

.contact-section input:focus, .contact-section textarea:focus {
    outline: none;
    border-color: #0b2545;
    box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.12);
}

.contact-section textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-tour {
    background: linear-gradient(135deg, #0b2545, #134074);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.25);
    transition: all 0.2s;
}

.btn-tour:hover {
    background: linear-gradient(135deg, #134074, #1b4f72);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.35);
}

/* ==========================================================================
   BANNER HERO CONTATTACI - STILE IDENTICO 100% ALL'IMMAGINE
   ========================================================================== */
.contact-hero-section-full {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(rgba(5, 15, 32, 0.92), rgba(8, 24, 50, 0.94)), url('https://images.unsplash.com/photo-1541370976299-4d24ebbc9077?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
    padding: 110px 20px 100px 20px;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
    margin-top: 80px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-hero-line-accent {
    width: 1.5px;
    height: 45px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    margin-bottom: 8px;
    position: relative;
}

.contact-hero-line-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
}

.contact-hero-content-box {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-hero-subtitle {
    color: #00cbf8;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 25px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", "Segoe UI", sans-serif;
}

.contact-hero-title {
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.32;
    max-width: 950px;
    margin: 0 auto 40px auto;
    color: #ffffff;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.contact-hero-btn {
    display: inline-block;
    background: #0099d8;
    color: #ffffff;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(0, 153, 216, 0.4);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    opacity: 0;
    transform: translateY(50px);
    border: none;
    cursor: pointer;
}

.contact-hero-btn:hover {
    background: #0082b8;
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 12px 35px rgba(0, 153, 216, 0.6);
}

.contact-hero-actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-pill-link {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(45px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.contact-pill-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #00cbf8;
    color: #ffffff;
    transform: translateY(-3px) scale(1.03) !important;
}

.contact-pill-link.wa-pill {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #4ade80;
}

.contact-pill-link.wa-pill:hover {
    background: rgba(37, 211, 102, 0.3);
    border-color: #25d366;
    color: #ffffff;
}

/* Modulo di Contatto Scuro Integrato */
.contact-dark-form-box {
    background: rgba(8, 24, 50, 0.92);
    border: 1.5px solid rgba(0, 203, 248, 0.4);
    border-radius: 20px;
    padding: 30px;
    max-width: 650px;
    margin: 30px auto 0 auto;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    text-align: left;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-group-dark {
    margin-bottom: 18px;
}

.form-group-dark label {
    display: block;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.form-group-dark input,
.form-group-dark textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 0.98rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-group-dark input:focus,
.form-group-dark textarea:focus {
    outline: none;
    border-color: #00cbf8;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 3px rgba(0, 203, 248, 0.2);
}

.form-group-dark textarea {
    min-height: 110px;
    resize: vertical;
}

.btn-tour-dark {
    background: linear-gradient(135deg, #0099d8, #0284c7);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.02rem;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 153, 216, 0.35);
    transition: all 0.2s ease;
}

.btn-tour-dark:hover {
    background: linear-gradient(135deg, #0082b8, #0369a1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 153, 216, 0.5);
}

/* Quando la sezione entra nello schermo allo scroll */
.contact-hero-section-full.animate-in .contact-hero-subtitle,
.contact-hero-section-full.animate-in .contact-hero-title,
.contact-hero-section-full.animate-in .contact-hero-btn,
.contact-hero-section-full.animate-in .contact-pill-link {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-hero-section-full {
        padding: 70px 16px 60px 16px;
        margin-top: 50px;
    }
    .contact-hero-subtitle {
        font-size: 0.78rem;
        letter-spacing: 1.2px;
        margin-bottom: 20px;
    }
    .contact-hero-title {
        font-size: 1.55rem;
        line-height: 1.38;
        margin-bottom: 30px;
    }
    .contact-hero-btn {
        padding: 14px 38px;
        font-size: 0.88rem;
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    header#home {
        height: 75vh;
        min-height: 500px;
    }
    header h1 {
        font-size: 2.5rem;
    }
    header p {
        font-size: 1.05rem;
    }
    .contact-section {
        padding: 22px;
    }
}

/* ==========================================================================
   STILI FOOTER MULTICOLONNA ELEGANTE - STILE IDENTICO ALL'IMMAGINE
   ========================================================================== */
.footer-modern-section {
    background: #ffffff;
    padding: 75px 20px 35px 20px;
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-size: 1.02rem;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.8fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.hero-content img {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35)) drop-shadow(0 6px 20px rgba(0,0,0,0.8)) !important;
}

.footer-logo-card {
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    border: 1.5px solid #d97706;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 22px;
    box-shadow: 0 8px 22px rgba(11, 37, 69, 0.2);
    display: inline-block;
    max-width: 440px;
    width: 100%;
    box-sizing: border-box;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) !important;
}

.footer-brand-desc {
    color: #526071;
    line-height: 1.65;
    font-size: 1.02rem;
    max-width: 420px;
    font-weight: 500;
}

.footer-col-title {
    color: #0072b1;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-list a {
    color: #4a5568;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a:hover {
    color: #0072b1;
}

.footer-social-link svg {
    color: #4a5568;
    transition: color 0.2s ease;
}

.footer-social-link:hover svg {
    color: #0072b1;
}

.footer-bottom-bar {
    max-width: 1280px;
    margin: 55px auto 0 auto;
    padding-top: 25px;
    border-top: 1.5px solid #0099d8;
    text-align: center;
    font-size: 1rem;
    color: #526071;
    font-weight: 600;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-logo-img {
        margin: 0 auto 18px auto;
    }
    .footer-brand-desc {
        margin: 0 auto;
    }
    .footer-links-list a {
        justify-content: center;
    }
}
