/* Custom styles for Elite Fiberglass SRQ */

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #102a43;
    background-color: #f0f4f8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

/* Selection color */
::selection {
    background-color: #eab308;
    color: #102a43;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

/* Form inputs */
input,
textarea,
select {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
}

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

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

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

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

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

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

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: left 0.6s ease;
}

.btn-shine:hover::after {
    left: 100%;
}

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

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 42, 67, 0.12);
}

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

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, #eab308, #ca8a04, #a16207);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 25% 25%, rgba(234, 179, 8, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(98, 125, 152, 0.03) 0%, transparent 50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .gold-gradient-text {
        color: #ca8a04;
        -webkit-text-fill-color: #ca8a04;
    }
}
