/* ─── CONTACT CINEMA SECTION ─── */

.contact-cinema {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #0a0604;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    padding: 60px 40px;
}

/* Background elements */
.contact-cinema__bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.contact-cinema__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 100% 60% at 50% 50%,
        rgba(255, 100, 20, 0.1) 0%,
        rgba(255, 60, 0, 0.04) 35%,
        transparent 70%
    );
    animation: contactGlowPulse 6s ease-in-out infinite;
}

@keyframes contactGlowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
}

.contact-cinema__grain {
    position: absolute;
    inset: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise" seed="5"/></filter><rect width="100" height="100" fill="rgba(0,0,0,0.1)" filter="url(%23noise)"/></svg>');
    opacity: 0.25;
}

.contact-cinema__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.25) 75%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

/* Canvas for particles */
.contact-cinema__canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#contactCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Particles container */
.contact-cinema__particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

/* Main content */
.contact-cinema__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ─── LEFT SIDE: CONTACT DETAILS ─── */
.contact-cinema__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cinema__text-wrapper {
    animation: contentFadeIn 1s ease-out 0.2s backwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-cinema__headline {
    font-family: var(--font-condensed);
    font-size: clamp(3rem, 9vw, 85px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 100, 20, 0.3);
}

.contact-cinema__headline-line {
    display: block;
    animation: headlineSlideFresh 0.8s ease-out backwards;
}

.contact-cinema__headline-line:nth-child(1) {
    animation-delay: 0.3s;
}

.contact-cinema__headline-line:nth-child(2) {
    animation-delay: 0.5s;
    background: linear-gradient(135deg, rgba(255, 150, 50, 0.15), rgba(255, 100, 20, 0.08));
    padding: 8px 0;
}

@keyframes headlineSlideFresh {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-cinema__divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 120, 40, 0.8), transparent);
    margin: 20px 0 35px 0;
    animation: dividerGrowth 0.7s ease-out 0.7s backwards;
}

@keyframes dividerGrowth {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 70px;
        opacity: 1;
    }
}

/* Details section */
.contact-cinema__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    margin-bottom: 45px;
}

.contact-cinema__detail-group {
    animation: detailFadeIn 0.8s ease-out backwards;
}

.contact-cinema__detail-group:nth-child(1) {
    grid-column: 1 / -1;
    animation-delay: 0.85s;
}

.contact-cinema__detail-group:nth-child(2) {
    animation-delay: 1s;
}

.contact-cinema__detail-group:nth-child(3) {
    animation-delay: 1.15s;
}

.contact-cinema__detail-group:nth-child(4) {
    animation-delay: 1.3s;
}

@keyframes detailFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-cinema__detail-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 120, 40, 0.7);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-cinema__detail-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.contact-cinema__detail-link {
    display: inline-block;
    text-decoration: none;
    color: rgba(255, 150, 80, 0.9);
    transition: all 0.3s ease;
    position: relative;
}

.contact-cinema__detail-link:hover {
    color: rgba(255, 180, 100, 1);
    text-shadow: 0 0 10px rgba(255, 100, 20, 0.5);
}

/* Buttons */
.contact-cinema__buttons {
    display: flex;
    gap: 20px;
    animation: buttonsFadeIn 1s ease-out 1.4s backwards;
}

@keyframes buttonsFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-cinema__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 100, 20, 0.15);
    border: 1.5px solid rgba(255, 120, 40, 0.5);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-cinema__btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 120, 40, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.contact-cinema__btn:hover {
    background: rgba(255, 100, 20, 0.25);
    border-color: rgba(255, 150, 50, 0.8);
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 20px rgba(255, 100, 20, 0.4), inset 0 0 20px rgba(255, 100, 20, 0.1);
    transform: translateY(-2px);
}

.contact-cinema__btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-cinema__btn-label {
    display: block;
    font-weight: 700;
}

.contact-cinema__btn-icon {
    display: inline-block;
    font-size: 1rem;
    animation: iconBounce 1.5s ease-in-out infinite;
}

.contact-cinema__btn:hover .contact-cinema__btn-icon {
    animation: iconBounceActive 0.6s ease-in-out;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

@keyframes iconBounceActive {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(6px);
    }
    50% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(4px);
    }
}

/* ─── RIGHT SIDE: MAP ─── */
.contact-cinema__right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.contact-cinema__map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    animation: mapFadeIn 1s ease-out 0.3s backwards;
}

@keyframes mapFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-cinema__map-container {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
}

.contact-cinema__map-container iframe {
    display: block;
    filter: grayscale(30%) invert(95%) brightness(0.9) contrast(1.1);
}

/* Map overlay for cinematic effect */
.contact-cinema__map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 100, 20, 0.08) 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
    border-radius: 16px;
    z-index: 2;
    pointer-events: none;
}

/* Map border glow */
.contact-cinema__map-glow {
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 120, 40, 0.5),
        rgba(255, 80, 20, 0.2),
        rgba(255, 150, 50, 0.3)
    );
    z-index: 0;
    filter: blur(8px);
    animation: mapGlowPulse 4s ease-in-out infinite;
    opacity: 0;
}

@keyframes mapGlowPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
}

.contact-cinema__map-wrapper:hover .contact-cinema__map-glow {
    animation: mapGlowIntense 0.6s ease-out forwards;
}

@keyframes mapGlowIntense {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.8;
    }
}

/* Cursor glow */
.contact-cinema__cursor-glow {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 120, 40, 0.3) 0%,
        rgba(255, 80, 20, 0.12) 40%,
        transparent 70%
    );
    filter: blur(25px);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Responsive design */
@media (max-width: 1024px) {
    .contact-cinema__content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 40px 0;
    }

    .contact-cinema__right {
        min-height: 400px;
    }

    .contact-cinema__map-wrapper {
        aspect-ratio: auto;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .contact-cinema {
        padding: 40px 20px;
        overflow: visible;
    }

    .contact-cinema__content {
        gap: 40px;
    }

    .contact-cinema__headline {
        font-size: clamp(2rem, 7vw, 55px);
        margin-bottom: 20px;
    }

    .contact-cinema__details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-cinema__detail-group:nth-child(1) {
        grid-column: 1;
    }

    .contact-cinema__buttons {
        flex-direction: column;
        width: 100%;
    }

    .contact-cinema__btn {
        width: 100%;
    }

    .contact-cinema__map-wrapper {
        height: 350px;
    }

    /* Simplify map and glows on mobile */
    .contact-cinema__map-glow {
        filter: blur(6px);
        opacity: 0.45;
    }

    .contact-cinema__map-container iframe {
        filter: grayscale(30%) brightness(0.95) contrast(1);
    }

    .contact-cinema__btn {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-cinema__text-wrapper,
    .contact-cinema__headline-line,
    .contact-cinema__divider,
    .contact-cinema__detail-group,
    .contact-cinema__buttons,
    .contact-cinema__map-wrapper,
    .contact-cinema__btn,
    .contact-cinema__bg {
        animation: none !important;
    }

    .contact-cinema__btn:hover::before {
        width: 0;
        height: 0;
    }
}
