/* Custom Styles for San Isidro */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: #0a1f21;
    color: #ffffff;
    overflow-x: hidden;
}

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

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

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

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

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

/* Selection Color */
::selection {
    background: #c9a84c;
    color: #0a1f21;
}

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

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

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

/* Mobile Menu */
.mobile-link {
    transition: all 0.3s ease;
}

.mobile-link:hover {
    letter-spacing: 0.15em;
}

/* Hero Animations */
@keyframes scrollIndicator {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(400%);
    }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Text Reveal Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s ease forwards;
}

.reveal-text-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s ease 0.3s forwards;
}

.reveal-text-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s ease 0.6s forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Image Hover Effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #e0c06e 50%, #a08030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

input:focus ~ .border-b,
textarea:focus ~ .border-b {
    border-color: #c9a84c;
}

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

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* Decorative Line Animation */
@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
