/* 
   --- CRISTASON PROFESSIONAL THEME ---
   Resetting main.css to allow Tailwind to take over layout control.
   Keeping only essential custom overrides and Swiper styles.
*/

:root {
    --primary-color: #f37021;
    --secondary-color: #333333;
    --text-color: #666666;
    --bg-light: #f4f7f6;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body.cristason-no-scroll {
    overflow: hidden;
}

#mobile-menu {
    overflow: hidden;
    touch-action: auto;
}

#mobile-menu-content {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

/* Force mobile menu above any sliders/galleries regardless of stacking contexts */
#mobile-menu {
    z-index: 2147483646 !important;
    position: fixed !important;
}

#mobile-menu-panel {
    z-index: 2147483647 !important;
}

/* --- Swiper Customization (Keep this) --- */
.hero-swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.cristason-client-logo {
    width: 180px;
    height: 72px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.cristason-client-logo-img {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 640px) {
    .cristason-client-logo {
        width: 150px;
        height: 64px;
        border-radius: 16px;
    }
    .cristason-client-logo-img {
        max-height: 42px;
    }
}

.slide-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

/* Custom Text Shadow for Hero */
.text-shadow-lg {
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* --- Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Map Container Fix --- */
.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- Gallery Hover Effects --- */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* --- Hide Scrollbar for cleaner look --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Slow Zoom Animation for Headers */
@keyframes slow-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animate-slow-zoom {
    animation: slow-zoom 20s linear infinite alternate;
}

.cristason-gallery-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    transform: translateZ(0);
    transition: transform 450ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 450ms cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.cristason-gallery-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.cristason-gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(243, 112, 33, 0.18), transparent 55%);
    opacity: 0;
    transition: opacity 450ms cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 1;
}

.cristason-gallery-card:hover::before {
    opacity: 1;
}

.cristason-gallery-card img {
    transition: transform 900ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cristason-gallery-card:hover img {
    transform: scale(1.12);
}

@media (max-width: 640px) {
    .cristason-gallery-card {
        border-radius: 18px !important;
        max-width: 92vw;
        margin-left: auto;
        margin-right: auto;
    }
}

.cristason-blob-1 {
    border-radius: 42% 58% 55% 45% / 42% 42% 58% 58%;
}

.cristason-blob-2 {
    border-radius: 58% 42% 40% 60% / 52% 62% 38% 48%;
}

.cristason-blob-3 {
    border-radius: 35% 65% 55% 45% / 55% 40% 60% 45%;
}

.cristason-wave {
    display: block;
    width: 100%;
    height: auto;
}

.cristason-media-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
    transform: translateZ(0);
    transition: box-shadow 450ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cristason-media-card:hover {
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.20);
}

.cristason-media-card img {
    transition: transform 900ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cristason-media-card:hover img {
    transform: scale(1.08);
}