/* Montre Viceroy - Custom Styles - Bordeaux accent on slate neutrals */

/* ===== FONTS ===== */
body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

html {
    scroll-behavior: smooth;
}

/* ===== VICEROY BORDEAUX ACCENT PALETTE =====
   Kept under ".coral-*" class names so the template markup stays intact,
   but values are a refined bordeaux / deep crimson suited to a luxury watch brand. */
.bg-coral-100 { background-color: #fee2e2; }
.bg-coral-200 { background-color: #fecaca; }
.bg-coral-500 { background-color: #991b1b; }
.bg-coral-600 { background-color: #7f1d1d; }
.text-coral-100 { color: #fee2e2; }
.text-coral-200 { color: #fecaca; }
.text-coral-500 { color: #991b1b; }
.text-coral-600 { color: #7f1d1d; }
.border-coral-500 { border-color: #991b1b; }
.ring-coral-500 { --tw-ring-color: #991b1b; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== HEADER ===== */
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    display: block;
}

/* ===== FOCUS & ACCESSIBILITY ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #991b1b;
    outline-offset: 2px;
}

input::placeholder {
    color: #94a3b8;
}

input:focus {
    outline: none;
}

/* ===== TESTIMONIAL CAROUSEL (MOBILE) ===== */
#testimonial-track > div {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #cbd5e1;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: 0;
}

.testimonial-dot.active {
    background-color: #991b1b;
}

/* ===== CONTENT TYPOGRAPHY HELPERS ===== */
.prose-viceroy p {
    line-height: 1.75;
}

.prose-viceroy strong {
    color: #1e293b;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

::selection {
    background-color: #991b1b;
    color: white;
}

::-moz-selection {
    background-color: #991b1b;
    color: white;
}
