/* ========================================
   Lizama's Property Maintenance
   Premium Dark Luxury Styles
   ======================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F0F0F;
}
::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8C95A;
}

/* Selection */
::selection {
    background: #C0573E;
    color: #F5E6CC;
}

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

/* Base Styles */
body {
    overflow-x: hidden;
}

/* Navbar Transition */
nav {
    backdrop-filter: blur(0px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav.scrolled .menu-line {
    background: #E8D5B7;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-eyebrow {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-headline {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subheadline {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-ctas {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-trust {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.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; }

/* Service Card Hover */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Mobile Menu */
.mobile-menu-open {
    overflow: hidden;
}

#mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Menu Lines Animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Mobile Link Animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

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

/* Input Focus */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Button Ripple */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image Hover */
img {
    max-width: 100%;
    height: auto;
}

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

/* Subtle Glow Effects */
.glow-terracotta {
    box-shadow: 0 0 40px rgba(192, 87, 62, 0.15);
}

.glow-gold {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

/* Loading State for Form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.25rem !important;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3.5rem !important;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 4rem !important;
    }
}

/* Print Styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
