/* Hair In Motion — Custom Styles */

/* Base styles handled by Tailwind; this file adds custom touches */

/* Ensure smooth rendering on all devices */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: rgba(190, 45, 45, 0.2);
    color: #1C1917;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #be2d2d;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background-color: #E7E5E4;
}

/* Prevent layout shift on images */
img {
    vertical-align: middle;
}

/* Custom geometric accent bar */
.accent-bar {
    height: 4px;
    background: linear-gradient(90deg, #be2d2d 0%, #ea7860 50%, #f29e8a 100%);
    border-radius: 2px;
}

/* Decorative dot pattern for sections */
.dot-pattern {
    background-image: radial-gradient(circle, #fce0d8 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Noise texture overlay (subtle) */
.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #741f1e 0%, #be2d2d 50%, #ea7860 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle card shine effect */
.card-shine {
    position: relative;
    overflow: hidden;
}
.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .geo-circle,
    .geo-rect {
        display: none;
    }
}

/* Print styles */
@media print {
    #navbar,
    .geo-circle,
    .geo-rect,
    .float-slow,
    .float-medium,
    .float-fast {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
