/* Custom styles for RICOP Construction */

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

/* Hero animation */
.hero-eyebrow {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(245, 240, 235, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(26, 18, 11, 0.1);
}

.nav-scrolled .nav-link {
    color: #1A120B;
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(26, 18, 11, 0.15);
}

/* Process step hover */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-step:hover .w-16 {
    transform: scale(1.1);
}

/* Testimonial card */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(26, 18, 11, 0.1);
}

/* Mobile menu animations */
.mobile-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-open .mobile-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .mobile-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-link {
    transition: all 0.3s ease;
}

/* Image hover effects */
.group img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection color */
::selection {
    background: #C0603A;
    color: white;
}

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #C0603A !important;
    box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-eyebrow {
        font-size: 0.7rem;
    }
    
    h1 {
        font-size: 3rem !important;
    }
    
    h1 span {
        font-size: 2.5rem !important;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    footer {
        display: none;
    }
}
