/* 
 * Robyn's Nest Home Decor — Custom Styles
 * Premium dark luxury with burgundy & blush palette
 */

/* Custom property definitions for consistency */
:root {
    --color-deep-black: #050505;
    --color-rich-charcoal: #0f0f0f;
    --color-burgundy: #6b0f1a;
    --color-burgundy-dark: #4a0a12;
    --color-burgundy-light: #8b1522;
    --color-blush: #f2d7d9;
    --color-blush-light: #faf0f1;
    --color-gold: #c9a84c;
    --color-gold-light: #e5c578;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--color-burgundy);
    color: var(--color-blush-light);
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth transitions for all interactive elements */
button, a, input, textarea, select {
    transition: all 0.3s ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .image-frame::after,
    button, form, iframe {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .text-gold-gradient, h1, h2, h3, h4 {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Large desktop */
@media (min-width: 1400px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
