:root {
    --primary-color: #95CEBB; 
    --secondary-color: #2f6f61; 
    --accent-color: #ffd166;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    color: #333;
    touch-action: pan-y;
}

.site-header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: transparent;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    overflow: visible;
}

.site-header:hover,
.site-header.navbar-scrolled,
.site-header:focus-within {
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.navbar-brand { font-size: 1.5rem; letter-spacing: 1px; }
.navbar-brand img { height: 46px; width: auto; }
.site-header .nav-link { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.site-header:hover .nav-link,
.site-header.navbar-scrolled .nav-link,
.site-header:focus-within .nav-link { color: #333; text-shadow: none; }
.site-header .navbar-toggler { border-color: rgba(255,255,255,0.75); }
.site-header .navbar-toggler-icon { filter: brightness(0) invert(1); }
.site-header:hover .navbar-toggler,
.site-header.navbar-scrolled .navbar-toggler,
.site-header:focus-within .navbar-toggler { border-color: rgba(0,0,0,0.15); }
.site-header:hover .navbar-toggler-icon,
.site-header.navbar-scrolled .navbar-toggler-icon,
.site-header:focus-within .navbar-toggler-icon { filter: none; }

.hero-section { 
    background: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), url('../images/panoramica-tienda_2.webp') center/cover no-repeat; 
    color: white; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0; 
    margin-bottom: 0;
}

.hero-section .container {
    text-shadow: 0 2px 16px rgba(0,0,0,0.55);
    transform: translateY(-4rem);
}

.hero-section .d-flex {
    transform: translateY(4rem);
}
.section-padding { padding: 80px 0; }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); padding: 12px 30px; font-weight: 600; }
.btn-primary:hover { background-color: #73b7a1; border-color: #73b7a1; }

.card-service { 
    transition: all 0.3s ease; 
    border: 1px solid #eee;
    border-radius: 15px;
}

.card-service:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(149, 206, 187, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i { font-size: 1.8rem; color: var(--primary-color); }

.cosplay-banner {
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.cosplay-banner::after {
    content: "\F4D1"; /* Bootstrap icon code for magic */
    font-family: "bootstrap-icons";
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 15rem;
    opacity: 0.1;
}

.costume-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.costume-thumb {
    aspect-ratio: 1;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.costume-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.costume-thumb:hover img,
.costume-thumb:focus-visible img {
    transform: scale(1.06);
}

.costume-thumb:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.costume-note {
    position: relative;
    z-index: 1;
    color: #444;
    font-style: italic;
}

.event-copy {
    max-width: 920px;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.event-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.12);
    display: block;
}

.image-preview {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.image-preview.is-visible {
    display: flex;
}

.image-preview img {
    max-width: min(92vw, 960px);
    max-height: 86vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    object-fit: contain;
}

footer { background-color: #dcefe8; }
footer,
footer .text-white,
footer a,
footer i {
    color: #000 !important;
}

footer hr {
    border-color: #000;
    opacity: 1;
}

footer .small {
    color: #000;
    opacity: 1;
}

.footer-logo {
    max-width: 190px;
    height: auto;
}

.footer-content {
    column-gap: clamp(4rem, 11vw, 9rem);
}

.footer-menu a {
    font-weight: 400;
    text-decoration: none;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 0.5rem 2rem;
}

.footer-menu a:hover {
    text-decoration: underline;
}

.footer-privacy {
    max-width: none;
    color: #444 !important;
    font-style: italic;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2050;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1120px;
    margin: 0 auto;
}

.cookie-banner__text {
    color: #333;
    font-size: 0.95rem;
}

.cookie-banner__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.nav-link { font-weight: 500; }
.nav-link:hover { color: var(--primary-color) !important; }

.site-header .navbar-nav {
    gap: 0.5rem;
}

.site-header .nav-link {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.workshop-carousel img {
    height: min(78vh, 780px);
    min-height: 460px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.workshop-video {
    display: block;
    width: min(100%, 360px);
    aspect-ratio: 9 / 16;
    max-height: 78vh;
    border-radius: 8px;
    background-color: #000;
    object-fit: cover;
}

.workshop-story {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

#contacto .text-primary {
    color: var(--primary-color) !important;
}

.error-page {
    min-height: 100vh;
    background: #f8fbfa;
}

.error-page__main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.error-page__panel {
    width: min(100%, 680px);
    padding: clamp(2rem, 5vw, 4rem);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.error-page__brand img {
    width: min(130px, 46vw);
    height: auto;
}

.error-page__code {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

@media (max-width: 991.98px) {
    .site-header {
        min-height: 82px;
        padding-top: max(0.75rem, env(safe-area-inset-top));
        padding-bottom: 0.45rem;
    }

    .site-header > .container {
        min-height: 62px;
        align-items: center;
    }

    .site-header .navbar-brand {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-header .navbar-brand img {
        display: block;
        transform: translateY(4px);
    }

    .site-header .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        margin: 0;
        padding: 0;
        border-radius: 50%;
        transform: translate(-5px, 4px);
    }

    .site-header .navbar-collapse {
        background-color: #fff;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .site-header .navbar-collapse .nav-link {
        color: #333;
        text-shadow: none;
    }

    .site-header .navbar-nav {
        gap: 0;
    }

    .site-header .nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .cookie-banner__content {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

    .cookie-banner__actions .btn {
        flex: 1;
    }

}


