/* Custom styles for Maria's Sewing */
:root {
    --navy-800: #0a1f38;
    --navy-850: #071525;
    --gold-450: #d4a017;
    --gold-600: #b8860b;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: var(--gold-600);
    color: white;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-800);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-600);
}

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

.btn-primary::before {
    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, height 0.6s;
}

.btn-primary:active::before {
    width: 300px;
    height: 300px;
}

/* Service card image hover */
.service-card img {
    transition: transform 0.5s ease;
}

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

/* Gold accent line */
.gold-accent {
    position: relative;
}

.gold-accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-450));
    border-radius: 2px;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.float-animation-delay {
    animation: float 3s ease-in-out 1.5s infinite;
}

/* Pulse animation for status dot */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

/* Hide scrollbar for mobile menu */
.mobile-menu {
    scrollbar-width: none;
}

.mobile-menu::-webkit-scrollbar {
    display: none;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-600);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@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-animation,
    .float-animation-delay {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    .btn-primary,
    .btn-secondary,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-navy-850,
    .bg-navy-800,
    .bg-navy-900 {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .service-card {
        padding: 2rem;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .service-card {
        padding: 2.5rem;
    }
}
