/* 
   Camafeu's Food Service - Premium Modern Design
   Based on vibrant colors, dark mode, glassmorphism, and dynamic animations.
*/

:root {
    /* Color Palette */
    --clr-bg: #0a0a0c;
    --clr-surface: #141418;
    --clr-surface-light: #1f1f25;

    --clr-accent: #ffa500;
    /* Logo Golden Orange */
    --clr-accent-hover: #ffbb33;
    --clr-secondary: #ffd580;

    --clr-text: #f8f9fa;
    --clr-text-muted: #adb5bd;

    /* Typography */
    --font-heading: 'Domine', serif;
    --font-body: 'Outfit', sans-serif;

    /* Variables */
    --nav-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-surface {
    background-color: var(--clr-surface);
}

.accent {
    color: var(--clr-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Typography Classes */
.section-subtitle {
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
}

.section-text {
    color: var(--clr-text-muted);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-accent), #f39c12);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-text);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-text {
    background: transparent;
    color: var(--clr-accent);
    padding: 0;
    font-weight: 700;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--clr-accent);
    transition: var(--transition);
}

.btn-text:hover::after {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--clr-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-text);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-text);
}

.mobile-link:hover {
    color: var(--clr-accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Smooth parallax base */
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1280px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.subtitle-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* About Section */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.image-wrapper {
    position: absolute;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.img-main {
    top: 0;
    left: 0;
    width: 80%;
    height: 85%;
    z-index: 1;
}

.img-float {
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    z-index: 2;
    border: 8px solid var(--clr-bg);
}

.experience-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.4);
    animation: float 4s ease-in-out infinite;
    color: #fff;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 500;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.features-list {
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Services Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 993px) {
    .services-grid>*:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 434px;
        justify-self: center;
    }
}

.service-card {
    background: var(--clr-surface-light);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--clr-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 165, 0, 0.1);
    color: var(--clr-accent);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.service-card:hover .card-icon,
.diferencial-card:hover .card-icon {
    background: var(--clr-accent);
    color: #fff;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--clr-text-muted);
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?q=80&w=2000&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -2;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.85);
    z-index: -1;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--clr-surface);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-bio {
    color: var(--clr-text-muted);
    margin-bottom: 24px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-text);
}

.social-links a:hover {
    background: var(--clr-accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: var(--clr-text-muted);
}

.footer-contact i {
    color: var(--clr-accent);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

/* --- Internal Pages Styles --- */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.page-content {
    background-color: var(--clr-bg);
}

.text-large {
    font-size: 1.5rem;
    color: var(--clr-text);
    line-height: 1.4;
    margin-bottom: 32px;
}

.text-center {
    text-align: center;
}

.content-text {
    padding-right: 40px;
}

.highlight-box {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid var(--clr-accent);
    padding: 24px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin-top: 40px;
}

.highlight-box h3 {
    color: var(--clr-accent);
    margin-bottom: 12px;
}

.content-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--clr-surface);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--clr-text);
}

.feature-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* Servicos Page */
.diferencial-card {
    background: var(--clr-surface-light);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.servicos-diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 993px) {
    .servicos-diferenciais-grid>*:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 434px;
        justify-self: center;
    }
}

.mt-4 {
    margin-top: 32px;
}

/* --- Linhas de Atendimento Section --- */
.linhas-atendimento {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.linhas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.linhas-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.linhas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 18, 0.85);
    z-index: 2;
}

.linhas-atendimento .container {
    position: relative;
    z-index: 10;
}

.text-white {
    color: #fff;
}

.separator-line {
    width: 60px;
    height: 3px;
    background-color: #fff;
    margin: 20px auto 40px;
}

.linhas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.linha-card {
    text-align: left;
    padding: 20px;
    transition: var(--transition);
}

.linha-card h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.linha-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .linhas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images {
        height: 500px;
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .btn-lg {
        width: 100%;
    }

    .about-images {
        height: 400px;
    }

    .content-features,
    .services-grid,
    .servicos-diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .linhas-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .linha-card {
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--border-radius-md);
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .experience-badge {
        width: 90px;
        height: 90px;
        top: 20px;
        right: 0;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }
}

/* WhatsApp Float Button */
.chat-fixed-btn {
    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 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.chat-fixed-btn:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    color: #FFF;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 767px) {
    .chat-fixed-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}