/* Custom styles for South Shore Cottage */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f6f6f6;
}
::-webkit-scrollbar-thumb {
    background: #ff7a3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5a1f;
}

/* Selection color */
::selection {
    background: #ff7a3d;
    color: white;
}

/* Base styles */
body {
    font-family: 'Nunito', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Button focus states */
.btn-coral:focus-visible {
    outline: 3px solid #ff7a3d;
    outline-offset: 2px;
}

/* Input focus states */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    ring: 2px;
    ring-color: #ff7a3d;
}

/* Image loading optimization */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    nav,
    .btn-coral,
    #contact-form {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
