/* Custom Styles for Meza Masonry */

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

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

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

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

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

/* Selection Color */
::selection {
    background: #34d399;
    color: #020617;
}

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

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

/* Scroll Reveal Animations - Progressive Enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Stagger Animation Delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Mobile Menu Active State */
body.menu-open {
    overflow: hidden;
}

/* Mobile Menu Links Animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
}

body.menu-open .mobile-link {
    animation: fadeInUp 0.5s ease forwards;
}

body.menu-open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
body.menu-open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
body.menu-open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
body.menu-open .mobile-link:nth-child(4) { animation-delay: 0.25s; }

/* Navbar Active State */
.nav-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

/* Focus Styles for Accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);
}

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

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

/* Card Hover Lift */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.3s ease;
}

/* Loading State for Form */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
