/* Custom Styles for Morrison Real Estate */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* Custom Color Palette */
:root {
    --burgundy: #722F37;
    --burgundy-dark: #5A252C;
    --blush-50: #FFF5F5;
    --blush-100: #FFE4E6;
    --blush-200: #FECDD3;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-500: #78716C;
    --stone-600: #57534E;
    --stone-800: #292524;
    --stone-900: #1C1917;
}

/* Tailwind Config */
tailwind.config = {
    theme: {
        extend: {
            colors: {
                burgundy: {
                    DEFAULT: 'var(--burgundy)',
                    dark: 'var(--burgundy-dark)',
                },
                blush: {
                    50: 'var(--blush-50)',
                    100: 'var(--blush-100)',
                    200: 'var(--blush-200)',
                },
                stone: {
                    50: 'var(--stone-50)',
                    100: 'var(--stone-100)',
                    200: 'var(--stone-200)',
                    500: 'var(--stone-500)',
                    600: 'var(--stone-600)',
                    800: 'var(--stone-800)',
                    900: 'var(--stone-900)',
                }
            },
            fontFamily: {
                playfair: ['Playfair Display', 'serif'],
                inter: ['Inter', 'sans-serif'],
            }
        }
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

/* Navbar Styles */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
.mobile-link {
    transition: color 0.2s ease;
}

/* Smooth Scroll Offset */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

/* Selection Color */
::selection {
    background-color: var(--burgundy);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    section[id] {
        scroll-margin-top: 60px;
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
