/* Custom Color Palette */
:root {
    --terracotta-50: #fdf0ed;
    --terracotta-100: #fce7e3;
    --terracotta-200: #fadcd3;
    --terracotta-300: #f6c4b8;
    --terracotta-400: #f0a18f;
    --terracotta-500: #e8745b;
    --terracotta-600: #c65d3e;
    --terracotta-700: #a84b30;
    --terracotta-800: #894029;
    --terracotta-900: #6e3422;
    
    --sand-50: #faf9f7;
    --sand-100: #f5f0e8;
    --sand-200: #ebe0d0;
    --sand-300: #dfcbb3;
    --sand-400: #d4b494;
    --sand-500: #c89f77;
    --sand-600: #b8865d;
    --sand-700: #9c6d49;
    --sand-800: #7f5639;
    --sand-900: #66452e;
}

/* Tailwind Custom Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Font Families */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-track {
    background: var(--sand-100);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-500);
}

/* Selection Color */
::selection {
    background-color: var(--terracotta-200);
    color: var(--terracotta-900);
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--terracotta-500);
    outline-offset: 2px;
}

/* Responsive Typography */
@media (min-width: 640px) {
    h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
}

/* 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;
    }
}

/* Print Styles */
@media print {
    nav,
    #backToTop,
    button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .shadow-lg,
    .shadow-xl {
        box-shadow: none;
    }
}
