:root {
    --color-terracotta: #C2594A;
    --color-terracotta-dark: #A04538;
    --color-sand: #E8D5C4;
    --color-sand-light: #F5EDE5;
    --color-stone-900: #1C1917;
    --color-stone-600: #57534E;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
}

.font-lora {
    font-family: 'Lora', serif;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.nav-text {
    color: #1C1917;
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #1C1917;
}

/* Mobile menu */
.mobile-nav-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover {
    color: #C2594A;
    padding-left: 8px;
}

/* Scroll animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* Scroll to top button */
#scrollToTop.visible {
    opacity: 1;
    pointer-events: all;
}

/* Custom selection */
::selection {
    background: #C2594A;
    color: white;
}

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #C2594A;
    outline-offset: 2px;
}

/* Image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Subtle parallax for hero */
#hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
    }
}

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(194, 89, 74, 0.15);
}

/* Button hover lift */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #C2594A, #E8A87C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effect */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Noise texture overlay */
.noise::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}
