/* Custom Styles for Taconpapashtx */

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

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

/* Selection Color */
::selection {
    background: #D4A84B;
    color: #0A1628;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* Hero Content Animation */
#hero .text-center > * {
    animation: fadeInUp 1s ease forwards;
}

#hero .text-center > *:nth-child(1) {
    animation-delay: 0.2s;
    opacity: 0;
}

#hero .text-center > *:nth-child(2) {
    animation-delay: 0.4s;
    opacity: 0;
}

#hero .text-center > *:nth-child(3) {
    animation-delay: 0.6s;
    opacity: 0;
}

#hero .text-center > *:nth-child(4) {
    animation-delay: 0.8s;
    opacity: 0;
}

/* Image Hover Effects */
.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.3);
}

/* Mobile Menu Transitions */
#mobile-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Button Hover Effects */
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 75, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Link Hover Underline Animation */
a {
    position: relative;
}

/* Gold Gradient Text (if needed) */
.text-gold-gradient {
    background: linear-gradient(135deg, #F0D68A 0%, #D4A84B 50%, #C49535 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Print Styles */
@media print {
    header,
    #contact-form,
    .animate-on-scroll {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-white\/50 {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .text-white\/60 {
        color: rgba(255, 255, 255, 0.9);
    }
}
