/* Custom styles for Grove Street Apts */
:root {
    --terracotta-500: #e05c48;
    --terracotta-600: #cc4533;
    --sand-50: #fefdfb;
    --sand-100: #fdf9f3;
    --trust-950: #0a2045;
    --trust-800: #0a408f;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--sand-100);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-600);
}

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

/* Hero content background */
.hero-content {
    background: linear-gradient(135deg, #3f1310 0%, #732921 50%, #8c2f25 100%);
}

/* Hero image */
.hero-image {
    background-image: url('https://images.pexels.com/photos/3958949/pexels-photo-3958949.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=800&h=1000');
    background-size: cover;
    background-position: center;
}

/* Section pattern */
.section-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(224, 92, 72, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(226, 171, 115, 0.05) 0%, transparent 50%);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #e05c48 0%, #cc4533 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #cc4533 0%, #ab3629 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(224, 92, 72, 0.4);
}

/* Secondary button */
.btn-secondary {
    border: 2px solid #e05c48;
    color: #e05c48;
    transition: all 0.3s ease;
}

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

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid pattern background */
.grid-pattern {
    background-image: linear-gradient(rgba(224, 92, 72, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(224, 92, 72, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #e05c48;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    .section-pattern {
        background-image: none;
    }
}

/* Print styles */
@media print {
    .hero-grid {
        min-height: auto;
    }
    
    .btn-primary,
    .btn-secondary {
        background: #333 !important;
        color: white !important;
    }
}
