/* David Josef Fashions — Custom Styles */

/* Base reset and foundations */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #fff;
}

/* Smooth focus outlines */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

@keyframes floatCircle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.geo-square {
    animation: float 6s ease-in-out infinite;
}

.geo-circle {
    animation: floatCircle 8s ease-in-out infinite;
}

/* Stagger animations for decorative elements */
.geo-square:nth-child(1) { animation-delay: 0s; }
.geo-square:nth-child(2) { animation-delay: -2s; }
.geo-circle:nth-child(3) { animation-delay: -1s; }
.geo-circle:nth-child(4) { animation-delay: -3s; }

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #2C3038 0%, #3D424D 100%);
}

/* Reduced motion support */
@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;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .geo-circle {
        opacity: 0.5;
    }
}

/* Print styles */
@media print {
    header, footer, .geo-circle, .geo-square, .pattern-dots {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
}
