/* Custom Color Palette */
:root {
    --terracotta: #C4623A;
    --sand: #E8DCC8;
    --sand-light: #F5F0E8;
    --stone-50: #FAFAF8;
    --stone-900: #1C1917;
}

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

@layer base {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        font-family: 'Inter', sans-serif;
        font-weight: 300;
        letter-spacing: 0.01em;
    }
    
    h1, h2, h3 {
        font-family: 'Playfair Display', serif;
    }
}

/* Custom Colors */
.text-terracotta {
    color: var(--terracotta);
}

.bg-terracotta {
    color: var(--terracotta);
}

.bg-sand {
    background-color: var(--sand);
}

.text-sand {
    color: var(--sand);
}

.bg-sand\/10 {
    background-color: rgba(232, 220, 200, 0.1);
}

.bg-sand\/20 {
    background-color: rgba(232, 220, 200, 0.2);
}

.bg-sand\/30 {
    background-color: rgba(232, 220, 200, 0.3);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

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

/* Mobile Menu Transitions */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--terracotta);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-50);
}

::-webkit-scrollbar-thumb {
    background: var(--sand);
    border-radius: 4px;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Image Hover Effects */
img {
    will-change: transform;
}

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