/* ============================================
   AVENIDA PUB BOCAINA - COMPLETO
   Com foto no Hero, overlay degradê premium
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Temas */
body[data-theme="dark"] {
    background-color: #050505;
    color: #ecedee;
}

body[data-theme="light"] {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

body[data-theme="light"] .hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 100%);
}

body[data-theme="light"] .hero-subtitle,
body[data-theme="light"] .hero-tags span {
    color: #fff;
}

body[data-theme="light"] .beer-card,
body[data-theme="light"] .info-card,
body[data-theme="light"] .feature-card,
body[data-theme="light"] .sinuca-card,
body[data-theme="light"] .payment-item,
body[data-theme="light"] .map-address-card,
body[data-theme="light"] .search-box {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 140, 0, 0.3);
}

body[data-theme="light"] .beer-name,
body[data-theme="light"] .feature-card h3,
body[data-theme="light"] .sinuca-info h3 {
    color: #1a1a1a;
}

body[data-theme="light"] .about-description,
body[data-theme="light"] .info-item p,
body[data-theme="light"] .sinuca-info p {
    color: #555;
}

body[data-theme="light"] .footer {
    background: #e0e0e0;
    border-top-color: rgba(255, 140, 0, 0.3);
}

/* ========== HERO COM FOTO E DEGRADÊ PREMIUM ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/fachada.webp') center 30% / cover no-repeat;
    z-index: 0;
}

/* DEGRADÊ PREMIUM - 3 OPÇÕES (descomente a que preferir) */

/* OPÇÃO 1: Degradê escuro suave (RECOMENDADO) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

/* OPÇÃO 2: Degradê com toque laranja (mais quente)
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(255,140,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
*/

/* OPÇÃO 3: Degradê mais dramático (escuro nas bordas)
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}
*/

/* Efeito de parallax suave no desktop */
@media (min-width: 768px) {
    .hero-bg-image {
        background-attachment: fixed;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 1rem;
    animation: fadeInUp 0.8s ease;
}

/* ========== SKELETON SCREEN ========== */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skeleton-card {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 20px;
    height: 85px;
    width: 100%;
}

body[data-theme="light"] .skeleton-card {
    background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.05) 75%);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (min-width: 768px) {
    .skeleton-loader {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1280px) {
    .skeleton-loader {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== SELO MAIS PEDIDA ========== */
.beer-card {
    position: relative;
    padding-top: 1.2rem;
}

.top-badge {
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.top-badge::before {
    content: "🔥";
    margin-right: 0.2rem;
    font-size: 0.65rem;
}

body[data-theme="light"] .top-badge {
    color: #1a1a1a;
}

/* ========== IMAGENS DAS CERVEJAS ========== */
.beer-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.beer-image {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .beer-image {
        width: 65px;
        height: 65px;
    }
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle i {
    font-size: 1.2rem;
    pointer-events: none;
}

body[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
    color: #ffb347;
}

body[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

body[data-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

body[data-theme="light"] .theme-toggle .fa-moon {
    display: block;
    color: #1a1a1a;
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Hero Elements */
.hero-badge {
    display: inline-block;
    background: rgba(255, 140, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 500;
    color: #ffb347;
    border: 1px solid rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.title-line {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD1A0 50%, #FF9F3D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: block;
}

body[data-theme="light"] .title-line {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD1A0 50%, #FF9F3D 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.title-location {
    background: linear-gradient(135deg, #FF9F3D 0%, #FF6B00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: block;
    font-size: 1.8rem;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.hero-divider span {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
}

.hero-divider i {
    color: #ff8c00;
    font-size: 1rem;
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    color: #fff;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-tags span {
    background: rgba(255, 140, 0, 0.15);
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    color: #ffb347;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-cta {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    max-width: 250px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 140, 0, 0.5);
}

body[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffb347;
    font-size: 0.7rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll-indicator i {
    display: block;
    margin-top: 0.3rem;
}

/* Search */
.search-container {
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.search-box:focus-within {
    border-color: #ff8c00;
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.search-box i {
    color: #ff8c00;
    font-size: 1rem;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: inherit;
    outline: none;
}

.search-box input::placeholder {
    color: #888;
}

.clear-search {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
}

.search-info {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #888;
}

/* Menu */
.menu-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

body[data-theme="light"] .menu-section {
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header.text-left {
    text-align: left;
}

.section-subtitle {
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.65rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.section-title i {
    color: #ff8c00;
    font-size: 1.4rem;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff8c00, #ff6b00);
    margin: 0.8rem auto 0;
    border-radius: 3px;
}

.section-divider.left {
    margin: 0.8rem 0 0 0;
}

/* Beer Grid */
.beer-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.beer-card {
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 140, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    animation: fadeInUp 0.4s ease backwards;
}

.beer-card.hidden {
    display: none;
}

.beer-card:active {
    transform: scale(0.98);
}

.beer-info {
    flex: 1;
}

.beer-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.beer-volume {
    font-size: 0.65rem;
    color: #ff8c00;
    margin-top: 0.2rem;
}

.beer-price {
    text-align: right;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD9B5, #FFAA4A);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.price-currency {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffaa55;
    margin-right: 2px;
}

/* Sinuca */
.sinuca-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(0, 0, 0, 0.6));
    border-radius: 20px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.sinuca-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.sinuca-icon {
    font-size: 1.8rem;
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.sinuca-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.sinuca-info p {
    font-size: 0.7rem;
    color: #aaa;
}

.sinuca-price {
    text-align: right;
}

.sinuca-price .price-label {
    font-size: 0.65rem;
    color: #aaa;
    display: block;
}

.sinuca-price .price-value {
    font-size: 1.3rem;
}

.menu-note {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 140, 0, 0.05);
    border-radius: 16px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 140, 0, 0.15);
    flex-wrap: wrap;
}

/* About */
.about-section {
    padding: 3rem 0;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.info-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 140, 0, 0.15);
    margin: 1rem 0;
}

.info-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.3rem;
    color: #ff8c00;
    margin-top: 0.2rem;
    min-width: 1.5rem;
}

.info-item h4 {
    font-size: 0.85rem;
    color: #ffb347;
    margin-bottom: 0.3rem;
}

.info-item p, .info-item a {
    font-size: 0.8rem;
    text-decoration: none;
    line-height: 1.4;
    color: inherit;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.feature-card i {
    font-size: 2rem;
    color: #ff8c00;
    margin-bottom: 0.6rem;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.feature-card p {
    font-size: 0.7rem;
    color: #aaa;
}

/* Payment */
.payment-section {
    padding: 3rem 0;
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.payment-item {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.payment-item i {
    color: #ff8c00;
}

.payment-note {
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Map */
.map-section {
    padding: 3rem 0;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 140, 0, 0.2);
    margin-bottom: 1rem;
}

.google-map {
    width: 100%;
    height: 250px;
    border: none;
}

.map-info {
    text-align: center;
}

.map-address-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.map-address-card i {
    font-size: 1.2rem;
    color: #ff8c00;
}

.map-link-btn {
    background: rgba(255, 140, 0, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    color: #ffb347;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Footer */
.footer {
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #ffb347);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.footer-logo p {
    font-size: 0.8rem;
    color: #ff8c00;
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 0.65rem;
    color: #666;
    display: block;
    margin-top: 0.3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-column h4 {
    font-size: 0.85rem;
    color: #ffb347;
    margin-bottom: 0.5rem;
}

.footer-column p, .footer-column a {
    font-size: 0.7rem;
    color: #888;
    line-height: 1.5;
    text-decoration: none;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

.footer-bottom p {
    font-size: 0.65rem;
    color: #555;
}

.footer-developer {
    margin-top: 0.4rem;
}

.footer-developer i {
    color: #ff6b6b;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border: none;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

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

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Responsividade */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-location {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .btn-primary, .btn-secondary {
        width: auto;
        min-width: 180px;
    }
    
    .beer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .map-address-card {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .google-map {
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .title-location {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
    
    .beer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #141210;
}
::-webkit-scrollbar-thumb {
    background: #ff8c2c;
    border-radius: 4px;
}
