/* Blacktown Print Studio - Creative Styles */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a1a; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4FC3F7; }

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ===== GRID PATTERN ===== */
.grid-pattern {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
}

/* ===== ANIMATED GRADIENT ORBS ===== */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.15), transparent 70%);
    top: 10%; left: 15%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12), transparent 70%);
    bottom: 15%; right: 10%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.1), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 20px); }
    66% { transform: translate(20px, -40px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* ===== HERO GRADIENT TEXT ===== */
.hero-gradient-text {
    background: linear-gradient(135deg, #4FC3F7 0%, #00E5FF 25%, #7B2FF7 50%, #FF2D95 75%, #FF6B35 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== HERO FADE IN ===== */
.hero-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLLING TICKER ===== */
.ticker-wrap {
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.ticker-item {
    color: rgba(255, 255, 255, 0.25);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ticker-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.3);
    margin: 0 16px;
    vertical-align: middle;
}

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

/* ===== MARQUEE BANNER ===== */
.marquee-banner {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

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

/* ===== NAV ===== */
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #4FC3F7, #00E5FF);
    border-radius: 1px;
}

.navbar-scrolled {
    background-color: rgba(10, 10, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== WHATSAPP FLOAT ===== */
#whatsapp-float {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(34, 197, 94, 0.5); }
}

#whatsapp-float::before {
    content: 'Chat with us';
    position: absolute;
    right: 60px;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#whatsapp-float:hover::before {
    opacity: 1;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* ===== GOOGLE MAPS ===== */
#memory-block iframe {
    filter: grayscale(0.2) contrast(1.1) brightness(0.8);
    transition: filter 0.3s ease;
}

#memory-block iframe:hover {
    filter: grayscale(0) contrast(1) brightness(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #whatsapp-float::before { display: none; }
    .hero-orb-1 { width: 250px; height: 250px; }
    .hero-orb-2 { width: 200px; height: 200px; }
    .hero-orb-3 { width: 150px; height: 150px; }
}

/* ===== PRINT ===== */
@media print {
    nav, #whatsapp-float, .noise-overlay, .hero-orb, .animate-bounce, .marquee-banner, .ticker-wrap {
        display: none !important;
    }
    body { background: white; color: black; }
}
