/* Custom Styles for Ashley Boddie-Shaul Real Estate Site */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
#navbar {
    background: rgba(255, 252, 245, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 252, 245, 0.98);
    box-shadow: 0 1px 20px rgba(164, 20, 57, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a41439, #c7204b);
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #a41439 0%, #c7204b 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(164, 20, 57, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(164, 20, 57, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #a41439;
    font-weight: 600;
    border: 2px solid #a41439;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #a41439;
    color: white;
    transform: translateY(-2px);
}

/* Section labels */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a41439;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, #a41439, #fce7eb);
}

/* Hero animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-images {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service cards */
.service-card {
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Testimonial cards */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* About section */
.about-image {
    opacity: 0;
    transform: translateX(-30px);
}

.about-image.visible {
    animation: fadeInLeft 0.8s ease forwards;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
}

.about-content.visible {
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.mobile-link {
    position: relative;
    padding-left: 1rem;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a41439;
}

/* Input styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(164, 20, 57, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-images {
        margin-top: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

/* Print styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
}
