/* =====================================================
   CST ADVOCACIA - ESTILOS ESTÁTICOS
   ===================================================== */

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

/* Hero Background */
.hero-bg {
    background-image: url('https://static.prod-images.emergentagent.com/jobs/b0af0630-00cd-4c3d-91d6-92adf42f618c/images/f46fe77d360f97c0123fcd5431d2f3b903f91b5a99bbe1ed7ab4899626dfef0d.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Decorative Line */
.decorative-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C9A962 0%, #E5C885 100%);
}

/* Navigation Link Animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C9A962;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: #C9A962;
    color: #4A091D;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background-color: #E5C885;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    border: 2px solid #C9A962;
    color: #C9A962;
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: #C9A962;
    color: #4A091D;
}

.btn-whatsapp {
    border: 2px solid #25D366;
    color: #25D366;
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.btn-outline-light {
    border: 1px solid rgba(201, 169, 98, 0.3);
    color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-light:hover {
    background-color: rgba(201, 169, 98, 0.1);
    color: white;
}

/* Service Cards */
.service-card {
    background: rgba(104, 16, 42, 0.5);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
    backdrop-filter: blur(4px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 98, 0.6);
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.15);
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(104, 16, 42, 0.7) 0%, rgba(139, 21, 56, 0.5) 100%);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
}

/* Contact Form Card */
.contact-form-card {
    background: rgba(104, 16, 42, 0.5);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
}

/* Form Inputs */
.form-input {
    width: 100%;
    background-color: rgba(139, 21, 56, 0.5);
    border: 1px solid rgba(201, 169, 98, 0.3);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    border-color: #C9A962;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

/* Social Icons */
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(201, 169, 98, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A962;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #C9A962;
    color: #4A091D;
    transform: scale(1.1);
}

/* Footer Gradient */
.footer-gradient {
    background: linear-gradient(180deg, #68102a 0%, #4A091D 100%);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background-color: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(37, 211, 102, 0.7);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-delay-1 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Header Scroll Effect */
.header-scrolled {
    background-color: rgba(139, 21, 56, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #68102a;
}

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

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

/* Mobile Menu Styles */
#mobile-menu {
    transition: visibility 0.3s;
}

#mobile-menu.active {
    visibility: visible;
}

#mobile-menu-content {
    transition: transform 0.3s ease-out;
}

#mobile-menu.active #mobile-menu-content {
    transform: translateX(0);
}
