/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 1rem 0;
}

.logo {
    width: 60px;
    height: 60px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a365d;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-title h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.site-title .tagline {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
}

.nav-link {
    color: #495057 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: #e9ecef;
}

.nav-link.active {
    background-color: #1a365d;
    color: white !important;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a365d;
    color: white;
    padding: 8px;
    z-index: 1001;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Main Content */
.main-content {
    min-height: 70vh;
    padding: 2rem 0;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #1a365d;
    color: white;
    border-bottom: none;
    padding: 1rem 1.25rem;
}

/* Buttons */
.btn-primary {
    background-color: #1a365d;
    border-color: #1a365d;
}

.btn-primary:hover {
    background-color: #2c5282;
    border-color: #2c5282;
}

.btn-outline-primary {
    color: #1a365d;
    border-color: #1a365d;
}

.btn-outline-primary:hover {
    background-color: #1a365d;
    border-color: #1a365d;
}

/* Responsive */
@media (max-width: 768px) {
    .site-title h1 {
        font-size: 1.25rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.hero-section{
    height: 420px;
    width: 100%;
    position: relative;
}

/* Running Text */
.running-text-wrapper{
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(4px);
    padding: 10px 0;
}

.running-text span{
    display: inline-block;
    padding-left: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    animation: marquee 22s linear infinite;
    letter-spacing: .5px;
}

@keyframes marquee{
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Background behavior */
.mountain-background{
    background-attachment: fixed;
}

@media (max-width:768px){
    .hero-section{ height: 300px; }
    .running-text span{ font-size: .9rem; }
    .mountain-background{ background-attachment: scroll; }
}
