/* Custom styles for Podologia Estetica */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5a5a65;
}

/* Selection color */
::selection {
    background: rgba(228, 90, 54, 0.3);
    color: #fdfbf7;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(10, 10, 13, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(212, 175, 90, 0.1) !important;
}

.nav-scrolled .nav-link {
    color: rgba(253, 251, 247, 0.7) !important;
}

.nav-scrolled .nav-link:hover {
    color: rgba(228, 90, 54, 0.9) !important;
}

/* Mobile menu animations */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-closed {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(228, 90, 54, 0.15);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(228, 90, 54, 0.1);
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px -10px rgba(228, 90, 54, 0.4);
}

/* Decorative line animation */
.deco-line {
    position: relative;
    overflow: hidden;
}

.deco-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(228, 90, 54, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.deco-line:hover::after {
    transform: translateX(0);
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(rgba(212, 175, 90, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: rgba(228, 90, 54, 0.6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Map container dark theme fix */
iframe[src*="google.com/maps"] {
    border-radius: 0 0 8px 8px;
}
