/* Minimalist CSS for Penntagon Website */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 300;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #2c3e50;
    margin: 2rem 0;
}

h2 {
    font-size: 2rem;
    color: #34495e;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

h4 {
    font-size: 1.2rem;
    color: #555;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Header and Navigation */
header {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

header nav {
    display: flex;
    justify-content: center;
}

header h1 {
    margin: 0;
}

.logo {
    max-height: 180px;
    width: auto;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    opacity: 0.8;
}

header h1 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #3498db;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero section */
.hero {
    text-align: center;
    margin: 3rem 0;
}

.hero-image img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    border: none;
    font-size: 2.5rem;
    margin: 1rem 0 0.5rem 0;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: #7f8c8d;
}

.hero-content-below p {
    font-size: 1.8rem;
    font-style: italic;
    color: #7f8c8d;
    margin: 0;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #34495e;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Members section */
.members {
    text-align: center;
    margin: 3rem 0;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.member p {
    font-style: italic;
    color: #7f8c8d;
    margin: 0;
}

/* Story pages */
.story {
    max-width: 800px;
    margin: 0 auto;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.story-intro {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.story-text {
    text-align: left;
    line-height: 1.8;
}

.story-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Trips archive */
.trips-archive {
    text-align: center;
}

.archive-intro {
    font-size: 1.2rem;
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.year-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 150px;
}

.year-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    z-index: 1;
}

.year-card > * {
    position: relative;
    z-index: 2;
}

.year-card .photo-needed {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    z-index: 3;
}

.year-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.year-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.year-link h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.year-link p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

/* Individual trip pages */
.trip-year {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.trip-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.trip-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: left;
}

.trip-summary, .trip-photos {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.trip-text {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.photo-item {
    text-align: center;
}

.photo-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.photo-caption {
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

/* Page navigation */
.page-nav {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer */
footer {
    text-align: center;
    margin: 3rem 0 1rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .member-grid {
        grid-template-columns: 1fr;
    }
    
    .years-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .page-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .trip-summary, .trip-photos {
        padding: 1rem;
    }
}

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

/* Focus styles for accessibility */
.nav-link:focus,
.year-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}
