/* Glenn Walter E DDS - Custom Styles */
/* This file provides additional custom styles beyond Tailwind */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #3D3D3D;
    background-color: #FDF8F5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8B2E32;
}

/* Selection Color */
::selection {
    background: #8B2E32;
    color: white;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid #8B2E32;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: white;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* 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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Smooth Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Form Styles */
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Button Reset */
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Link Styles */
a {
    text-decoration: none;
    color: inherit;
}

/* List Styles */
ul,
ol {
    list-style: none;
}

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}
