/*======================================================
ZAPATERÍA CARLITOS
MAIN.CSS
======================================================*/

/***************
RESET
****************/

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

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#f7f7f7;

    color:#2c2c2c;

    overflow-x:hidden;

    line-height:1.6;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/**********************
VARIABLES
**********************/

:root{

--primary:#4B2268;

--primary-dark:#37194C;

--accent:#D6B16B;

--white:#ffffff;

--light:#fafafa;

--border:#ececec;

--text:#292929;

--text-light:#666;

--success:#25D366;

--shadow:

0 10px 35px rgba(0,0,0,.10);

--radius:18px;

--transition:.35s ease;

}

/**********************
CONTAINER
**********************/

.container{

max-width:1300px;

}

/**********************
LOADER
**********************/

#loader{

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:white;

z-index:99999;

display:flex;

justify-content:center;

align-items:center;

transition:.5s;

}

.spinner{

width:70px;

height:70px;

border-radius:50%;

border:4px solid #eee;

border-top:4px solid var(--primary);

animation:spin 1s linear infinite;

}

/**********************
NAVBAR
**********************/

#navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    padding:18px 0;

    background:rgba(18,18,18,.55);

    backdrop-filter:blur(8px);

    transition:.35s ease;

}

#navbar.scrolled{

    background:#91826F;

    box-shadow:0 10px 25px rgba(0,0,0,.20);

    padding:12px 0;

}

#navbar .container{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    transition:.35s;

}

.logo img{

    display:block;

    height:55px;

    opacity:0;

    transition:.35s;

}

#navbar.scrolled .logo{

    width:170px;

}

#navbar.scrolled .logo img{

    opacity:1;

}

#menu{

display:flex;

align-items:center;

gap:46px;

}

#menu a{

position:relative;    

color:white;

font-weight:600;

letter-spacing:.3px;

transition:.3s;

}

#menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#ffffff;

    transition:.30s;

}

#menu a:hover::after{

    width:100%;

}
#navbar.scrolled #menu a{

color:#ffffff;

}

#menu a:hover{

color:var(--accent);

}

.menu-toggle{

display:none;

background:none;

border:none;

font-size:16px;

color:white;

cursor:pointer;

}

#navbar.scrolled .menu-toggle{

color:var(--primary);

}

/**********************
HERO
**********************/

#hero{

position:relative;

height:100vh;

overflow:hidden;

display:flex;

align-items:center;

justify-content:center;

}

.hero-background{

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

overflow:hidden;

}

.hero-background img{

width:100%;

height:100%;

object-fit:cover;

animation:heroZoom 25s linear infinite alternate;

}

.hero-overlay{

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

background:

linear-gradient(

rgba(0,0,0,.55),

rgba(0,0,0,.55)

);

}

.hero-content{

position:relative;

z-index:20;

color:white;

text-align:center;

}

.hero-logo{

width:420px;

margin:0 auto 8px auto;

display:block;

filter:drop-shadow(0 4px 18px rgba(0,0,0,.35));

}

.hero-desde{

display:inline-block;

font-size:17px;

letter-spacing:4px;

text-transform:uppercase;

margin-top:8px;

margin-bottom:18px;

opacity:.9;

}

.hero-categorias{

display:flex;

justify-content:center;

align-items:center;

gap:18px;

flex-wrap:wrap;

margin-bottom:35px;

font-size:22px;

font-weight:300;

}

.separador{

color:var(--accent);

}

.hero-content h1{

font-size:54px;

font-weight:700;

margin-bottom:25px;

}

.hero-scroll{

position:absolute;

bottom:35px;

left:0;

width:100%;

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

color:white;

font-size:15px;

letter-spacing:1px;

text-align:center;

z-index:50;

}

.hero-scroll i{

margin-top:12px;

font-size:34px;

color:var(--accent);

animation:down 1.8s infinite;

}

.hero-scroll{

    transition:.3s;

}

.hero-scroll:hover{

    color:var(--accent);

}

/*======================================================
LOCALES
======================================================*/

#locales{

    padding:120px 0;

    background:white;

}

.section-title{

    text-align:center;

    margin-bottom:90px;

}

.section-title span{

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:14px;

    font-weight:600;

}

.section-title h2{

    margin-top:15px;

    margin-bottom:20px;

    font-size:46px;

    font-weight:700;

    color:var(--primary);

}

.section-title p{

    max-width:720px;

    margin:auto;

    color:var(--text-light);

    font-size:18px;

}

.local{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

    margin-bottom:140px;

}

.local:last-child{

    margin-bottom:0;

}

.local.invertido .local-imagen{

    order:2;

}

.local.invertido .local-info{

    order:1;

}

.local-imagen{

    position:relative;

    overflow:hidden;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.local-imagen img{

    width:100%;

    height:620px;

    object-fit:cover;

    transition:1.2s;

}

.local:hover .local-imagen img{

    transform:scale(1.06);

}

.local-info{

    position:relative;

}

.local-numero{

    display:inline-block;

    color:var(--accent);

    font-size:15px;

    letter-spacing:3px;

    margin-bottom:18px;

    font-weight:700;

}

.local-info h3{

    font-size:42px;

    color:var(--primary);

    margin-bottom:25px;

}

.direccion{

    display:flex;

    align-items:center;

    gap:12px;

    color:var(--text-light);

    font-size:18px;

    margin-bottom:40px;

}

.direccion i{

    color:var(--accent);

    font-size:20px;

}

.horarios{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-bottom:45px;

}

.horario{

    display:flex;

    justify-content:space-between;

    border-bottom:1px solid var(--border);

    padding-bottom:14px;

}

.horario strong{

    color:var(--primary);

}

.horario span{

    color:var(--text-light);

}

.local-botones{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.btn-whatsapp,

.btn-maps,

.btn-galeria{

    border:none;

    cursor:pointer;

    padding:15px 28px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

}

.btn-whatsapp{

    background:var(--success);

    color:white;

}

.btn-maps{

    background:var(--primary);

    color:white;

}

.btn-galeria{

    background:#eeeeee;

    color:var(--text);

}

.btn-whatsapp:hover{

    transform:translateY(-4px);

    box-shadow:

    0 12px 30px rgba(37,211,102,.35);

}

.btn-maps:hover{

    transform:translateY(-4px);

    background:var(--primary-dark);

}

.btn-galeria:hover{

    transform:translateY(-4px);

    background:#dddddd;

}

.btn-whatsapp i,

.btn-maps i,

.btn-galeria i{

    margin-right:10px;

}

/*======================================================
GALERIA
======================================================*/

.modal-content{

    border:none;

    border-radius:22px;

    overflow:hidden;

}

.modal-body{

    background:#111;

    padding:25px;

}

#imagenPrincipal{

    width:100%;

    max-height:75vh;

    object-fit:contain;

    border-radius:12px;

}

#miniaturas{

    display:flex;

    justify-content:center;

    gap:12px;

    margin-top:20px;

    flex-wrap:wrap;

}

#miniaturas img{

    width:90px;

    height:70px;

    object-fit:cover;

    border-radius:10px;

    cursor:pointer;

    opacity:.7;

    transition:.3s;

}

#miniaturas img:hover{

    opacity:1;

    transform:scale(1.05);

}

.btn-close{

    position:absolute;

    right:25px;

    top:25px;

    z-index:100;

    background:white;

    border-radius:50%;

}

/*======================================================
CARLITOS ONLINE
======================================================*/

#online{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.online-slider{

    position:absolute;

    inset:0;

}

.online-slide{

    position:absolute;

    inset:0;

    opacity:0;

    transition:opacity 1.5s ease;

}

.online-slide.active{

    opacity:1;

    z-index:2;

}

.online-slide img{

    width:100%;

    height:100%;

    object-fit:cover;

    animation:heroZoom 18s linear infinite alternate;

}

.online-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    z-index:3;

}

.online-content{

    position:relative;

    z-index:5;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

}

.online-content span{

    display:block;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:4px;

    margin-bottom:18px;

    font-weight:600;

}

.online-content h2{

    font-size:64px;

    font-weight:700;

    margin-bottom:25px;

}

.online-content p{

    max-width:700px;

    margin:auto;

    font-size:22px;

    margin-bottom:45px;

    opacity:.95;

}

.btn-online{

    display:inline-flex;

    align-items:center;

    gap:12px;

    background:var(--accent);

    color:var(--primary);

    padding:18px 42px;

    border-radius:50px;

    font-weight:700;

    transition:var(--transition);

}

.btn-online:hover{

    background:white;

    color:var(--primary);

    transform:translateY(-5px);

    box-shadow:var(--shadow);

}

/*======================================================
BANNERS
======================================================*/

#banners{

    padding:120px 0;

    background:var(--light);

}

.banner{

    display:block;

    overflow:hidden;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    margin-bottom:40px;

    transition:var(--transition);

}

.banner:last-child{

    margin-bottom:0;

}

.banner img{

    width:100%;

    display:block;

    transition:1s;

}

.banner:hover img{

    transform:scale(1.03);

}

.banner:hover{

    transform:translateY(-5px);

}

/*======================================================
HISTORIA
======================================================*/

#historia{

    padding:130px 0;

    background:white;

}

.historia-box{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.historia-box span{

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:14px;

    font-weight:600;

}

.historia-box h2{

    font-size:52px;

    margin:25px 0;

    color:var(--primary);

}

.historia-box p{

    font-size:20px;

    line-height:1.9;

    color:var(--text-light);

}

/*======================================================
CONTACTO
======================================================*/

#contacto{

    padding:120px 0 60px;

    background:#f7f7f7;

}

.contacto-redes{

    display:flex;

    justify-content:center;

    gap:30px;

    margin-top:60px;

}

.contacto-redes a{

    width:70px;

    height:70px;

    border-radius:50%;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--primary);

    font-size:28px;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.contacto-redes a:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-6px);

}

/*======================================================
FOOTER
======================================================*/

footer{

    background:#1F1F1F;

    color:white;

    padding:55px 0;

    text-align:center;

}

.footer-logo{

    display:block;

    width:180px;

    margin:0 auto 6px auto;

}

footer p{

    max-width:650px;

    margin:auto;

    opacity:.85;

    margin-bottom:25px;

}

footer small{

    opacity:.55;

}

.footer-desde{

    display:block;

    margin:0 0 20px;

    margin-bottom:15px;

    color:var(--accent);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:13px;

    font-weight:600;

}

.footer-redes{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:35px 0;

}

.footer-redes a{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.08);

    color:#fff;

    transition:.3s;

}

.footer-redes a:hover{

    background:var(--accent);

    color:var(--primary);

    transform:translateY(-4px);

}

section{

    position:relative;

}


.local-imagen,
.banner,
.online-slide img{

    box-shadow:var(--shadow);

}

button,
a,
img{

    transition:var(--transition);

}

/*======================================================
ANIMACIONES
======================================================*/

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

@keyframes heroZoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.10);

    }

}

@keyframes down{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(10px);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*======================================================
EFECTOS GENERALES
======================================================*/

.hero-content>*{

    animation:fadeUp .8s ease forwards;

}

.hero-content h1{

    animation-delay:.2s;

}

.hero-scroll{

    animation:fadeUp 1.2s ease forwards;

}

.section-title{

    animation:fadeUp .7s ease;

}

.local{

    animation:fadeUp .8s ease;

}

.historia-box{

    animation:fadeUp .8s ease;

}

.contacto-redes{

    animation:fadeUp .8s ease;

}

/*======================================================
SCROLLBAR
======================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#efefef;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/*======================================================
SELECCIÓN
======================================================*/

::selection{

    background:var(--primary);

    color:white;

}

/*======================================================
BOTONES
======================================================*/

button{

    font-family:inherit;

}

.btn-online,
.btn-whatsapp,
.btn-maps,
.btn-galeria{

    transition:

    transform .30s,

    background .30s,

    color .30s,

    box-shadow .30s;

}

/*======================================================
IMÁGENES
======================================================*/

img{

    user-select:none;

    -webkit-user-drag:none;

}

/*======================================================
UTILIDADES
======================================================*/

.text-center{

    text-align:center;

}

.mt-0{margin-top:0;}
.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-0{margin-bottom:0;}
.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}



.contacto-box{

    display:flex;

    justify-content:center;

    gap:30px;

    margin:60px 0;

    flex-wrap:wrap;

}

.contacto-item{

    display:flex;

    align-items:center;

    gap:20px;

    background:white;

    padding:25px 35px;

    border-radius:18px;

    color:var(--text);

    box-shadow:var(--shadow);

    transition:.3s;

    min-width:320px;

}

.contacto-item:hover{

    transform:translateY(-5px);

}

.contacto-item i{

    font-size:40px;

    color:var(--primary);

}

.contacto-item.whatsapp{

    background:#25D366;

    color:white;

}

.contacto-item.whatsapp i{

    color:white;

}

.contacto-item.whatsapp span{

    color:white;

}

.contacto-item.whatsapp strong{

    color:white;

}

.contacto-item.whatsapp:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(37,211,102,.35);

}

.contacto-item strong{

    display:block;

    font-size:18px;

    margin-bottom:5px;

}

.contacto-item span{

    color:var(--text-light);

}

/*======================================================
BACK TO TOP
======================================================*/

#backTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    font-size:20px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 10px 30px rgba(0,0,0,.20);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s;

    z-index:9999;

}

#backTop.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

#backTop:hover{

    background:var(--accent);

    color:var(--primary);

    transform:translateY(-4px);

}

.contacto-accion{

    margin-top:45px;

    margin-bottom:45px;

    text-align:center;

}

.contacto-accion .btn-online{

    background:#25D366;

    color:white;

}

.contacto-accion .btn-online:hover{

    background:#1DA851;

    color:white;

}

/*======================================================
FIN
======================================================*/