/* CARO City Liner - Styles */

/* Premium Background for entire page */
html, body {
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(80, 20, 25, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(135deg, #000000 0%, #0a0000 25%, #150505 50%, #1a0808 75%, #0d0202 100%) !important;
    background-attachment: fixed !important;
    margin: 0;
    padding: 0;
}

/* Subtle grid overlay on body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Make sure content is above the grid */
body > * {
    position: relative;
    z-index: 1;
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

.opacity-0 {
    opacity: 0;
}

/* ==================== LANGUAGE SWITCHER ==================== */

.lang-btn {
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== LIGHTBOX ==================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* ==================== REVIEWS MARQUEE ==================== */

.reviews-marquee {
    overflow: hidden;
    cursor: pointer;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee 80s linear infinite;
}

.reviews-marquee:hover .reviews-track,
.reviews-marquee.paused .reviews-track {
    animation-play-state: paused;
}

.review-card {
    flex-shrink: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.review-stars {
    color: #facc15;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.review-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.review-text {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
