/* Custom Styles for Apartamentos Azahar */

:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-50: #ecfdf5;
    --cream: #faf9f6;
    --espresso: #1c1917;
}

/* Typography */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

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

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

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-800) 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
}

.btn-outline {
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: var(--emerald-950);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-700);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-link {
    position: relative;
}

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

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--emerald-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-800);
}

/* Image loading optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--emerald-400);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .btn-primary,
    .btn-outline {
        background: var(--emerald-700) !important;
        color: white !important;
    }
}
