﻿:root {
    --text-color: #f3f1dc;
    --heading-color: #ffffff;
    --accent-color: #F58735;
    --bg-dark: #52453B;
    --bg-brown: #7B614D;
    --bg-light: #D8BE74;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 74px;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Satisfy', cursive;
    color: var(--heading-color);
    font-weight: 200;
}

h2 {
    font-size: 50px;
}

a {
    color: #fff;
    transition: color 0.3s;
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(83, 69, 61, 0.95);
    z-index: 1000;
    transition: background-color 0.3s;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    max-height: 51px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
}

/* SHAPES (Fixed) */
.shape {
    position: absolute;
    left: 0;
    width: 100%;
    direction: ltr;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    line-height: 0;
}

.shape svg {
    display: block;
    width: calc(100% + 1.3px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.shape-bottom {
    bottom: -1px;
}

.shape-top {
    top: -1px;
}

.shape.negative svg {
    transform: translateX(-50%) rotate(180deg);
}

.shape.drops {
    height: 138px;
}

.shape.drops svg {
    height: 100%;
    transform: translateX(-50%) rotate(180deg);
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3D332F;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlider 15s infinite;
}

.slide-1 {
    background-image: url('images/fondo-banner-1.jpg');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('images/fondo-banner-3.jpg');
    animation-delay: 5s;
}

.slide-3 {
    background-image: url('images/fondo-banner-4.jpg');
    animation-delay: 10s;
}

@keyframes fadeSlider {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    33% {
        opacity: 1;
        transform: scale(1);
    }

    43% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #3D332F 0%, rgba(242, 41, 91, 0) 100%);
    opacity: 0.7;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 74px;
}

.hero-content h1 {
    font-size: 75px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin: 10px auto;
}

.divider .line {
    height: 1.2px;
    background: rgba(250, 212, 105, 0.65);
    flex: 1;
}

.divider .text {
    padding: 0 20px;
    font-size: 18px;
    color: #fff;
}

.hero .shape-bottom svg {
    height: 30px;
}

/* SABORES */
.sabores-section {
    background-color: var(--bg-dark);
    padding: 3% 5%;
    position: relative;
    z-index: 1;
}

.sabores-section h2 {
    margin-bottom: 10px;
}

.sabores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: left;
}

.sabor-box h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sabor-box p {
    font-size: 14px;
}

/* DELIVERY */
.delivery-section {
    background-color: var(--bg-brown);
    padding: 150px 5% 5% 5%;
    position: relative;
    z-index: 0;
}

.delivery-section .shape-top {
    transform: scaleY(-1);
}

.delivery-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.delivery-left,
.delivery-right {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.delivery-left .nro {
    font-size: 50px;
    color: var(--accent-color);
    font-family: 'Satisfy', cursive;
    line-height: 1.2;
    margin-top: 20px;
}

.delivery-left .nro-2 {
    font-size: 40px;
    color: var(--accent-color);
    font-family: 'Satisfy', cursive;
    line-height: 1.2;
}

.delivery-left .horarios-title {
    margin-top: 30px;
    margin-bottom: 10px;
}

.delivery-left p {
    color: var(--accent-color);
    font-weight: 500;
}

.icon-wsp {
    color: #25D366;
    font-size: 80px;
    display: inline-block;
    animation: grow-bounce 2s infinite;
    margin: 20px 0;
}

@keyframes grow-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.delivery-right img {
    max-width: 100%;
    transition: transform 0.3s;
}

.delivery-right img:hover {
    transform: scale(1.05);
}

.delivery-divider {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin: 30px auto 10px;
}

.delivery-divider .line {
    height: 1.5px;
    background: rgba(250, 212, 105, 0.65);
    flex: 1;
}

.delivery-divider .icon {
    color: rgba(250, 212, 105, 0.65);
    font-size: 20px;
    padding: 0 15px;
}

/* ANIMATION GROW */
.grow {
    transition: transform 0.3s;
}

.grow:hover {
    transform: scale(1.05);
}

/* REPOSTERIA */
.parallax-section {
    position: relative;
    overflow: hidden;
    background-image: url('images/fondo_seccion_2b_light.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 5% 5%;
    text-align: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--bg-dark);
    opacity: 0.6;
    filter: none;
    z-index: 0;
}

.parallax-section>h2,
.parallax-section .reposteria-grid,
.parallax-section .palitos-grid {
    position: relative;
    z-index: 3;
}

.parallax-section .shape-top svg,
.parallax-section .shape-bottom svg {
    height: 30px;
}

.reposteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
    text-align: left;
}

.image-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.col-left .image-box {
    flex-direction: row;
}

.col-right .image-box {
    flex-direction: row-reverse;
    text-align: right;
}

.image-box img {
    width: 100%;
    border-radius: 50%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.image-box .img-wrapper {
    flex: 0 0 auto;
    width: 50%;
    max-width: 150px;
}

.image-box h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

/* ARMA TU TORTA */
.arma-torta {
    background-color: var(--bg-light);
    padding: 3% 5%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.arma-divider {
    width: 80%;
    margin: 10px auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arma-divider .line {
    height: 1.8px;
    background: #fff;
    flex: 1;
}

.arma-divider .text {
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--bg-dark);
    line-height: 1.4;
}

.btn-round {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
}

.btn-round:hover {
    background-color: var(--bg-brown);
    color: #fff;
    transform: scale(1.05);
}

/* PALITOS Y ALFAJORES */
.palitos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.palito-box img {
    width: 80%;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 10px;
}

.palito-box h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.palito-box p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* NOSOTROS */
.nosotros-section {
    background-color: var(--bg-brown);
    padding: 8% 5%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nosotros-grid {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.nosotros-grid>div {
    flex: 1;
    min-width: 300px;
}

.nosotros-grid img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.nosotros-text {
    text-align: left;
    padding: 0 5%;
}

.nosotros-text h2 {
    text-align: center;
    margin-bottom: 20px;
}

.nosotros-text p {
    margin-bottom: 15px;
}

/* CONTACTO */
.contacto-section {
    position: relative;
    background-image: url('images/fondo_contacto_light.jpg');
    background-size: cover;
    background-position: center;
    padding: 8% 5%;
}

.contacto-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--bg-dark);
    opacity: 0.92;
    z-index: 0;
}

.contacto-section .shape-top svg {
    height: 30px;
}

.contacto-grid {
    position: relative;
    z-index: 5;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.contacto-grid>div {
    flex: 1;
    min-width: 300px;
}

.contacto-grid h2 {
    text-align: center;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.social-links i {
    font-size: 50px;
    color: #f3f1dc;
    transition: all 0.3s;
}

.social-links a:hover i {
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-family: 'Raleway', sans-serif;
    resize: vertical;
    border-radius: 3px;
}

.form-control::placeholder {
    color: var(--accent-color);
    opacity: 0.8;
}

.submit-btn {
    width: 100%;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px;
    border: none;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #fff;
    color: var(--accent-color);
}

.info-list {
    list-style: none;
    padding: 0 0 0 12%;
}

.info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.info-list i {
    color: #fff;
    font-size: 16px;
    margin-top: 5px;
}

.map-container {
    display: flex;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    filter: brightness(100%) contrast(76%);
}

footer {
    background-color: var(--bg-dark);
    padding: 20px;
    text-align: center;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

footer b {
    color: #fff;
    font-weight: bold;
}

.wsp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 1px 6px 24px rgba(7, 94, 84, 0.24);
    z-index: 9000;
    transition: background-color 0.3s;
}

.wsp-float:hover {
    background-color: #128C7E;
    color: #fff;
}

@media(max-width: 1024px) {
    .reposteria-grid {
        grid-template-columns: 1fr;
    }

    .col-left .image-box,
    .col-right .image-box {
        flex-direction: row;
        text-align: left;
    }
}

@media(max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .palitos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-list {
        padding: 0;
    }

    .col-left .image-box,
    .col-right .image-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}