/* Custom Properties */
:root {
    --terracotta: #C75B39;
    --terracotta-light: #E8D4CC;
    --sand: #E8D4CC;
    --sand-light: #F5EDE8;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Color Classes */
.text-terracotta {
    color: var(--terracotta);
}

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

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

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

/* Gradient Backgrounds */
.bg-gradient-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.bg-gradient-cta {
    background: linear-gradient(135deg, var(--terracotta) 0%, #a84732 100%);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--terracotta);
    color: var(--white);
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--terracotta);
}

.btn-primary:hover {
    background-color: #b34f30;
    border-color: #b34f30;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(199, 91, 57, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--white);
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--gray-900);
    transform: translateY(-2px);
}

/* Inputs */
.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--gray-900);
}

.input-field:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.1);
}

.input-field::placeholder {
    color: var(--gray-400);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    position: relative;
    padding: 0.5rem 0;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Neighborhood Cards */
.neighborhood-card {
    transition: all 0.3s ease;
}

.neighborhood-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Active Nav Link */
.nav-link.active {
    color: var(--terracotta);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-playfair.text-4xl {
        font-size: 2rem;
    }
}
