@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400&family=Nunito:wght@400;600;700&display=swap');

:root {
    --bg-warm: #FDF8F5; /* Harina */
    --text-crust: #3E2723; /* Marrón Tostado */
    --accent-butter: #F7DC6F;
    --accent-orange: #E67E22;
    
    --font-heading: 'Fraunces', serif;
    --font-hand: 'Caveat', cursive;
    --font-body: 'Nunito', sans-serif;
    
    --shadow-warm: 0 15px 35px rgba(62, 39, 35, 0.08);
    --transition: all 0.4s ease;
}

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

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

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

/* Nav */
header {
    padding: 30px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-crust);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-family: var(--font-hand);
    color: var(--accent-orange);
    font-size: 2.5rem;
    transform: rotate(-10deg);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-crust);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.btn-rustic {
    background-color: var(--text-crust);
    color: var(--bg-warm) !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--text-crust);
}

.btn-rustic:hover {
    background-color: transparent;
    color: var(--text-crust) !important;
}

/* Hero Rustic */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
}

.hand-note {
    font-family: var(--font-hand);
    font-size: 2.5rem;
    color: var(--accent-orange);
    position: absolute;
    top: -40px;
    left: -20px;
    transform: rotate(-10deg);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 450px;
    opacity: 0.9;
}

.hero-img {
    position: relative;
    height: 70vh;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Organic border simulating dough */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-warm);
    filter: sepia(0.3) contrast(1.1) brightness(0.95);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* Fresh Today Menu */
.menu-section {
    padding: 120px 0;
    background-color: white;
    border-radius: 80px 80px 0 0;
    box-shadow: 0 -20px 50px rgba(62,39,35,0.03);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
}

.section-header .hand-note {
    position: static;
    display: block;
    transform: none;
    margin-bottom: -10px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.menu-item {
    background-color: var(--bg-warm);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px dashed rgba(62,39,35,0.1);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-warm);
    border-color: var(--accent-orange);
}

.item-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.3) contrast(1.1);
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.item-price {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* Quality / Ingredients */
.quality-section {
    padding: 80px 0 120px;
    background-color: white;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.quality-item {
    padding: 20px;
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.quality-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Catering / Encargos */
.catering-section {
    padding: 120px 0;
    background-color: var(--bg-warm);
    border-top: 2px dashed rgba(62,39,35,0.1);
}

.catering-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.catering-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.catering-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.catering-list {
    list-style: none;
    margin-bottom: 40px;
}

.catering-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.catering-img {
    height: 500px;
}

.catering-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: sepia(0.3) contrast(1.1);
    box-shadow: var(--shadow-warm);
}

/* Story / Hands */
.story-section {
    padding: 120px 0;
    background-color: var(--text-crust);
    color: var(--bg-warm);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-img {
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.5) contrast(1.2);
}

.story-text h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.signature {
    font-family: var(--font-hand);
    font-size: 2.5rem;
    color: var(--accent-butter);
    margin-top: 30px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    text-align: center;
    background-color: white;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.footer-info {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-social a {
    color: var(--text-crust);
    font-weight: 700;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 60px; }
    .hero-text h1 { font-size: 3rem; }
    .hand-note { left: 50%; transform: translateX(-50%) rotate(-5deg); top: -40px; width: 100%; white-space: nowrap; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-img { height: 40vh; order: -1; margin-bottom: 20px; }
    
    .menu-grid { grid-template-columns: 1fr; }
    .menu-section { margin-top: 0; padding: 80px 0; border-radius: 40px 40px 0 0; }
    
    .quality-grid { grid-template-columns: 1fr; gap: 40px; }
    .quality-section { padding: 40px 0 80px; }
    
    .catering-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .catering-img { height: 40vh; order: -1; }
    .catering-list { text-align: left; display: inline-block; }
    .catering-text h2 { font-size: 2.5rem; }
    
    .story-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .story-section { padding: 80px 0; }
    .story-img { order: -1; height: 40vh; }
    .story-text h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .hero-text h1 { font-size: 2.2rem; }
    .hand-note { font-size: 1.8rem; top: -30px; }
    .btn-rustic { padding: 10px 20px; font-size: 0.9rem; }
    
    .section-header h2 { font-size: 2.2rem; }
    .story-text h2 { font-size: 2.2rem; }
    .signature { font-size: 2rem; }
    
    .footer-logo { font-size: 2rem; }
}
