:root {
    --crema: #F5F5DC;
    --chocolate: #3D2B1F;
    --azul-local: #003366;
    --blanco: #ffffff;
    --gris-claro: #f4f4f4;
}

html {
    scroll-behavior: smooth;
}

* { margin: 0; line-height: 1.4; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--crema);
    color: var(--chocolate);
    line-height: 1.6;
}

h1, h2 { font-family: 'Playfair Display', serif; }

.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navbar {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-img {
    height: 40px;
    margin-right: 15px;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
}

.nav-links { list-style: none; display: flex; gap: 20px; }

.nav-links a { 
    color: #FF7F50 !important; 
    text-decoration: none; 
    font-size: 14px; 
    text-transform: uppercase; 
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links a:hover { 
    color: #AEE2FF !important;
    text-shadow: 0 0 10px rgba(174, 226, 255, 0.3);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--blanco);
    padding-top: 100px;
}

.hero-content h1 { font-size: 4rem; margin-bottom: 10px; }

.btn-primary {
    margin-top: 20px;
    padding: 15px 35px;
    background-color: #FF7F50;
    color: var(--blanco);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid #87CEEB;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.2);
}

.btn-primary:hover {
    background-color: #87CEEB;
    color: var(--chocolate);
    border-color: var(--chocolate);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.4);
}

/* SECCIONES */
.section { padding: 80px 0; }

.section-title { 
    text-align: center; 
    font-size: 3rem; 
    margin-bottom: 50px;
    color: #FF7F50 !important;
    font-weight: bold !important;
}

.grid-pasteleria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (min-width: 1024px) {
    .grid-pasteleria {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    display: flex;
    flex-direction: column;
}

.card img, .video-card video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

.card-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.9), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(61, 43, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--chocolate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card:hover img, .video-card:hover video {
    transform: scale(1.05);
}

.card-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.card-tag.especialidad {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #AEE2FF;
    color: #3D2B1F;
    font-weight: 600;
}

.card-tag.classico {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #AEE2FF;
    color: #3D2B1F;
    font-weight: 600;
}

.card-tag.nuevo {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #AEE2FF;
    color: #3D2B1F;
    font-weight: 600;
}

/* RITUAL CAFÉ */
.ritual-bg { background-color: var(--blanco); }

.flex-ritual {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.ritual-video, .ritual-text { flex: 1; min-width: 300px; }

.ritual-video video { width: 100%; border-radius: 15px; }

.menu-item {
    margin-top: 16px;
}

.menu-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FF7F50 !important;
    margin-bottom: 2px;
}

.menu-item p {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    font-style: italic;
    margin: 0; line-height: 1.4;
}

.menu-highlight {
    color: #FF7F50 !important;
}

/* COFFEE MENU BOUTIQUE */
.coffee-header {
    text-align: center;
    margin-bottom: 60px;
}

.coffee-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--chocolate);
    margin-bottom: 10px;
}

.coffee-header p {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.boutique-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-column {
    text-align: left;
}

.menu-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--chocolate);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--crema);
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 120px;
    }
    
    .boutique-menu {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.menu-item {
    margin-top: 16px;
}

.menu-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FF7F50 !important;
    margin-bottom: 2px;
}

.menu-item p {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    font-style: italic;
    margin: 0; line-height: 1.4;
}

.menu-highlight {
    color: #FF7F50 !important;
}

/* MAPA CON ESTILO PERSONALIZADO */
.map-visual {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .map-visual {
        padding-left: 20px;
        padding-right: 20px;
    }
        display: flex;
        flex-direction: column;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    iframe {
        border-radius: 15px;
    }

    }
    
    .location-info {
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
        min-height: 400px;
    }
    
    .location-info h3 {
        font-size: 1.5rem;
    }
    
    #ritual {
        scroll-margin-top: 130px;
    }
    
    #ubicacion {
        scroll-margin-top: 130px;
        padding-bottom: 160px;
    }
}
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background: var(--crema);
    padding: 3px;
    filter: grayscale(10%) contrast(1.1) sepia(10%);
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 17px;
    transition: filter 0.5s ease;
}

.map-wrapper:hover {
    filter: grayscale(5%) contrast(1.2) sepia(5%);
}

.heat-map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle at center,
        rgba(255, 165, 0, 0.2) 0%,
        rgba(255, 165, 0, 0.15) 30%,
        rgba(255, 165, 0, 0.1) 50%,
        rgba(255, 165, 0, 0.05) 70%,
        rgba(255, 165, 0, 0) 100%
    );
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.location-info {
    background: var(--blanco);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 2px solid var(--crema);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px;
}

.location-info h3 {
    color: var(--chocolate);
    margin-bottom: 30px;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    padding: 10px 12px;
    background: rgba(245, 245, 220, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(245, 245, 220, 0.5);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 19px;
    min-width: 28px;
    text-align: center;
}

.info-item strong {
    color: #FF7F50 !important;
    font-weight: 600;
    font-size: 14px;
}

.info-item div {
    flex: 1;
    line-height: 1.7;
    font-size: 14px;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    background: #FF7F50 !important;
    border: 2px solid #AEE2FF !important;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    transition: all 0.4s ease;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(255, 127, 80, 0.3);
    position: relative;
    z-index: 100;
}

.btn-maps:hover {
    background: #AEE2FF !important;
    color: var(--chocolate) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(174, 226, 255, 0.4);
}

.maps-icon {
    font-size: 18px;
}

/* FOOTER */
.footer {
    background-color: var(--chocolate);
    color: var(--blanco);
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FF7F50 !important;
    color: white !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #AEE2FF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 127, 80, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    background-color: #AEE2FF !important;
    color: var(--chocolate) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(174, 226, 255, 0.4);
}

.whatsapp-icon {
    font-size: 24px;
}

/* BACK TO TOP BUTTON */
.back-to-top,
#scrollUp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #FF7F50 !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #AEE2FF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    cursor: pointer;
}

.back-to-top.visible,
#scrollUp.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover,
#scrollUp:hover {
    background-color: #87CEEB !important;
    color: var(--chocolate) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

.back-icon {
    font-size: 20px;
}
/* SOCIAL ICONS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #87CEEB;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #FF7F50;
    transform: translateY(-2px);
}

.social-icon:hover svg {
    fill: var(--crema);
}
/* NAVIGATION UTILITIES */
.nav-gps,
.nav-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blanco) !important;
    color: #FF7F50 !important;
    border: 2px solid #FF7F50 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-gps:hover,
.nav-share:hover {
    background: #FF7F50 !important;
    color: var(--blanco) !important;
    transform: translateY(-2px);
}

.nav-gps svg,
.nav-share svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-gps,
    .nav-share {
        width: 28px;
        height: 28px;
    }
    
    .nav-gps svg,
    .nav-share svg {
        width: 14px;
        height: 14px;
    }
    
    #map {
        display: block !important;
        visibility: visible !important;
        min-height: 300px !important;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    iframe {
        border-radius: 15px;
    }

        display: block !important;
        visibility: visible !important;
    }
    
    .location-info {
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
        min-height: 400px;
    }
    
    .location-info h3 {
        font-size: 1.5rem;
    }
    
    #ritual {
        scroll-margin-top: 130px;
    }
    
    #ubicacion {
        scroll-margin-top: 130px;
        padding-bottom: 160px;
    }
}
#map-container { 
    display: block !important; 
    visibility: visible !important; 
    overflow: hidden; 
    border-radius: 15px; 
}
@media (max-width: 768px) {
    .map-visual {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    iframe {
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .location-info {
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .btn-maps {
        margin-top: 10px;
    }
}
.action-buttons {
    text-align: center;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .action-buttons {
        margin: 10px 0;
    }
}
@media (max-width: 768px) {
    #ubicacion {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .map-visual {
        padding: 0 20px;
    }
    
    #map-container {
        width: 100%;
        margin-bottom: 20px;
    }
    
    #map-container iframe {
        border-radius: 15px;
        width: 100%;
    }
    
    .location-info {
        width: 100%;
    }
}
@media (max-width: 768px) {
    #ubicacion-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    #map, 
    .contact-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
}
@media (max-width: 768px) {
    #ubicacion-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    #map, 
    .contact-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .map-visual {
        padding: 0 20px;
        width: 100%;
    }
    
    .action-buttons {
        text-align: center;
        margin-top: 20px;
    }
}
/* MAPA CON ESTILO PERSONALIZADO */
.map-visual {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .map-visual {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        gap: 20px;
        padding: 0 20px;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    iframe {
        border-radius: 15px;
    }
}
