/* Sophie's Swimwear — Premium Dark Luxury Styles */
/* Additional custom styles beyond Tailwind */

/* Base reset and typography refinements */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f5f0eb;
}

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

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

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

/* Print styles */
@media print {
    .nav-glass,
    .mobile-menu,
    .menu-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .gold-gradient {
        -webkit-text-fill-color: #d4a84b !important;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 640px) {
    .hero-gradient {
        background: linear-gradient(135deg, #1a0a06 0%, #2d1510 20%, #4a1f15 40%, #c4622a 60%, #d4a84b 80%, #1a1a1a 100%);
    }
    
    .luxury-card {
        border-width: 1px;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 641px) and (max-width: 1023px) {
    .nav-glass {
        background: rgba(13, 13, 13, 0.9);
    }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
    .luxury-card {
        border-width: 1px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .luxury-card {
        border-color: rgba(212, 168, 75, 0.5);
    }
    
    .text-white\/50 {
        color: rgba(245, 240, 235, 0.7);
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-glass {
        height: 60px;
    }
}
