/* Custom styles for Notaria Centro */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --forest-900: #1a331a;
    --forest-800: #1f3d1f;
    --forest-700: #264a26;
    --forest-600: #2f5e2f;
    --forest-500: #3d7a3d;
    --forest-300: #93bd93;
    --forest-200: #c5db c5;
    --forest-100: #e3ede3;
    --cream-50: #fefdf8;
    --cream-100: #faf8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Navigation */
.nav-text {
    color: #1a331a;
}

.nav-subtext {
    color: #2f5e2f;
}

.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
.mobile-link {
    border-bottom: 1px solid #e3ede3;
    padding-bottom: 0.5rem;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Hero */
#inicio {
    position: relative;
}

/* Services */
#servicios .group:hover .bg-forest-100 {
    background-color: #264a26;
}

/* Form */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 94, 45, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2f5e2f;
}

/* Print styles */
@media print {
    nav, #contactForm, .mobile-menu {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    * {
        transition: none !important;
    }
}
