/* ==========================================================================
   HANCERZ SERVICES - ENTERPRISE LUXURY DESIGN SYSTEM & ANIMATIONS
   Domain: services.hancerz.com
   Corporate Portal: www.hancerz.com
   ========================================================================== */

:root {
    --color-cozy-50: #FAF8F5;
    --color-cozy-100: #F4EFE6;
    --color-cozy-200: #E8DECE;
    --color-cozy-300: #D8C8B3;
    --color-cozy-800: #2C2422;
    --color-cozy-900: #141110;
    --color-terracotta-400: #D9744F;
    --color-terracotta-500: #C35A38;
    --color-terracotta-600: #A84525;
    --color-amber-500: #D97706;
}

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #D8C8B3;
    border-radius: 9999px;
    border: 2px solid #FAF8F5;
}
::-webkit-scrollbar-thumb:hover {
    background: #C35A38;
}

/* Base Body Styles */
body {
    background-color: var(--color-cozy-50);
    color: var(--color-cozy-900);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism & High-End Surface Styling */
.glass-nav {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(195, 90, 56, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-nav-scrolled {
    box-shadow: 0 10px 30px -10px rgba(20, 17, 16, 0.06);
    background: rgba(250, 248, 245, 0.95);
    border-bottom: 1px solid rgba(20, 17, 16, 0.08);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(232, 222, 206, 0.9);
}

.glass-dark {
    background: rgba(20, 17, 16, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Typography Gradient Effects */
.text-gradient {
    background: linear-gradient(135deg, #C35A38 0%, #E67E22 50%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #141110 0%, #3B2F2F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ambient Radial Glow Backdrops */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(195, 90, 56, 0.12) 0%, rgba(217, 119, 6, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-dark {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(195, 90, 56, 0.2) 0%, rgba(20, 17, 16, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Keyframe Animations */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(195, 90, 56, 0.15); }
    50% { box-shadow: 0 0 35px rgba(217, 119, 6, 0.28); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-float {
    animation: floatSlow 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Card Hover Lifts */
.card-hover-lift {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(20, 17, 16, 0.08), 0 0 1px 1px rgba(195, 90, 56, 0.15);
    border-color: rgba(195, 90, 56, 0.3);
}

/* Interactive Buttons */
.btn-primary {
    background: #141110;
    color: #FAF8F5;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #C35A38;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(195, 90, 56, 0.35);
}

.btn-terracotta {
    background: #C35A38;
    color: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-terracotta:hover {
    background: #A84525;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(195, 90, 56, 0.4);
}

.btn-whatsapp {
    background: #10B981;
    color: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(16, 185, 129, 0.35);
}

/* Social Icon Hover Micro-interactions */
.social-icon-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: #C35A38;
}

/* Accordion Smooth Transitions */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    max-height: 600px;
    opacity: 1;
    transition: max-height 0.45s ease-in-out, opacity 0.35s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-terracotta-500);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 420px;
    background: #141110;
    color: #FAF8F5;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid #C35A38;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Semantic AEO Direct Answer Block */
.aeo-direct-answer {
    background: linear-gradient(135deg, rgba(195, 90, 56, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    border: 1px solid rgba(195, 90, 56, 0.2);
    border-radius: 1.5rem;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.aeo-direct-answer:hover {
    border-color: var(--color-terracotta-500);
    box-shadow: 0 10px 25px -5px rgba(195, 90, 56, 0.06);
}
