/* Custom styles for Tellico Styles Beauty and Barber */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0d0d0d;
    color: #e7e7e7;
    overflow-x: hidden;
}

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

/* Selection color */
::selection {
    background-color: #d4a843;
    color: #0d0d0d;
}

/* Custom gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4a843 0%, #fcd34d 50%, #d4a843 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a843, #fcd34d);
    border-radius: 2px;
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Decorative corner accents */
.corner-accent {
    position: relative;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: #d4a843;
    border-style: solid;
    opacity: 0.3;
}

.corner-accent::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.corner-accent::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

/* Loading state for images */
img {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s ease-in-out infinite;
}

@keyframes shimmer-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

img[src] {
    animation: none;
    background: none;
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-open {
    max-height: 400px;
}

/* Reduce motion preference */
@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;
    }

    .float-1,
    .float-2,
    .float-3 {
        animation: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-gold-500 {
        background-color: ButtonFace;
    }

    .text-gold-400 {
        color: ButtonText;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu-btn,
    .scroll-indicator {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .bg-charcoal-950,
    .bg-charcoal-900 {
        background: white !important;
    }

    .text-charcoal-100,
    .text-charcoal-200 {
        color: black !important;
    }
}
