/* Nicks Lake Campground — Custom Styles */

/* Base typography and spacing refinements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.2);
    color: #0f172a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Image object-fit fallback */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift on images */
img[width][height] {
    object-fit: cover;
}

/* Subtle hover effects for cards */
.card-hover {
    will-change: transform;
}

/* Ensure hero image covers properly */
.hero-image-section img {
    transition: transform 0.6s ease;
}

.hero-image-section:hover img {
    transform: scale(1.02);
}

/* Mobile menu animation for hamburger */
#menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-toggle { display: none; }
    .hero-split { grid-template-columns: 1fr !important; }
    .hero-image-section { display: none; }
    body { color: #000; background: #fff; }
}
