/* Custom color definitions */
:root {
    --terracotta: #C65D3E;
    --terracotta-dark: #A84C32;
    --sand: #E8D5C4;
    --sand-light: #F5EDE4;
}

/* Tailwind custom colors */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom color classes */
.bg-terracotta {
    background-color: var(--terracotta);
}

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

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

.text-terracotta-dark {
    color: var(--terracotta-dark);
}

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

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

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

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

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

/* Intersection Observer animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(198, 93, 62, 0.1);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
