/* Custom Styles for Cheryl Byrd Real Estate */

:root {
    --color-terracotta: #C05640;
    --color-terracotta-light: #D97A60;
    --color-sand: #E6DCC4;
    --color-stone-50: #FAFAF9;
    --color-stone-100: #F5F5F4;
    --color-stone-900: #1C1917;
}

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

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

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

@layer utilities {
    .text-terracotta {
        color: var(--color-terracotta);
    }
    .text-terracotta-light {
        color: var(--color-terracotta-light);
    }
    .bg-terracotta {
        background-color: var(--color-terracotta);
    }
    .bg-terracotta-light {
        background-color: var(--color-terracotta-light);
    }
    .border-terracotta {
        border-color: var(--color-terracotta);
    }
    .border-terracotta\/30 {
        border-color: rgba(192, 86, 64, 0.3);
    }
}

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

/* Animation for Hero */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

/* Form Focus Styles */
input:focus, textarea:focus {
    border-color: var(--color-terracotta) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-stone-100);
}
::-webkit-scrollbar-thumb {
    background: #A8A29E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-terracotta);
}
