/* Custom styles for Lonnie K. Lee Real Estate */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: #1a1a1a;
    background-color: #FDFBF9;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Navigation */
nav {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #A32323;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #A32323;
}

/* Hero section */
.hero-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Magazine grid */
.magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .magazine-grid {
        grid-template-columns: 1fr;
    }
}

/* Decorative elements */
.thin-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8D5D5, transparent);
}

/* Hover effects */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.94);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Image overlay */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 4, 4, 0.3), rgba(74, 4, 4, 0.6));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

/* Text reveal animation */
.text-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn-primary {
    background: #A32323;
    color: white;
    padding: 14px 36px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #721212;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(163, 35, 35, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #A32323;
    padding: 14px 36px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 1px solid #A32323;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #A32323;
    color: white;
}

/* Form inputs */
.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #E8D5D5;
    padding: 12px 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: #1a1a1a;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-bottom-color: #A32323;
}

.form-input::placeholder {
    color: #B8A8A8;
}

/* Stats */
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: #A32323;
    line-height: 1;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Footer */
.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8D5D5, transparent);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FDFBF9;
}

::-webkit-scrollbar-thumb {
    background: #A32323;
    border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .text-reveal {
        opacity: 1;
        transform: none;
    }
    
    .hover-lift {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
