/* Custom Styles for Hess Garage & Salvage */

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

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

::-webkit-scrollbar-track {
    background: #081a12;
}

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

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

/* Selection Color */
::selection {
    background: #d4af37;
    color: #081a12;
}

/* Playfair Display Font */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Manrope Font */
.font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8942e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Metallic Gold Border */
.border-metallic-gold {
    border-image: linear-gradient(135deg, #d4af37, #f4d03f, #b8942e) 1;
}

/* Hover Glow Effect */
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Subtle Pattern Background */
.pattern-bg {
    background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(15, 43, 31, 0.5) 0%, transparent 50%);
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Responsive Typography */
@media (max-width: 640px) {
    .font-playfair {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .font-playfair {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .font-playfair {
        font-size: 3.75rem;
    }
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Navigation Active State */
nav a.active {
    color: #d4af37;
}

/* Button Ripple Effect */
button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

button:active::after {
    opacity: 1;
}

/* Loading Skeleton */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #0f2b1f 25%, #1a3a2a 50%, #0f2b1f 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
