/* ==========================================================================
   CSS GLOBAL - SUSHI KYOWA ATIBAIA
   ========================================================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Variables */
:root {
    /* Color Palette (HSL & Hex) */
    --bg-dark-base: #0a0a0b;
    --bg-dark-card: #141417;
    --bg-dark-card-hover: #1c1c21;
    --text-primary: #f3f3f5;
    --text-muted: #a0a0ab;
    --text-dark: #121214;
    
    --accent-gold: #d4af37;
    --accent-gold-hover: #f3c208;
    --accent-gold-rgb: 212, 175, 55;
    
    --accent-red: #c0392b;
    --accent-red-hover: #e74c3c;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(212, 175, 55, 0.4);
    
    --glass-bg: rgba(20, 20, 23, 0.65);
    --glass-bg-hover: rgba(28, 28, 33, 0.85);
    --glass-blur: 12px;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark-base);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-base);
}
::-webkit-scrollbar-thumb {
    background: #222227;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    color: var(--text-primary);
}

h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

h2.center-title {
    text-align: center;
}

h2.center-title::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

h4 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

p, li {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
}

strong {
    color: var(--text-primary);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Grid & Layout Helpers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-dark-base);
}

.section-alt {
    background-color: var(--bg-dark-card);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    height: 75px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link img {
    height: 50px;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.main-header.scrolled .logo-link img {
    height: 44px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-gold-hover);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.contact-info-top {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 16px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Hero Section (Carousel/KenBurns) */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 0.65;
    visibility: visible;
    animation: kenBurns 12s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(10,10,11,1) 95%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    z-index: 5;
    text-align: center;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease forwards;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.4s ease forwards;
}

/* Slide Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Ken Burns Animation */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature/Restaurante Info */
.info-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.info-img-wrapper:hover img {
    transform: scale(1.05);
}

.info-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    pointer-events: none;
}

.highlight-list {
    list-style: none;
    margin-top: 24px;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.highlight-list li::before {
    content: '✦';
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* Rodizio details */
.rodizio-header {
    background: radial-gradient(circle at center, #1e1e24 0%, var(--bg-dark-card) 100%);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 50px;
}

.price-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin: 15px 0;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-left: 8px;
}

.rodizio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.rodizio-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.rodizio-item-name {
    font-weight: 500;
    color: var(--text-primary);
}

.rodizio-item-dot {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
    margin: 0 10px;
}

/* Menu Page PDF Downloads */
.menu-card {
    text-align: center;
}

.menu-card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: block;
}

.menu-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.menu-card-desc {
    margin-bottom: 25px;
    min-height: 50px;
}

/* Delivery options */
.delivery-ifood {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.15);
}

.delivery-ifood:hover {
    border-color: rgba(231, 76, 60, 0.4);
    background: rgba(231, 76, 60, 0.08);
}

.ifood-img {
    height: 80px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.delivery-ifood:hover .ifood-img {
    transform: scale(1.1);
}

.delivery-phone-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 24px;
}

.delivery-phone-box:hover {
    border-color: var(--accent-gold);
}

.delivery-phone-box h5 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* Contact & Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 4px;
}

.info-text h5 {
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.info-text p {
    font-size: 0.95rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-input, .form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-terms {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-terms a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background-color: #060607;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 24px;
    border-radius: 4px;
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact-info h6 {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Branch Selector tabs/toggle */
.branch-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    border-color: var(--accent-gold);
}

.branch-content {
    display: none;
}

.branch-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .section {
        padding: 70px 0;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 4px;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .mobile-nav-toggle {
        display: block;
        z-index: 1100;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-dark-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1050;
    }
    .nav-menu.active {
        right: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .rodizio-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

/* Translation Widget Styles */
.header-right-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 480px) {
    #top-phone {
        display: none !important;
    }
    .header-right-wrapper {
        gap: 10px;
    }
}
