/* Custom styles for Sandy Point Automotive */

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

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #166534;
    color: #fefdf8;
}

/* Subtle gradient for hero overlay */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(5, 46, 22, 0.88) 0%,
        rgba(20, 83, 45, 0.80) 50%,
        rgba(22, 101, 52, 0.72) 100%
    );
}

/* Card hover shadow transition */
.shadow-card {
    box-shadow: 0 1px 3px rgba(20, 83, 45, 0.06), 0 1px 2px rgba(20, 83, 45, 0.04);
}

.shadow-card:hover {
    box-shadow: 0 20px 40px rgba(20, 83, 45, 0.12), 0 8px 16px rgba(20, 83, 45, 0.06);
}

/* Navbar transition */
#navbar {
    transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(5, 46, 22, 0.1);
}

/* Image hover zoom */
img.hover-zoom {
    transition: transform 0.6s ease;
}

img.hover-zoom:hover {
    transform: scale(1.03);
}

/* Decorative divider */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #166534, #4ade80);
    border-radius: 2px;
}

/* Loading state for buttons */
button:active {
    transform: scale(0.98);
}
