/* LWV Newport County - Professional Design */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
    font-size: 17px;
}

/* HEADER WITH NEWPORT COUNTY LOGO */
.site-header {
    background: #003d7a;
    padding: 20px 0;
    border-bottom: 4px solid #d32f2f;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Navigation */
nav {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    white-space: nowrap;
}

nav li {
    flex: 0 0 auto;
}

nav a {
    display: block;
    padding: 14px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
    background: #fafafa;
}

/* Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    padding: 40px 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: #4a4a4a;
    font-weight: 300;
}

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 20px;
    color: #1a1a1a;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 12px;
    color: #1a1a1a;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #1a1a1a;
}

p {
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 18px;
}

ul, ol {
    margin: 15px 0 20px 30px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 24px;
    background: #003d7a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.2s;
    min-height: 48px;
}

.btn:hover {
    background: #002952;
}

.btn-secondary {
    background: white;
    color: #003d7a;
    border: 2px solid #003d7a;
}

.btn-secondary:hover {
    background: #003d7a;
    color: white;
}

/* Stats */
.stats {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 35px 0;
    margin: 50px 0;
    background: #fafafa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: center;
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    color: #d32f2f;
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 35px 0;
}

.photo-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Footer */
footer {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 45px 20px 35px;
    margin-top: 70px;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 1200px;
}

footer h4 {
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

footer p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

footer a {
    color: #666;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 6px 0;
}

footer a:hover {
    color: #003d7a;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    margin-top: 35px;
    border-top: 1px solid #ddd;
    color: #999;
    font-size: 13px;
}

/* TABLET: 600px+ */
@media (min-width: 600px) {
    .logo img {
        height: 70px;
    }
    
    h1 {
        font-size: 40px;
        margin-bottom: 22px;
    }
    
    .lead {
        font-size: 20px;
    }
    
    nav a {
        padding: 16px 18px;
        font-size: 15px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

/* DESKTOP: 768px+ */
@media (min-width: 768px) {
    .site-header {
        padding: 25px 0;
    }
    
    .site-header .container {
        padding: 0 40px;
        justify-content: flex-start;
    }
    
    .logo img {
        height: 80px;
    }
    
    .container {
        padding: 0 40px;
    }
    
    .page-header {
        padding: 70px 40px 45px;
    }
    
    h1 {
        font-size: 48px;
        margin-bottom: 25px;
    }
    
    .lead {
        font-size: 22px;
    }
    
    .hero-image {
        margin: 0 auto 60px;
        padding: 0 40px;
    }
    
    h2 {
        font-size: 36px;
        margin: 80px 0 30px;
    }
    
    h3 {
        font-size: 25px;
        margin: 40px 0 16px;
    }
    
    nav {
        overflow-x: visible;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    nav a {
        padding: 18px 20px;
    }
    
    .stats {
        padding: 55px 0;
        margin: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 45px;
    }
    
    .stat-number {
        font-size: 50px;
        margin-bottom: 10px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        margin: 45px 0;
    }
    
    footer {
        padding: 65px 40px 45px;
        margin-top: 110px;
    }
    
    footer .container {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 65px;
    }
    
    footer h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    footer a {
        padding: 0;
    }
}

/* LARGE DESKTOP: 1024px+ */
@media (min-width: 1024px) {
    .logo img {
        height: 90px;
    }
    
    h1 {
        font-size: 52px;
    }
    
    .lead {
        font-size: 23px;
    }
}
