:root {
    --color-bg: #faf9f6;
    --color-surface: #ffffff;
    --color-text: #2c2a29;
    --color-text-light: #5f5c5a;
    --color-cherry: #a31d33;
    --color-cherry-dark: #811527;
    --color-beige: #eaddd0;
    --color-wood: #c0946f;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-med);
}

.header:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Image Logo Styles */
.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-med);
}

.header.scrolled .logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    transition: color var(--transition-med);
    font-weight: 500;
}

.header.scrolled .nav a {
    color: var(--color-text);
}

.header-ctas {
    display: flex;
    gap: 0.5rem;
}

.header-ctas .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.header:not(.scrolled) .btn-outline {
    border-color: white;
    color: white;
}

.header:not(.scrolled) .btn-outline:hover {
    background-color: white;
    color: var(--color-text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid transparent;
}

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

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

.btn-primary:hover {
    background-color: var(--color-cherry-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--color-cherry);
    color: white;
}

.btn-outline-light {
    border-color: white;
    color: white;
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-text);
}

.btn-whatsapp {
    background-color: var(--color-text);
    color: white;
}

.btn-whatsapp:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-ifood {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-ifood:hover {
    background-color: var(--color-text);
    color: white;
    transform: translateY(-2px);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    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;
    animation: zoomInOut 20s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    color: white;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-text-link {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.hero-text-link:hover {
    color: var(--color-cherry);
}

.hero-mobile-ctas {
    display: none;
    gap: 0.75rem;
    margin-top: 1.5rem;
}


.btn-mobile-whatsapp {
    background-color: var(--color-cherry);
    color: white;
    border: 1px solid var(--color-cherry);
    font-size: 1.1rem;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
}

.btn-mobile-whatsapp:hover {
    background-color: var(--color-cherry-dark);
    border-color: var(--color-cherry-dark);
    transform: translateY(-2px);
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.pillars {
    background-color: var(--color-bg);
}

.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pillar-card {
    background-color: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-slow);
    width: calc(33.333% - 1.35rem);
    min-width: 300px;
    cursor: pointer;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pillar-img {
    height: 350px;
    overflow: hidden;
}

.pillar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.pillar-card:hover .pillar-img img {
    transform: scale(1.05);
}

.pillar-content {
    padding: 2rem;
    text-align: center;
}

.pillar-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-cherry);
}

.pillar-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.story {
    background-color: var(--color-surface);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.story-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.story-image::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-wood);
    border-radius: 8px;
    z-index: -1;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 50%;
    display: block;
}

.story-text h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.story-text .subtitle {
    font-family: var(--font-body);
    color: var(--color-wood);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.story-text .highlight {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-top: 2rem;
    font-style: normal;
}

.story-text .highlight .serif-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-cherry);
    font-style: italic;
}

.orders {
    background-color: var(--color-cherry-dark);
    position: relative;
}

.orders-box {
    background-color: var(--color-surface);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.orders-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.orders-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.orders-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer {
    background-color: var(--color-text);
    color: white;
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.social-links a:hover {
    background-color: var(--color-cherry);
}

.footer h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-cherry);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1.5rem 0;
    color: #999;
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .pillars-grid {
        flex-direction: column;
    }
    
    .pillar-card {
        width: 100%;
    }
    
    .nav, .header-ctas {
        display: none;
    }
    
    .header-container {
        justify-content: center;
    }
    
    .logo img {
        height: 80px;
    }
    
    .header.scrolled .logo img {
        height: 60px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-mobile-ctas {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-mobile-ctas .btn {
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
        font-weight: 600;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .orders-buttons {
        flex-direction: column;
    }
}
