/* Custom Styles for Income Tax Lawyers of San Jose */

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

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #c49a3e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

/* Hero Animations */
.hero-content {
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Service Cards */
.service-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* About Section Animations */
.about-image {
    animation: slideInLeft 1s ease-out forwards;
}

.about-content {
    animation: slideInRight 1s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Process Steps */
.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Navbar Transition */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
}

/* Input Focus Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(196, 154, 62, 0.1);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #c49a3e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Ripple Effect */
button::after,
a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

button:active::after,
a:active::after {
    width: 300px;
    height: 300px;
}

/* Loading State for Form */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .about-image img {
        height: 350px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    nav,
    .scroll-indicator,
    #contact-form {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .bg-navy-900,
    .bg-gray-50 {
        background: #fff !important;
        color: #000 !important;
    }
}
