/* JJ Sign Co. Design System Stylesheet */
@layer base {
    html {
        font-family: 'Inter', sans-serif;
        -webkit-tap-highlight-color: transparent;
        background-color: #0D0D0D;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #23242a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFFFFF;
}

/* Dynamic Navbar Scroll */
.nav-scrolled {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    background: rgba(13, 13, 13, 0.96) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* COVERFLOW CAROUSEL CARDS */
.coverflow-item {
    width: 78%;
    max-width: 540px;
    height: 270px;
    transform-origin: center center;
    transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 450ms cubic-bezier(0.4, 0, 0.2, 1), 
                filter 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .coverflow-item {
        width: 65%;
        max-width: 580px;
        height: 370px;
    }
}

@media (min-width: 1024px) {
    .coverflow-item {
        width: 60%;
        max-width: 640px;
        height: 400px;
    }
}

.coverflow-active {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.coverflow-side:hover {
    opacity: 0.8 !important;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* STAGGERED CHILDREN REVEAL */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-stagger.is-revealed > *:nth-child(1) {
    transition-delay: 0.05s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-revealed > *:nth-child(2) {
    transition-delay: 0.12s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-revealed > *:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-revealed > *:nth-child(4) {
    transition-delay: 0.28s;
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Transitions */
button, a {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luxury Glass Card Elevation & Beveled Edges */
.service-card, .luxury-card {
    background: linear-gradient(180deg, #151518 0%, #0E0E11 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover, .luxury-card:hover {
    border-top-color: rgba(255, 255, 255, 0.55);
    border-left-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 26px 54px -12px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 35px 0 rgba(255, 255, 255, 0.03);
}

/* Subtle Architectural Ambient Glow */
.section-ambient {
    position: relative;
}
.section-ambient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 380px;
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 40%, transparent 70%);
    pointer-events: none;
}

/* Premium Gradient Shimmer for Headings */
.text-shimmer {
    background: linear-gradient(135deg, #FFFFFF 0%, #E6E6EC 60%, #A8A8B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Primary Button Glow */
.btn-primary-luxury {
    background: #FFFFFF;
    color: #000000;
    box-shadow: 0 4px 20px -2px rgba(255, 255, 255, 0.16), 0 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary-luxury:hover {
    background: #F4F4F6;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px -2px rgba(255, 255, 255, 0.3), 0 0 1px 1px #FFFFFF;
}

/* Premium Glass Secondary Button */
.btn-glass-luxury {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glass-luxury:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Luxury Floating CTA */
.floating-cta-luxury {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px -4px rgba(255, 255, 255, 0.2), 0 18px 40px -8px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-cta-luxury:hover {
    background: #F4F4F5;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 38px -2px rgba(255, 255, 255, 0.32), 0 24px 50px -6px rgba(0, 0, 0, 0.9);
}

/* SOCIABLEKIT LIVE INSTAGRAM FEED ULTRA-CLEAN DARK STYLING */
.sk-instagram-feed, 
.sk_instagram_feed,
.sk_ig_all_posts,
.sk-ig-all-posts {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    font-family: inherit !important;
}

/* Hide SociableKit Duplicate Header, Bio, Profile & Ads/Branding */
.sk-instagram-feed .sk-ig-profile-info,
.sk-instagram-feed .sk-ig-user-profile,
.sk-instagram-feed .sk-ig-header,
.sk-instagram-feed .sk-branding,
.sk-instagram-feed .sk_branding,
.sk-instagram-feed .sk_instagram_feed_header,
.sk-instagram-feed .sk_ig_header,
.sk-instagram-feed .sk-ig-follow-btn,
.sk-instagram-feed [class*="branding"],
.sk-instagram-feed [class*="sk_branding"] {
    display: none !important;
}

/* Clean, Architectural Uniform Grid Items */
.sk-instagram-feed .sk-ig-post-item,
.sk-instagram-feed .sk_ig_post_item,
.sk-instagram-feed .sk-ig-item,
.sk-instagram-feed .sk-ig-feed-item,
.sk-instagram-feed .sk-grid-item {
    background: #141417 !important;
    border: 1px solid #23242a !important;
    border-radius: 0px !important;
    overflow: hidden !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7) !important;
}

.sk-instagram-feed .sk-ig-post-item:hover,
.sk-instagram-feed .sk_ig_post_item:hover,
.sk-instagram-feed .sk-ig-item:hover,
.sk-instagram-feed .sk-grid-item:hover {
    border-color: rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 25px 0 rgba(255, 255, 255, 0.03) !important;
}

.sk-instagram-feed img,
.sk_instagram_feed img {
    border-radius: 0px !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sk-instagram-feed .sk-ig-post-item:hover img,
.sk-instagram-feed .sk_ig_post_item:hover img,
.sk-instagram-feed .sk-grid-item:hover img {
    transform: scale(1.04) !important;
}

/* Clean Dark Modal Popup */
.sk-ig-modal, 
.sk-modal-content, 
.sk_ig_modal,
.sk-ig-pop-up {
    background: #141417 !important;
    border: 1px solid #23242a !important;
    border-radius: 0px !important;
    color: #FFFFFF !important;
}

.sk-ig-modal .sk-ig-caption,
.sk-ig-modal .sk-ig-user-name,
.sk-ig-modal p {
    color: #EDEDED !important;
}

/* PREVENT BROWSER PLAY BUTTON & MEDIA CONTROLS ON BACKGROUND HERO VIDEOS */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
