/* Custom styles for Tatt's Life */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #d4a017;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e6b422;
}

/* Geometric decorative elements */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Animated gradient for hero */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pulse animation for badge */
@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Floating animation for decorative shapes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Service card hover glow */
.service-card:hover {
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 20px 60px rgba(212, 160, 23, 0.1);
}

/* Mobile menu animations */
.mobile-menu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

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

.mobile-menu.closed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Hamburger animation */
#bar1.open {
    transform: rotate(45deg) translate(5px, 5px);
}
#bar2.open {
    opacity: 0;
}
#bar3.open {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav,
    #backToTop,
    .geo-shape {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
