/* Custom styles for Quixotic 15 */
:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2d2d2d;
    --charcoal-700: #3d3d3d;
    --charcoal-600: #4a4a4a;
    --coral-500: #FF6B6B;
    --coral-400: #FF8787;
    --coral-300: #FFA0A0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--charcoal-900);
}

/* Hero background */
.hero-bg {
    background: linear-gradient(135deg, var(--charcoal-900) 0%, var(--charcoal-800) 100%);
}

/* Coral gradient buttons */
.coral-gradient {
    background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-400) 100%);
}

/* Text shadow for hero */
.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-400) 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* Secondary button */
.btn-secondary {
    border: 2px solid var(--coral-500);
    color: var(--coral-500);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--coral-500);
    color: white;
}

/* Navigation links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--coral-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Fade-in animation for scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .absolute.-bottom-6.-left-6 {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 2rem;
    }
}

/* Smooth transitions */
transition-all {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
*:focus {
    outline: none;
}

input:focus,
textarea:focus,
button:focus {
    outline: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-400);
}
