/* Custom styles for Erb Realty */
:root {
    --burgundy: #800020;
    --burgundy-light: #9e1b3e;
    --blush: #FADADD;
    --cream: #FFF8F0;
    --text-dark: #2D1F2D;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif;
}

/* Custom color classes */
.text-burgundy {
    color: var(--burgundy);
}

.text-burgundy-light {
    color: var(--burgundy-light);
}

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

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

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

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

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

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

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

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

/* Button animations */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(135deg, rgba(128, 0, 32, 0.9) 0%, rgba(128, 0, 32, 0.7) 100%);
    }
}
