/* Jackson Ohio Realtor - Rugged Outdoor Adventure Design */

:root {
    --forest: #1a3a1a;
    --pine: #2d5016;
    --moss: #546d3e;
    --russet: #a0522d;
    --rust: #8b4513;
    --timber: #5d4037;
    --bark: #3e2723;
    --stone: #616161;
    --clay: #efebe9;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', system-ui, sans-serif;
    background-color: var(--clay);
    color: var(--bark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--russet);
    border-radius: 0;
}

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

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

/* Mountain Layers Background */
.mountain-layers {
    background:
        linear-gradient(180deg, transparent 0%, transparent 60%, rgba(42, 80, 22, 0.3) 100%),
        linear-gradient(170deg, transparent 70%, rgba(84, 109, 62, 0.4) 100%),
        linear-gradient(175deg, transparent 80%, rgba(45, 80, 22, 0.5) 100%),
        var(--forest);
}

/* Wood Grain Texture */
.wood-texture {
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0,0,0,0.03) 1px,
            rgba(0,0,0,0.03) 2px
        );
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Animations */
.hero-badge {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-text {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stats-row > div {
    animation: fadeInUp 0.8s ease-out both;
}

.stats-row > div:nth-child(1) {
    animation-delay: 1s;
}

.stats-row > div:nth-child(2) {
    animation-delay: 1.1s;
}

.stats-row > div:nth-child(3) {
    animation-delay: 1.2s;
}

/* About Section Animations */
.about-content {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.sidebar-highlights {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Property Cards Animation */
.property-cards > div {
    animation: fadeInUp 0.6s ease-out both;
}

.property-cards > div:nth-child(1) {
    animation-delay: 0.1s;
}

.property-cards > div:nth-child(2) {
    animation-delay: 0.2s;
}

.property-cards > div:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hover Effects */
.property-cards > div {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-cards > div:hover {
    transform: translateY(-8px);
}

/* Typography */
.font-slab {
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 600;
}

h1, h2, h3 {
    font-weight: 700;
}

/* Smooth Transitions */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States */
a:focus,
button:focus {
    outline: 3px solid var(--russet);
    outline-offset: 4px;
}

/* Diagonal Accents */
.diagonal-accent {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    .stats-row {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
    .mountain-layers {
        background-attachment: fixed;
    }
}
