/* Custom Styles for Custom Aluminum Works */

:root {
    --forest-dark: #0F3D2E;
    --forest-light: #1A523A;
    --off-white: #F9F8F6;
    --sand: #D4C4B7;
    --text-dark: #1A1A1A;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--off-white);
    color: var(--text-dark);
}

/* Typography Utilities */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Manrope', sans-serif;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--sand);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-dark);
}

/* Form Focus States */
input:focus, textarea:focus {
    border-bottom-width: 2px;
    padding-bottom: 12px;
    margin-bottom: -1px;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s ease;
}

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

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Smooth border radius for images */
img {
    border-radius: 0;
}
