/* Custom styles for A-Cam Towing website */

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

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FAF7F2;
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating cards */
.floating-card {
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

/* Service cards */
.service-card {
    border: 1px solid rgba(44, 44, 44, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #C05746;
    background-color: #FAF7F2;
}

/* Buttons */
.btn-primary {
    background-color: #C05746;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #A04535;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(192, 87, 70, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #2C2C2C;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid #2C2C2C;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

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

/* Navigation links */
.nav-link {
    position: relative;
    color: #2C2C2C;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #C05746;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C05746;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

/* Thin lines */
.thin-line {
    height: 1px;
    background-color: rgba(44, 44, 44, 0.15);
}

/* Form styles */
input,
textarea {
    font-family: 'Inter', sans-serif;
}

input:focus,
textarea:focus {
    outline: none;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .floating-card {
        display: none;
    }
}
