/* Custom styles for Chris' Custom Shop */

/* Smooth scrolling is handled in HTML */

/* Ensure all text has proper contrast */
.text-midnight-800 {
    color: #0A1628;
}

.text-midnight-700 {
    color: #0F1F3D;
}

.text-midnight-600 {
    color: #132A52;
}

.text-midnight-600\/70 {
    color: rgba(19, 42, 82, 0.7);
}

.text-midnight-600\/60 {
    color: rgba(19, 42, 82, 0.6);
}

.text-mint-600 {
    color: #1FA874;
}

.text-mint-400 {
    color: #45D9A3;
}

.text-mint-300 {
    color: #7DE8C0;
}

.text-mint-200 {
    color: #B3F5DC;
}

.text-mint-200\/70 {
    color: rgba(179, 245, 220, 0.7);
}

.text-mint-200\/60 {
    color: rgba(179, 245, 220, 0.6);
}

.text-mint-100 {
    color: #D8FDF0;
}

/* Button styles */
.btn-primary {
    background: #2CC48C;
    color: #FFFFFF;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #1FA874;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 196, 140, 0.3);
}

.btn-secondary {
    border: 1px solid #2CC48C;
    color: #0A1628;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2CC48C;
    color: #FFFFFF;
}

/* Navigation */
nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is visible without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Form styling */
input:focus,
textarea:focus {
    border-color: #2CC48C !important;
    box-shadow: 0 0 0 3px rgba(44, 196, 140, 0.2) !important;
}

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

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(44, 196, 140, 0.3) 50%, transparent 100%);
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #050D1A 0%, #0F1F3D 50%, #132A52 100%);
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1FA874;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2CC48C;
    outline-offset: 2px;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 13, 26, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}
