/* Custom styles for Central Reman and Hydraulics */

:root {
    --burgundy-700: #a52e2e;
    --burgundy-800: #8a2727;
    --burgundy-900: #732222;
    --blush-50: #fef7f5;
    --blush-100: #fdeee9;
    --blush-200: #f9d9ce;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Navigation */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Hero section */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1023px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--burgundy-700), var(--burgundy-900));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(165, 46, 46, 0.3);
}

.btn-secondary {
    border: 2px solid var(--burgundy-700);
    color: var(--burgundy-700);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--burgundy-700);
    color: white;
}

/* Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Decorative elements */
.decoration-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy-700), var(--blush-300));
}

/* Image hover effects */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

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

::-webkit-scrollbar-track {
    background: var(--blush-50);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-800);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .img-zoom img {
        transition: none;
    }
    
    .service-card {
        transition: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--burgundy-700);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .mobile-menu,
    .btn-primary,
    .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
