/* Custom editorial styles */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04";
}

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

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

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

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

/* Editorial typography adjustments */
.font-serif {
    text-rendering: optimizeLegibility;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

/* Print styles */
@media print {
    header,
    footer,
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion preferences */
@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;
    }
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Subtle hover effects */
.group:hover .group-hover\\:translate-y-\\[-2px\\] {
    transform: translateY(-2px);
}

/* Editorial spacing */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Text selection color */
::selection {
    background-color: #eaddd7;
    color: #2C2420;
}

::-moz-selection {
    background-color: #eaddd7;
    color: #2C2420;
}
