/* Additional custom styles for Dede's Boutique */

/* Ensure all interactive elements have proper focus states */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #e85d35;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

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

/* Enhanced card shadows */
.card-hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-hover:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Geometric rotated element */
.rotated-45 {
    transform: rotate(45deg);
}

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

/* Subtle pattern overlay */
.pattern-subtle {
    background-image: linear-gradient(45deg, rgba(232, 93, 53, 0.03) 25%, transparent 25%), 
                      linear-gradient(-45deg, rgba(232, 93, 53, 0.03) 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, rgba(232, 93, 53, 0.03) 75%), 
                      linear-gradient(-45deg, transparent 75%, rgba(232, 93, 53, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2rem;
    }
    
    .font-display.text-5xl {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    .animate-float,
    .animate-float-delayed,
    .animate-rotate {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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