@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --bg-primary: #0d0d0e;
    --bg-secondary: #161618;
    --accent-color: #fdc603;
    --accent-hover: #e5b200;
    --text-primary: #ffffff;
    --text-secondary: #a8a8a8;
    --rustic-brown: #3E2723;
    --bbq-red: #FD9805;
    --industrial-grey: #1c1c1f;
    --card-bg: #1a1a1d;
    --border-subtle: rgba(253, 198, 3, 0.12);
    --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --guitar-string: rgba(253, 198, 3, 0.08);
}

a.btn {
    text-decoration: none;
    display: inline-block;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

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

.btn-default {
    background: linear-gradient(135deg, var(--accent-color), var(--bbq-red));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(253, 198, 3, 0.25);
}

.btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253, 198, 3, 0.35);
}

.btn-outlined {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outlined:hover {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

#container {
    background-color: var(--bg-primary);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.icon-guitar-pick {
    width: 28px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(253, 198, 3, 0.3));
}

.title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.btn-mobile {
    font-size: 1.8rem;
    color: var(--text-primary);
    background: none;
    padding: 8px;
}

header {
    background-color: rgba(13, 13, 14, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 12px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(253, 198, 3, 0.3));
    transition: filter 0.3s ease;
}

.nav-logo:hover .logo {
    filter: drop-shadow(0 0 12px rgba(253, 198, 3, 0.5));
}

header .navbar ul {
    display: none;
    list-style: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(13, 13, 14, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--accent-color);
}

header .navbar ul.show {
    display: flex;
    align-items: stretch;
}

header .navbar ul li {
    list-style: none;
}

header .navbar ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.25s ease;
}

header .navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

header .navbar ul li a:hover {
    color: var(--accent-color);
}

header .navbar ul li a:hover::after {
    width: 100%;
}

.social-links-item {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.15);
}

#home {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    text-align: center;
    background-image: url(src/images/background-hero-rock-fella.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,14,0.6) 0%, rgba(13,13,14,0.85) 100%);
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 5%;
}

.logotipo {
    width: clamp(160px, 30vw, 280px);
    height: auto;
    filter: drop-shadow(0 0 30px rgba(253, 198, 3, 0.2));
    animation: float 5s ease-in-out infinite;
}

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

.home-title {
    color: var(--text-primary);
    font-size: clamp(2.2rem, 7vw, 4.2rem);
    text-transform: uppercase;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 1px;
}

.home-title span {
    color: var(--accent-color);
    display: block;
    text-shadow: 0 0 40px rgba(253, 198, 3, 0.3);
}

.home-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 520px;
    line-height: 1.6;
}

.home-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.guitar-pick-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 3;
    background: var(--bg-primary);
    clip-path: ellipse(55% 100% at 50% 100%);
}

#cardapio {
    padding: 80px 5% 60px;
    position: relative;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 49.8%, var(--guitar-string) 49.8%, var(--guitar-string) 50.2%, transparent 50.2%),
        repeating-linear-gradient(90deg, transparent, transparent 24.8%, var(--guitar-string) 24.8%, var(--guitar-string) 25.2%, transparent 25.2%),
        repeating-linear-gradient(90deg, transparent, transparent 74.8%, var(--guitar-string) 74.8%, var(--guitar-string) 75.2%, transparent 75.2%);
    background-size: 100% 100%;
}

#cardapio .trending-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trending-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.trending-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(253, 198, 3, 0.06);
}

.trending-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.trending-rate {
    background: linear-gradient(135deg, var(--accent-color), var(--bbq-red));
    color: var(--bg-primary);
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
}

.trending-card-description {
    padding: 20px;
}

.trending-card-description h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trending-card-description p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

#sobre {
    margin: 60px 5%;
    padding: 80px 5%;
    background: var(--bg-secondary);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

#sobre::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253,198,3,0.08) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    z-index: 0;
}

#sobre::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253,152,5,0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

#sobre .section-header {
    position: relative;
    z-index: 1;
}

#sobre .about-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

#sobre .about-image {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

#sobre .about-image:hover {
    transform: scale(1.03);
}

#sobre .about-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 560px;
}

#sobre .about-info h3 {
    font-size: 1.6rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#sobre .about-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

#sobre .about-info p span {
    color: var(--accent-color);
    font-weight: 700;
}

#happy-hour {
    padding: 80px 5%;
    position: relative;
}

#happy-hour .section-header {
    justify-content: center;
    margin-bottom: 12px;
}

#happy-hour .title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.panels {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin-top: 0;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.panel {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-subtle);
}

.panel--video {
    box-shadow: 0 0 40px rgba(253, 198, 3, 0.25), 0 0 80px rgba(253, 198, 3, 0.1);
    border-color: rgba(253, 198, 3, 0.3);
}

.panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.panel--video:hover {
    box-shadow: 0 0 50px rgba(253, 198, 3, 0.35), 0 20px 50px rgba(0,0,0,0.5);
}

.panel img,
.panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.panel:hover img,
.panel:hover video {
    transform: scale(1.04);
}

#unidades {
    padding: 80px 5%;
    background: var(--bg-secondary);
    position: relative;
}

#unidades::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 59px, var(--guitar-string) 59px, var(--guitar-string) 60px);
    pointer-events: none;
}

.locations {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.location-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.location-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--bbq-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bg-primary);
}

.location-card h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.location-card address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
    flex: 1;
}

footer {
    background-color: #080808;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5% 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(253, 198, 3, 0.2));
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-col .social-links {
    gap: 12px;
}

.footer-col .social-links a {
    font-size: 1.3rem;
}

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

.footer-bottom p {
    color: var(--text-primary);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: var(--accent-hover);
}

.whatsapp-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.whatsapp-close {
    display: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.whatsapp-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.whatsapp-float {
    position: relative;
    height: 56px;
    background-color: #25D366;
    color: white;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease, width 0.4s ease, padding 0.4s ease;
    animation: whatsappPulse 2.5s ease-in-out infinite;
    width: 56px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float.expanded {
    width: auto;
    padding: 0 20px 0 16px;
    gap: 10px;
    animation: none;
}

.whatsapp-tooltip {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.1s, max-width 0.4s ease;
}

.whatsapp-float.expanded .whatsapp-tooltip {
    opacity: 1;
    max-width: 200px;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    header .navbar ul {
        display: flex;
        flex-direction: row;
        position: static;
        padding: 0;
        width: auto;
        background: none;
        border: none;
        gap: 2rem;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        align-items: center;
    }

    .btn-mobile {
        display: none;
    }

    .social-links-item {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        margin-left: 8px;
        padding-left: 16px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 900px) {
    #sobre .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    #sobre .about-image {
        max-width: 320px;
    }

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

    .footer-links {
        justify-content: center;
        gap: 40px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-col .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .whatsapp-close {
        display: flex;
    }

    .panels {
        flex-direction: column;
        align-items: center;
    }

    .panel {
        max-width: 100%;
    }

    .locations {
        flex-direction: column;
        align-items: center;
    }

    #cardapio .trending-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .home-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .home-actions .btn {
        width: 100%;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

header .navbar ul li a.active {
    color: var(--accent-color);
}

header .navbar ul li a.active::after {
    width: 100%;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .logotipo {
        animation: none;
    }

    .whatsapp-float {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}