@font-face {
    font-family: "Asiana";
    src: url("/font/Asiana.ttf") format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --colorPrimary: #f1738d;
    --colorSecundary: #f8d26f;
    --colorPink: #f6baac;
    --colorBrown: #4B4342;
    --colorBg: #fbefde;
    --font-Elms: 'Elms Sans', sans-serif;
    --font-Asiana: 'Asiana', sans-serif;
}

body {
    font-family: var(--font-Elms);
    background-color: var(--colorBg);
    font-size: 1.2em;
    padding-top: 100px;
}
.elms {
    font-family: var(--font-Elms) !important;
}
.navbar {
    font-size: 18px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--colorBg);
    padding: 1rem 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.3rem 0;
}

.nav-link {
    color: var(--colorBrown) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    transform: translateY(-3px);
}

.nav-link.active {
    color: var(--colorPrimary) !important;
}

.logo-container {
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.logo {
    width: 180px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: all 0.4s ease;
}

.navbar.scrolled .logo {
    width: 120px;
    top: -60px;
}

.box-img-main{
    height: 800px;
    overflow: hidden;
}

.logo-center{
    max-width: 700px; /* opcional para que no se haga gigante */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--colorPrimary);
    font-family: var(--font-Asiana);
    font-size: 2.5em;
    letter-spacing: 2px;
}

.card-body{
    width: 80% !important;
    background-color: var(--colorSecundary);
    border-left: 1px solid var(--colorPrimary);
    border-right: 1px solid var(--colorPrimary);
    border-bottom: 3px solid var(--colorPrimary);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.card img{
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.img-cafeteria{
    object-fit: cover;
    height: 750px;
}

.img-cafeteria-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--colorBg) 0%, transparent 40%, transparent 60%, var(--colorBg) 100%);
    pointer-events: none;
    z-index: 1;
}

.box-cafeteria{
    background-color: #fbefde81; /* 50% más transparente */
    border: 2px solid var(--colorPink);
    border-radius: 40px;
    padding: 30px;
    z-index: 2;
    width: 90%;
    max-width: 600px;
}

.btn-whatsapp {
    background-color: var(--colorPrimary);
    color: white;
    border: 2px solid var(--colorPink);
    border-radius: 30px;
    padding: 16px 40px;
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
}

.btn-whatsapp:hover {
    background-color: var(--colorSecundary);
    color: var(--colorPrimary);
    transform: translateY(-2px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2);
}

.caracteristica-badge {
    background: linear-gradient(135deg, rgba(246, 186, 172, 0.3), rgba(248, 210, 111, 0.3));
    border: 2px solid var(--colorPink);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.caracteristica-badge:hover {
    transform: translateX(5px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--colorPrimary);
    background: linear-gradient(135deg, rgba(246, 186, 172, 0.5), rgba(248, 210, 111, 0.5));
}

.caracteristica-icon-small {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--colorPrimary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.caracteristica-badge:hover .caracteristica-icon-small {
    transform: scale(1.1) rotate(-5deg);
    background: var(--colorSecundary);
    color: var(--colorPrimary);
}

.caracteristica-content {
    flex: 1;
    text-align: left;
}

.caracteristica-content h6 {
    color: var(--colorPrimary);
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.caracteristica-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
}

.btn-menu {
    background-color: var(--colorSecundary);
    color: var(--colorPrimary);
    border: 3px solid var(--colorPrimary);
    border-radius: 30px;
    padding: 18px 45px;
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-menu svg {
    width: 28px;
    height: 28px;
}

.btn-menu:hover {
    background-color: var(--colorPrimary);
    color: white;
    border-color: var(--colorPrimary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.25);
}

/* Sección de contacto */
.mapa-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container {
    border-left: 1px solid var(--colorPrimary);
    border-right: 1px solid var(--colorPrimary);
    border-top: 1px solid var(--colorPrimary);
    border-bottom: 3px solid var(--colorPrimary);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contacto-form .form-label {
    color: var(--colorPrimary);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contacto-form .form-control {
    background-color: white;
    border: 2px solid var(--colorPink);
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contacto-form .form-control:focus {
    border-color: var(--colorPrimary);
    box-shadow: 0 0 0 0.2rem rgba(241, 115, 141, 0.25);
    background-color: #fff;
}

.contacto-form .form-control::placeholder {
    color: #ccc;
}

.btn-enviar {
    background-color: var(--colorPrimary);
    color: white;
    border: 2px solid var(--colorPink);
    border-radius: 30px;
    padding: 16px 40px;
    font-size: 1.3rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-enviar svg {
    width: 24px;
    height: 24px;
}

.btn-enviar:hover {
    background-color: var(--colorSecundary);
    color: var(--colorPrimary);
    border-color: var(--colorPrimary);
    transform: translateY(-2px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Medium (MD) - ≥768px */
@media (min-width: 768px) {
    .box-cafeteria{
        padding: 50px;
        width: 70%;
    }
}

/* Large (LG) - ≥992px */
@media (min-width: 992px) {
    .navbar {
        height: 100px;
    }
}

/* Extra Large (XL) - ≥1200px */
@media (min-width: 1200px) {}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--colorPink) 0%, var(--colorSecundary) 100%);
    color: #333;
    margin-top: 5rem;
}

.footer-logo {
    width: 120px;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.1));
}

.footer-logo-section {
    min-height: 400px;
}

.footer-tagline {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    font-style: italic;
}

.footer-title {
    color: var(--colorPrimary);
    font-family: var(--font-Asiana);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--colorPrimary);
    transform: translateX(5px);
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.footer-info li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: white;
    border: 2px solid var(--colorPrimary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--colorPrimary);
    transition: all 0.3s ease;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: var(--colorPrimary);
    color: white;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--colorPrimary), transparent);
    opacity: 0.5;
}

.footer-copyright {
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright svg {
    color: var(--colorPrimary);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-link {
    color: var(--colorPrimary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-link:hover {
    transform: translateY(-2px);
    color: var(--colorPrimary);
}

.footer-nav-link {
    color: #555;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-link:hover {
    color: var(--colorPrimary);
    transform: translateX(5px);
}

.footer-logo-large {
    width: 180px;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.1));
}

.footer-tagline-large {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-logo-section {
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .footer-title {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 40px;
    }

    .logo-center {
        max-width: 90%;
    }

    .footer-logo-section {
        min-height: auto;
        margin-bottom: 1.5rem;
    }

    .footer-logo {
        width: 100px;
    }

    .footer-logo-large {
        width: 140px;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-tagline-large {
        font-size: 1.2rem;
    }
}

/* Botones Flotantes */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn-pokeball,
.btn-scroll-top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--colorPrimary);
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-pokeball {
    animation: bounce 2s infinite;
}

.btn-pokeball img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.btn-scroll-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top svg {
    color: var(--colorPrimary);
}

.btn-pokeball:hover,
.btn-scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--colorPrimary);
}

.btn-pokeball:hover img {
    filter: brightness(1.2);
}

.btn-scroll-top:hover svg {
    color: white;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Botón pokebola en navbar mobile */
.btn-pokeball-mobile {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.btn-pokeball-mobile img {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive ajustes */
@media (max-width: 991px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .btn-pokeball,
    .btn-scroll-top {
        width: 50px;
        height: 50px;
    }
    
    .btn-pokeball img {
        width: 40px;
        height: 40px;
    }
}