/* Custom styles for editorial look */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fefef9;
    color: #2d2219;
}

.serif-display {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}

.serif-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}

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

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

::-webkit-scrollbar-thumb {
    background: #e05228;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c93d1c;
}

/* Editorial line decoration */
.editorial-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #e05228, #f49d7e);
}

/* Smooth image loading */
img {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Navigation styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Mobile menu animation */
.mobile-menu {
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Scroll reveal for below-fold content */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #e05228, #c93d1c);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c93d1c, #a83018);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(224, 82, 40, 0.3);
}

.btn-secondary {
    border: 1px solid #e05228;
    color: #e05228;
    transition: all 0.3s ease;
}

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

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(45, 34, 25, 0.15);
}

/* Hero background pattern */
.hero-pattern {
    background-image: 
        linear-gradient(135deg, rgba(224, 82, 40, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(224, 82, 40, 0.03) 0%, transparent 50%);
    background-size: 60px 60px;
}

/* Decorative elements */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 82, 40, 0.08), transparent);
    pointer-events: none;
}

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

/* Print styles */
@media print {
    .fixed,
    .mobile-menu,
    .decoration-circle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
