/* ==========================================
   CONTACT PAGE - DISEÑO ELEGANTE CHINO TRADICIONAL
   ========================================== */

/* Variables específicas para Contact */
:root {
    --contact-bg: #0a0807;
    --contact-bg-warm: #12100e;
    --contact-bg-card: #1a1614;
    --contact-text: #f3eadf;
    --contact-text-muted: #c7b6a4;
    --contact-accent: #c9a962;
    --contact-red: #C41E3A;
    --contact-border: rgba(201, 169, 98, 0.25);
}

.bg-cool::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../static/assets/img/preloader/contact-bg.jpg') repeat;
    opacity: 0.15;
    pointer-events: none;
    /* Abjo de la imagen toca abajo del div */
    background-position: 0 100%;
}

/* Override del fondo para la página contact */
.contact-page {
    background: var(--contact-bg) !important;
}

.contact-page .corner-frame {
    opacity: 0.15;
}

/* Container específico */
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ==========================================
   HERO SECTION - Título grande
   ========================================== */
.contact-hero-new {
    padding: 180px 0 60px;
    /* background: var(--contact-bg); */
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Patrón de nubes chinas de fondo */
.contact-hero-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: auto, 400px 400px;
    opacity: 1;
    pointer-events: none;
}
.contact-main-title {
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
    color: var(--contact-text);
    text-transform: uppercase;
    margin: 0 0 24px;
    text-shadow: 0 0 60px rgba(201, 169, 98, 0.2);
    position: relative;
}

.contact-subtitle {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 1.1rem;
    color: var(--contact-text-muted);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

/* ==========================================
   MAIN SECTION - Grid principal
   ========================================== */
.contact-main {
    padding: 60px 0 100px;
    background: var(--contact-bg);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Columna izquierda - Info */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--contact-border);
}

.info-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-tag {
    display: block;
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--contact-red);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.info-block h2 {
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--contact-text);
    margin: 0 0 12px;
}

.info-block .address {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--contact-text-muted);
    margin-bottom: 20px;
}

.info-actions {
    display: flex;
    gap: 16px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--contact-accent);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.action-link:hover {
    color: var(--contact-text);
}

.action-link svg {
    stroke: currentColor;
}

.contact-phone {
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: 2.5rem;
    color: var(--contact-accent);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.contact-phone:hover {
    color: var(--contact-text);
    text-shadow: 0 0 20px rgba(201, 169, 98, 0.4);
}

.contact-email {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 1.2rem;
    color: var(--contact-accent);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.contact-email:hover {
    color: var(--contact-text);
}

.info-note {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.85rem;
    color: var(--contact-text-muted);
    margin: 0;
}

/* Columna derecha - Horarios y contenido */
.contact-detail-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tarjeta de horarios */
.schedule-card {
    background: var(--contact-bg-card);
    border: 1px solid var(--contact-border);
    border-radius: 8px;
    padding: 32px;
}

.schedule-card .card-tag {
    display: inline-block;
    background: var(--contact-red);
    color: var(--contact-text);
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 6px 12px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-radius: 2px;
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-row .day {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.95rem;
    color: var(--contact-text);
    font-weight: 500;
}

.schedule-row .hours {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.9rem;
    color: var(--contact-text-muted);
}

/* Imagen del local */
.contact-image {
    position: relative;
}

.contact-image .image-placeholder {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--contact-border);
    border-radius: 8px;
}

.contact-image .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   MAP SECTION
   ========================================== */
.contact-map-new {
    padding: 60px 0 100px;
    background: var(--contact-bg-warm);
}

.map-wrapper {
    background: var(--contact-bg-card);
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    overflow: hidden;
}

.map-header {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid var(--contact-border);
}

.map-header h2 {
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--contact-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.map-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-tags span {
    padding: 8px 16px;
    border: 1px solid var(--contact-border);
    border-radius: 100px;
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--contact-accent);
    text-transform: uppercase;
}

.map-frame {
    width: 100%;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 450px;
    filter: grayscale(0.3) contrast(1.05) brightness(0.85);
    transition: filter 0.3s ease;
}

.map-frame iframe:hover {
    filter: grayscale(0) contrast(1) brightness(1);
}

/* ==========================================
   SOCIAL SECTION
   ========================================== */
.contact-social {
    padding: 100px 0;
    background: var(--contact-bg);
}

.social-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-header h2 {
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--contact-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
}

.social-header p {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    color: var(--contact-text-muted);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.social-card {
    background: var(--contact-bg-card);
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-card:hover {
    border-color: var(--contact-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 0;
    border: 1px solid var(--contact-border);
    transition: all 0.3s ease;
}

.social-card:hover .social-icon {
    background: var(--contact-accent);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--contact-accent);
    transition: fill 0.3s ease;
}

.social-card:hover .social-icon svg {
    fill: var(--contact-bg);
}

.social-name {
    display: block;
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: 1.2rem;
    color: var(--contact-text);
    margin-bottom: 8px;
}

.social-handle {
    display: block;
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.85rem;
    color: var(--contact-text-muted);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.contact-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--contact-red) 0%, #8a1528 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta:before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/img/patterns/chinese-pattern.png') repeat;
    opacity: 0.25;
    pointer-events: none;
}

.contact-cta .cta-content {
    position: relative;
}

.contact-cta h2 {
    font-family: 'Noto Serif', 'Noto Serif SC', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--contact-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
}

.contact-cta p {
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--contact-accent);
    color: var(--contact-bg);
    font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 45px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-cta .cta-btn:hover {
    background: var(--contact-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-cta .cta-btn svg {
    transition: transform 0.3s ease;
}

.contact-cta .cta-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   IMAGE PLACEHOLDER STYLES
   ========================================== */
.image-placeholder {
    background: linear-gradient(135deg, #1a1614 0%, #0f0d0b 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(201, 169, 98, 0.05) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.image-placeholder img {
    position: relative;
    z-index: 1;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1100px) {
    .contact-container {
        padding: 0 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 24px;
    }

    .contact-hero-new {
        padding: 140px 0 40px;
    }

    .contact-main-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: 0.05em;
    }

    .contact-phone {
        font-size: 1.8rem;
    }

    .schedule-card {
        padding: 24px;
    }

    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .map-frame iframe {
        height: 350px;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .social-card {
        padding: 30px 24px;
    }

    .contact-cta {
        padding: 80px 0;
    }

    .contact-cta h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

/* ==========================================
   ESTILOS HEREDADOS DEL THEME PRINCIPAL
   ========================================== */
.contact-page .header {
    background: transparent;
}

.contact-page .header.scrolled {
    background: rgba(10, 8, 7, 0.95);
    backdrop-filter: blur(10px);
}

