/* ============================================
   BAR DETROIT BOLOGNA - STYLE.CSS
   Design premium, eleganza serale, atmosfera lounge
   ============================================ */

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #f0ece6;
    --text-secondary: #b8b0a0;
    --text-muted: #7a7265;
    --accent-gold: #c8a45c;
    --accent-gold-light: #d4b76e;
    --accent-amber: #a67c3d;
    --border-subtle: rgba(200, 164, 92, 0.15);
    --shadow-elegant: 0 4px 30px rgba(0, 0, 0, 0.5);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-gold-light);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.4) 0%,
        rgba(13, 13, 13, 0.55) 40%,
        rgba(13, 13, 13, 0.85) 80%,
        var(--bg-primary) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--bg-primary);
    background: var(--accent-gold);
    padding: 1.2rem 2.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 92, 0.3);
}

.cta-button.outline {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.cta-button.outline:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 50px;
    background: var(--accent-gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* ============================================
   PAGE HERO (Pagine interne)
   ============================================ */

.page-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.7);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.page-hero-content p {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   INTRO SECTION (Homepage)
   ============================================ */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text .section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 450px;
}

.intro-image {
    overflow: hidden;
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.03);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.bg-dark {
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* ============================================
   AMBIENTI SECTION
   ============================================ */

.ambiente-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 7rem;
    padding: 2rem 0;
}

.ambiente-row:last-child {
    margin-bottom: 0;
}

.ambiente-row.reverse {
    direction: rtl;
}

.ambiente-row.reverse .ambiente-text {
    direction: ltr;
}

.ambiente-image {
    overflow: hidden;
    position: relative;
}

.ambiente-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ambiente-image:hover img {
    transform: scale(1.03);
}

.ambiente-text .section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.ambiente-text h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.ambiente-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 420px;
}

/* ============================================
   STORIA SECTION
   ============================================ */

.storia-content {
    max-width: 700px;
    margin: 0 auto;
}

.storia-block {
    text-align: center;
    padding: 2rem 0;
}

.storia-block .anno {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    line-height: 1;
}

.storia-block h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.storia-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
}

.storia-divider {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    margin: 2.5rem auto;
    opacity: 0.5;
}

.storia-quote {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.storia-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-primary);
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================
   CONTATTI SECTION
   ============================================ */

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.info-block {
    margin-bottom: 3rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.info-block p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.orari-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.orario-row {
    display: flex;
    justify-content: space-between;
    max-width: 320px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.orario-row span:last-child {
    color: var(--text-primary);
    font-weight: 400;
}

.contatti-mappa {
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.contatti-mappa iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    filter: grayscale(100%) brightness(0.7) contrast(1.1);
}

.contatti-frase {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.contatti-frase p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-copy p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================
   ANIMATIONS (Reveal on scroll)
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .intro-grid,
    .ambiente-row,
    .ambiente-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .ambiente-row.reverse .ambiente-text {
        direction: ltr;
    }

    .intro-image img,
    .ambiente-image img {
        height: 350px;
    }

    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .intro-text h2,
    .ambiente-text h2 {
        font-size: 1.8rem;
    }

    .storia-block .anno {
        font-size: 2.5rem;
    }

    .storia-block h2 {
        font-size: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.75rem;
    }

    .page-hero {
        height: 40vh;
        min-height: 300px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.7rem;
    }

    .orario-row {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-tag {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .intro-image img,
    .ambiente-image img {
        height: 250px;
    }

    .storia-quote p {
        font-size: 1rem;
    }

    .contatti-mappa {
        min-height: 300px;
    }

    .contatti-mappa iframe {
        min-height: 300px;
    }
}