/* Custom styles that complement Tailwind */

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

/* Selection color */
::selection {
    background: #c45a35;
    color: #fefcf8;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #c45a35;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .float-1, .float-2, .float-3 { animation: none; }
}

/* Print styles */
@media print {
    .float-1, .float-2, .float-3 { animation: none; }
    #navbar, .mobile-menu, .mobile-overlay { display: none !important; }
}

/* Custom scrollbar for webkit */
html {
    scrollbar-width: thin;
    scrollbar-color: #c45a35 #fdf5e6;
}

/* Image loading placeholder */
img {
    background-color: #fbe0d4;
}

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #c45a35 0%, #a34527 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative divider */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}
.divider-ornament::before,
.divider-ornament::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #c45a35, transparent);
}
.divider-ornament svg {
    color: #c45a35;
}
