/* RoadRunner Station - Custom Styles */

:root {
    --navy: #1a2f4b;
    --navy-light: #2c4566;
    --gold: #e6b85c;
    --gold-dark: #c49a35;
    --cream: #fdfbf7;
    --cream-dark: #f5f2eb;
    --text-dark: #1a1a1a;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

.font-body {
    font-family: 'Open Sans', sans-serif;
}

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

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

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

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

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

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

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

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

/* Button styles */
.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 184, 92, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: white;
    transform: translateY(-2px);
}

/* Card styles */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 47, 75, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

/* Section padding */
.section-padding {
    padding: 100px 0;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

/* Gold gradient */
.gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

/* Navy gradient */
.navy-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* Menu item styles */
.menu-item {
    border-bottom: 1px dashed rgba(26, 47, 75, 0.2);
    padding: 20px 0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: rgba(230, 184, 92, 0.05);
}

/* 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 reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s 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);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

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

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

/* Hamburger menu animation */
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

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

/* Form styles */
input,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(230, 184, 92, 0.2);
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
