/* Custom styles for Cell Phone Club */

:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #fad0d9;
    --burgundy-300: #f5a3b5;
    --burgundy-400: #ec617a;
    --burgundy-500: #d43f5c;
    --burgundy-600: #b8223e;
    --burgundy-700: #9c1a33;
    --burgundy-800: #83182b;
    --burgundy-900: #6e1625;
    --burgundy-950: #3d0a12;
    --blush-500: #ff4d75;
    --blush-400: #ff7ea0;
    --cream: #FFF8F5;
    --warmgray: #2D2426;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--warmgray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(156, 26, 51, 0.1);
}

nav.scrolled .menu-line {
    background: var(--burgundy-800);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Service cards */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Product cards */
.product-card {
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-6px);
}

/* Review cards */
.review-card {
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-4px);
}

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

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 12deg)); }
    50% { transform: translateY(-12px) rotate(var(--rotation, 12deg)); }
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #9c1a33;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #fad0d9;
    color: #3d0a12;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FFF8F5;
}

::-webkit-scrollbar-thumb {
    background: #fad0d9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f5a3b5;
}

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #FFF8F5 inset !important;
    -webkit-text-fill-color: #2D2426 !important;
}
