/**
 * Front Page (Landing Page) Styles
 * Tako Sushi CG
 */

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #8e0000 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Placeholder para imagem de fundo - adicionar via Customizer */
.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23d32f2f" width="1200" height="800"/><g fill="%23ffffff" opacity="0.05"><circle cx="100" cy="100" r="80"/><circle cx="400" cy="200" r="100"/><circle cx="800" cy="150" r="90"/><circle cx="1000" cy="300" r="110"/><circle cx="300" cy="500" r="95"/><circle cx="700" cy="600" r="105"/><circle cx="1100" cy="500" r="85"/></g></svg>') center/cover no-repeat;
}

/* Ocultar o placeholder quando uma imagem customizada for definida */
.hero-background[style*="background-image"]::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--space-6) 0;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: var(--space-4);
}

.hero-logo img {
    max-height: 120px;
    width: auto;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-5);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        top: 8px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-lg {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--font-size-lg);
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.25);
    color: var(--primary-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-6);
}

/* ==========================================================================
   FEATURED ITEMS SECTION
   ========================================================================== */

.featured-items-section {
    padding: var(--space-8) 0;
    background: var(--color-bg);
}

.featured-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.featured-item {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    padding: 0;
}

.featured-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.featured-item-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.featured-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(211, 47, 47, 0.1) 0%,
        rgba(211, 47, 47, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.featured-item-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(211, 47, 47, 0.03) 10px,
            rgba(211, 47, 47, 0.03) 20px
        );
}

.featured-item-placeholder svg {
    position: relative;
    z-index: 1;
    opacity: 0.3;
}

.featured-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-item:hover .featured-item-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-promo {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.featured-item-content {
    padding: var(--space-4);
}

.featured-item-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.featured-item-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.featured-item-footer {
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

.featured-item-price {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.price-old {
    font-size: var(--font-size-base);
    color: var(--color-text-subtle);
    text-decoration: line-through;
}

.price-current {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    padding: var(--space-8) 0;
    background: var(--color-bg-elevated);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    margin-bottom: var(--space-5);
}

.about-text p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.feature-content p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.about-image-placeholder {
    aspect-ratio: 4/5;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-border);
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */

.location-section {
    padding: var(--space-8) 0;
    background: var(--color-bg);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.location-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-base);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.location-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-full);
    color: white;
}

.location-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.location-card p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-1);
}

.location-card a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.location-card a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.location-map {
    margin-top: var(--space-6);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.map-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    border: 2px dashed var(--color-border);
    color: var(--color-text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-items-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .scroll-indicator,
    .scroll-icon::before {
        animation: none;
    }
}
