/* === Custom Animations === */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* === Navbar Scroll State === */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* === Service Card Shine Effect === */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.03), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card {
    position: relative;
    overflow: hidden;
}

/* === Gallery Item === */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    border-color: rgba(94, 234, 212, 0.3);
}

/* === Gold Text Gradient === */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37, #f3e5ab, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}

/* === Selection === */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #fff;
}

/* === Mobile Menu Active State === */
.mobile-menu-open #menuBtn .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open #menuBtn .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open #menuBtn .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Back to Top === */
.back-to-top-visible {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* === Form Focus Styles === */
input:focus, textarea:focus, select:focus {
    border-color: rgba(94, 234, 212, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2) !important;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
}
