/* Custom Styles for Farmacia Marfagón */

:root {
    --burgundy: #781c20;
    --burgundy-light: #9a252a;
    --blush: #f5e6e0;
    --blush-light: #faf0ed;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-600: #57534e;
    --stone-900: #1c1917;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

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

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

/* Custom Colors */
.bg-burgundy {
    background-color: var(--burgundy);
}

.bg-burgundy\/90 {
    background-color: color-mix(in srgb, var(--burgundy) 90%, transparent);
}

.text-burgundy {
    color: var(--burgundy);
}

.text-burgundy\/70 {
    color: color-mix(in srgb, var(--burgundy) 70%, transparent);
}

.bg-blush {
    background-color: var(--blush);
}

.bg-blush\/10 {
    background-color: color-mix(in srgb, var(--blush) 10%, transparent);
}

.bg-blush\/20 {
    background-color: color-mix(in srgb, var(--blush) 20%, transparent);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--burgundy);
    transition: width 0.3s ease;
}

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

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

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

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

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

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--burgundy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-light);
}

/* Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(120, 28, 32, 0.1);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Selection Color */
::selection {
    background-color: var(--burgundy);
    color: white;
}
