@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-gold: #efe8ac;
    --color-gold-hover: #f9f5d3;
    --color-red-nav: #9f2b2b;
    --color-bg-dark: #121212;
    --color-text-white: #ffffff;
    --color-text-gray: #e6e6e6;
    --font-heading: 'Abril Fatface', serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1100px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    background-image: url('../images/Art_Noveau_3_1.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    color: var(--color-text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header & Logo */
header {
    padding: 25px 0 15px 0;
    border-bottom: 1px solid rgba(239, 232, 172, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-container a {
    display: block;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(239, 232, 172, 0.25);
}

.logo-container a:hover {
    transform: scale(1.04);
    box-shadow: 0 0 20px rgba(239, 232, 172, 0.4);
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation - Red Menu Bar */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    background-color: var(--color-red-nav);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    border-radius: 4px;
    overflow: hidden;
}

nav ul li a {
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 15px;
    display: block;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li.active a {
    color: var(--color-red-nav) !important;
    background-color: var(--color-text-white);
}

/* Hamburger Menu (Mobile) */
.nav-toggle {
    display: none;
    background: var(--color-red-nav);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text-white);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Area (Keyvisual) */
.hero {
    text-align: center;
    padding: 45px 20px;
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    line-height: 1.45;
    color: var(--color-text-white);
    margin-bottom: 20px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--color-gold);
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Main Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 35px;
    padding: 10px 0 50px 0;
}

.main-grid.full-width {
    grid-template-columns: 1fr;
}

/* Card Styling - Transparent overlays as in original vars.css */
.card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    margin-bottom: 30px;
}

/* Main content wrapper transparency (rgba 0,0,0,0.4) */
main.card {
    background: rgba(0, 0, 0, 0.45);
}

/* Sidebar transparency (rgba 0,0,0,0.75) */
aside.card {
    background: rgba(0, 0, 0, 0.78);
}

.card h1 {
    font-family: var(--font-heading);
    font-weight: normal;
    color: var(--color-gold);
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.card h2 {
    font-family: var(--font-heading);
    font-weight: normal;
    color: var(--color-gold);
    font-size: 1.7rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.card p {
    color: var(--color-text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: justify;
}

.card strong {
    color: var(--color-text-white);
}

.card a.accent-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid var(--color-gold);
    transition: var(--transition);
}

.card a.accent-link:hover {
    color: var(--color-text-white);
    border-color: var(--color-text-white);
}

/* Opening Hours Widget */
.opening-hours h3 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(239, 232, 172, 0.2);
    padding-bottom: 8px;
    font-weight: normal;
}

.opening-hours-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 174, 96, 0.2);
    border: 1px solid #27ae60;
    color: #2ecc71;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.opening-hours-status svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
}

.opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oh-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.oh-row:last-child {
    border: none;
}

.oh-row.today {
    color: var(--color-gold);
    font-weight: bold;
    border-bottom-color: rgba(239, 232, 172, 0.3);
}

/* Slideshow Widget */
.slideshow-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: var(--color-gold);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
}

.slideshow-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.slideshow-prev { left: 15px; }
.slideshow-next { right: 15px; }

/* Grid Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(239, 232, 172, 0.15);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-title {
    display: none;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid rgba(239, 232, 172, 0.3);
    border-radius: 4px;
}

.lightbox-caption {
    margin-top: 15px;
    color: var(--color-gold);
    font-size: 1.1rem;
    text-align: center;
    font-family: var(--font-heading);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--color-text-white);
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    color: var(--color-text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.lightbox-nav-prev { left: -70px; }
.lightbox-nav-next { right: -70px; }

/* Separator */
.separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(239, 232, 172, 0) 0%, rgba(239, 232, 172, 0.4) 50%, rgba(239, 232, 172, 0) 100%);
    margin: 30px 0;
}

/* Map Widget */
.map-widget-container {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(239, 232, 172, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.map-widget-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* PDF Download Card */
.pdf-download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(239, 232, 172, 0.05);
    border: 1px dashed rgba(239, 232, 172, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    transition: var(--transition);
}

.pdf-download-card:hover {
    background: rgba(239, 232, 172, 0.08);
    border-color: var(--color-gold);
}

.pdf-icon {
    font-size: 2.8rem;
    color: #e74c3c;
}

.pdf-details {
    flex-grow: 1;
}

.pdf-details h4 {
    font-size: 1.1rem;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.pdf-details p {
    font-size: 0.85rem;
    color: var(--color-text-gray);
    margin: 0;
}

.btn-download {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--color-gold);
    font-weight: 500;
}

.form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 15px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(239, 232, 172, 0.15);
}

.btn-submit {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--color-gold-hover);
    transform: translateY(-1px);
}

/* Tienda Categories Grid */
.tienda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.tienda-item {
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tienda-item:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 232, 172, 0.3);
}

.tienda-img-wrapper {
    height: 180px;
    overflow: hidden;
}

.tienda-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tienda-item:hover .tienda-img-wrapper img {
    transform: scale(1.05);
}

.tienda-info {
    padding: 20px;
}

.tienda-info h3 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.tienda-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--color-text-gray);
}

/* Footer styling */
footer {
    border-top: 1px solid rgba(239, 232, 172, 0.15);
    padding: 40px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-address,
.footer-contact {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-text-white);
    font-weight: normal;
}

.footer-contact span.gold {
    color: var(--color-gold);
}

.footer-contact a {
    color: var(--color-text-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

/* Mobile responsive styling overrides */
@media (max-width: 850px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-nav-prev { left: -20px; }
    .lightbox-nav-next { right: -20px; }
}

@media (max-width: 768px) {
    .header-inner {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-toggle {
        display: block;
        align-self: flex-end;
        position: absolute;
        top: 20px;
        right: 0;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        border-left: 1px solid rgba(239, 232, 172, 0.2);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        z-index: 999;
        transition: var(--transition);
        padding: 100px 30px 30px 30px;
        align-items: flex-start;
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
        background: none;
        border: none;
        box-shadow: none;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        font-size: 1rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    nav ul li a:hover,
    nav ul li.active a {
        color: var(--color-gold) !important;
        background: none;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 40px 10px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .card h1 {
        font-size: 2.1rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .footer-address,
    .footer-contact {
        font-size: 0.95rem;
    }
}
