/* Custom styles for GNA Auto Service and Detail */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Gold gradient button hover effect */
.gold-gradient {
    background: linear-gradient(135deg, #d4a843 0%, #c9982e 50%, #b07f1f 100%);
    transition: opacity 0.3s ease;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(15, 26, 46, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Service card hover lift */
.service-card {
    border: 1px solid #f0ede6;
    transition: all 0.3s ease;
}

/* Divider ornament */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9982e, transparent);
}

.divider-ornament > span {
    padding: 0 1rem;
    color: #c9982e;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Form input focus ring */
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #c9982e;
    border-color: #c9982e;
}

/* Mobile menu link hover */
.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* Animation utility */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Selection color */
::selection {
    background-color: #c9982e;
    color: #0f1a2e;
}

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

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

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

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