/* Design System - HSL Color Variables */
:root {
    /* Light Mode Colors */
    --background: hsl(42, 45%, 97%);
    --foreground: hsl(30, 35%, 15%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(30, 35%, 15%);
    
    --primary: hsl(35, 85%, 50%);
    --primary-foreground: hsl(0, 0%, 100%);
    
    --secondary: hsl(25, 75%, 60%);
    --secondary-foreground: hsl(0, 0%, 100%);
    
    --muted: hsl(42, 25%, 92%);
    --muted-foreground: hsl(30, 15%, 45%);
    
    --accent: hsl(142, 40%, 45%);
    --accent-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(42, 30%, 88%);
    --ring: hsl(35, 85%, 50%);
    
    /* Spacing & Typography */
    --radius: 0.75rem;
    --container-padding: 1rem;
    --section-padding: 5rem 0;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    font-size: 16px;
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsla(42, 45%, 97%, 0.95),
        hsla(42, 45%, 97%, 0.8),
        hsla(42, 45%, 97%, 0.4)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 1rem;
}

.hero-text {
    max-width: 42rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(35, 85%, 45%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px hsla(35, 85%, 50%, 0.3);
}

.btn-outline {
    border: 2px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   SABORES SECTION
============================================ */
.sabores-section {
    padding: var(--section-padding);
    background-color: hsla(42, 25%, 92%, 0.3);
}

.sabores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.sabor-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.sabor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.sabor-card.destaque {
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px hsla(35, 85%, 50%, 0.15);
}

.card-header {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: hsla(35, 85%, 50%, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
}

/* ============================================
   SOBRE SECTION
============================================ */
.sobre-section {
    padding: var(--section-padding);
    background-color: var(--background);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto 3rem;
}

.sobre-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sobre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: hsla(35, 85%, 50%, 0.1);
    color: var(--primary);
}

.icon-large {
    width: 48px;
    height: 48px;
}

.sobre-footer {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    padding: 2rem;
    background-color: var(--muted);
    border-radius: var(--radius);
}

/* ============================================
   LOCALIZAÇÃO SECTION
============================================ */
.localizacao-section {
    padding: var(--section-padding);
    background-color: hsla(42, 25%, 92%, 0.3);
}

.localizacao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: hsla(35, 85%, 50%, 0.1);
    color: var(--primary);
}

.icon-medium {
    width: 32px;
    height: 32px;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 1rem;
    color: var(--muted-foreground);
}

.dica-especial {
    max-width: 56rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: hsla(142, 40%, 45%, 0.05);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
}

.dica-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.dica-content {
    flex: 1;
}

.dica-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.dica-text {
    font-size: 1rem;
    color: var(--foreground);
}

.mapa-button-container {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3rem 0;
}

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

.footer-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.125rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Tablet (768px and up) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .sabores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .localizacao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .sabores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sobre-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .localizacao-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    :root {
        --section-padding: 6rem 0;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .sabor-card,
    .sobre-card,
    .info-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
