/* Custom styles for Farmers Co-Op Oil website */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0708;
}
::-webkit-scrollbar-thumb {
    background: #3d0715;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6e1430;
}

/* Selection color */
::selection {
    background: rgba(196, 36, 69, 0.4);
    color: #fff;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(5, 3, 4, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5d68a 0%, #d4a843 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Burgundy gradient text utility */
.text-burgundy-gradient {
    background: linear-gradient(135deg, #fad0d9 0%, #df3d5e 50%, #c42445 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input focus animation */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(61, 7, 21, 0.15) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Image hover zoom */
.service-card img,
#about img {
    transition: transform 0.6s ease;
}

/* CTA button shine effect */
a[href="tel:+12186854491"] {
    position: relative;
    overflow: hidden;
}

a[href="tel:+12186854491"]::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: left 0.6s ease;
}

a[href="tel:+12186854491"]:hover::after {
    left: 100%;
}
