/*
Theme Name: Fiorentina Restaurante
Theme URI: https://fiorentinarestaurante.com.br
Author: Fiorentina
Description: Tema personalizado para o Fiorentina Restaurante - Tradição desde 1981
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: fiorentina
*/

/* ===== CSS VARIABLES ===== */
:root {
    --background: #0a0a0a;
    --foreground: #fafaf9;
    --primary: #d4a853;
    --primary-light: #e8c97a;
    --muted: #a8a29e;
    --border: rgba(212, 168, 83, 0.3);
    --ifood-red: #ea1d2c;
    --ifood-red-hover: #c4162a;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}

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

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

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted);
}

.divider-gold {
    width: 120px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    background: radial-gradient(ellipse at center top, rgba(212, 168, 83, 0.08), transparent 50%);
}

.hero-logo {
    width: 280px;
    max-width: 100%;
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s ease-out;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    animation: fade-in-up 0.8s ease-out 0.3s both;
}

.hero-description {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.btn-ifood {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--ifood-red);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(234, 29, 44, 0.5);
    animation: fade-in-up 0.8s ease-out 0.5s both;
}

.btn-ifood:hover {
    background-color: var(--ifood-red-hover);
    transform: scale(1.05);
    box-shadow: 0 15px 40px -10px rgba(234, 29, 44, 0.6);
}

.btn-ifood svg {
    width: 20px;
    height: 20px;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 5rem 1rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--primary);
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== FOOTER SECTION ===== */
.footer {
    padding: 4rem 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.footer-item h3 {
    font-family: var(--font-display);
    color: var(--foreground);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.footer-item p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 2rem;
}

.footer-copyright {
    color: rgba(168, 162, 158, 0.5);
    font-size: 0.75rem;
    margin-top: 1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-logo {
        width: 320px;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
}

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