/* Custom styles for Ibx Lumber website */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    color: #1f2937;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle {
    border-radius: 50%;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 5px;
}

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

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

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

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #059669;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.15);
}

/* Form styling */
input, textarea, select {
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Success message */
.success-message {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Decorative pattern */
.pattern-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(5, 150, 105, 0.1) 1px, transparent 0);
    background-size: 30px 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}

/* Print styles */
@media print {
    .mobile-menu,
    .geo-shape {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
