/* Carnicería Santa Ana - Classic Modern Web Design */

:root {
    --primary: #C41E3A;
    /* Vermelho Carnicería */
    --primary-dark: #8b1529;
    --text-main: #1A1A1A;
    /* Preto Clássico */
    --text-muted: #5A5A5A;
    /* Cinza Quente */
    --bg-light: #FFFFFF;
    /* Branco Puro */
    --bg-cream: #F5F1E8;
    /* Bege Neutro */
    --accent: #D4AF37;
    /* Dourado Sutil */
    --success: #2D5016;
    /* Verde Fresco */
    --rustic: #6B4423;
    /* Marrom Terra */

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Caveat', cursive;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --container-max: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

.tagline {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-cream {
    background-color: var(--bg-cream);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--text-main);
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--text-main);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background-color: transparent;
}

.main-header.scrolled {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.main-header.scrolled .header-logo {
    height: 60px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 120px;
    width: auto;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.main-header.scrolled .main-nav a {
    color: var(--text-main);
}

.main-nav a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1100;
}

.main-header.scrolled .mobile-menu-toggle {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text-box {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin: 1rem 0 2rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Branches Section */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.branch-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.branch-card:hover {
    box-shadow: var(--shadow-md);
}

.branch-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.branch-info {
    padding: 2rem;
}

.branch-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.branch-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.branch-info p i {
    color: var(--primary);
}

.branch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.branch-link:hover {
    color: var(--primary-dark);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    padding: 2rem;
}

.frame-circular {
    border-radius: var(--radius-lg);
    border: 8px solid white;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.badge-year {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.about-text h2 {
    font-size: 2.5rem;
    margin: 1rem 0 2rem;
}

.about-features {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 0.875rem;
}

.feature-item i {
    color: var(--primary);
}

/* Products Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-card {
    background-color: var(--bg-cream);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.product-card:hover {
    background-color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent);
    color: var(--text-main);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-text h2 {
    color: white;
    font-size: 3rem;
    margin: 1rem 0 2rem;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-wrapper {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    color: var(--text-main);
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    margin-top: 1rem;
    width: 100%;
}

/* Footer */
.main-footer {
    background-color: var(--text-main);
    color: white;
    padding: 6rem 0 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0 2rem;
    max-width: 300px;
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-legal h4 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Footer Bottom Signature */
.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #0a0a0a;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom a {
    color: white;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--text-main);
        z-index: 1050;
        padding: 6rem 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.25rem;
        color: white !important;
    }

    .about-container,
    .contact-container,
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .header-logo {
        height: 80px;
    }

    .footer-bottom-container {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 0;
    }

    .about-badge {
        padding: 1rem;
    }

    .badge-year {
        font-size: 1.5rem;
    }

    .contact-text h2 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}