*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease;
}

.main-header.scrolled {
    background: rgba(0,0,0,0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a84c, #e8d48b);
    border-radius: 50%;
    font-size: 1rem;
    color: #1a1a1a;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 8px 18px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 700px;
}

.hero-logo {
    display: block;
    width: min(380px, 65vw);
    height: auto;
    margin: 0 auto 28px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #c9a84c;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-dove {
    background: #f8f6f2;
}

.section-accesso {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
}

.section-accesso .section-tag {
    color: #c9a84c;
    border-color: rgba(201,168,76,0.3);
}

.section-accesso .section-title { color: #fff; }
.section-accesso .section-divider span { background: #c9a84c; }
.section-accesso .section-divider span::before,
.section-accesso .section-divider span::after { background: rgba(201,168,76,0.2); }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c9a84c;
    border: 1px solid rgba(201,168,76,0.3);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-divider span {
    display: inline-block;
    width: 48px;
    height: 2px;
    background: #1a1a1a;
    position: relative;
    border-radius: 2px;
}

.section-divider span::before,
.section-divider span::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12px;
    height: 2px;
    background: rgba(0,0,0,0.12);
    border-radius: 2px;
}

.section-divider span::before { left: -16px; }
.section-divider span::after { right: -16px; }

/* ===== SALONE ===== */
.salone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.salone-image-wrapper {
    display: flex;
    justify-content: center;
}

.salone-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.salone-intro {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.8;
}

.salone-features {
    display: grid;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: #444;
    font-weight: 500;
}

.feature-item i {
    color: #c9a84c;
    font-size: 1.2rem;
}

/* ===== DOVE ===== */
.dove-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.dove-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dove-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.dove-icon {
    font-size: 2.5rem;
    color: #c9a84c;
    margin-bottom: 20px;
}

.dove-address {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.dove-address strong {
    color: #1a1a1a;
}

.dove-note {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* ===== CONTATTI ===== */
.contatti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contatti-card {
    background: #fff;
    padding: 40px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contatti-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2rem;
    color: #c9a84c;
    margin-bottom: 16px;
}

.contatti-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.card-value {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.card-value a {
    color: #1a1a1a;
    transition: color 0.2s;
}

.card-value a:hover {
    color: #c9a84c;
}

.card-note {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.orari-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.04);
    font-size: 0.8rem;
}

/* Orari */
.orari-wrapper {
    margin-top: 8px;
}

.orari-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.orari-row:last-child {
    border-bottom: none;
}

.orari-day {
    font-weight: 500;
    color: #555;
}

.orari-time {
    font-weight: 600;
    color: #1a1a1a;
}

.orari-row.chiuso .orari-day,
.orari-row.chiuso .orari-time {
    color: #bbb;
}

/* ===== ACCESSIBILITA ===== */
.accessibilita-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.accessibilita-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,168,76,0.15);
    border-radius: 50%;
    font-size: 2rem;
    color: #c9a84c;
}

.accessibilita-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

.accessibilita-text p + p {
    margin-top: 8px;
}

.accessibilita-text strong {
    color: #fff;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #111;
    color: rgba(255,255,255,0.7);
}

.footer-social {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #c9a84c;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #c9a84c;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #c9a84c;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===== SCROLL ANIMATION ===== */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c9a84c;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contatti-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header {
        background: rgba(0,0,0,0.95);
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 14px 16px;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .hero { min-height: 90vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-logo { width: min(220px, 50vw); }

    .section { padding: 64px 0; }

    .salone-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .salone-image {
        max-width: 100%;
    }

    .dove-content {
        grid-template-columns: 1fr;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .contatti-grid {
        grid-template-columns: 1fr;
    }

    .accessibilita-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
}
