/* Swimfan-inspired David Schwimmer Fan Site */
/* Early 2000s aesthetic with moody blue tones */

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

body {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    background-color: #0a0a1a;
    background-image:
        linear-gradient(rgba(10, 30, 60, 0.8), rgba(0, 0, 0, 0.9)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(20, 40, 80, 0.1) 2px,
            rgba(20, 40, 80, 0.1) 4px
        );
    color: #e0e8f0;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(15, 25, 45, 0.95);
    box-shadow: 0 0 50px rgba(0, 100, 200, 0.3);
}

/* Header Styles - Swimfan movie poster inspired */
header {
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(180deg, rgba(0, 20, 50, 1) 0%, rgba(15, 30, 60, 0.9) 100%);
    border-bottom: 3px solid #ff6b4a;
}

.main-title {
    font-size: 4.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #a8d5e2;
    text-transform: lowercase;
    text-shadow:
        0 0 20px rgba(100, 180, 220, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    font-family: Impact, 'Arial Black', sans-serif;
}

.tagline {
    font-size: 1.3rem;
    color: #ff6b4a;
    letter-spacing: 0.3em;
    text-transform: lowercase;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-image {
    margin: 30px auto;
    max-width: 800px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.placeholder-hero {
    background: linear-gradient(135deg, #1a3a5a 0%, #0f1f3f 100%);
    border: 2px solid #2a4a6a;
    padding: 200px 20px;
    text-align: center;
    color: #5a8aaa;
    font-size: 1.2rem;
    border-radius: 4px;
}

.subtitle {
    font-size: 1.4rem;
    color: #ff6b4a;
    letter-spacing: 0.1em;
    margin-top: 20px;
    font-weight: 300;
    line-height: 1.8;
}

/* Navigation */
nav {
    background: rgba(0, 30, 60, 0.8);
    border-bottom: 2px solid #2a5a8a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

nav li {
    display: inline;
}

nav a {
    color: #a8d5e2;
    text-decoration: none;
    padding: 8px 20px;
    display: inline-block;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 3px;
}

nav a:hover {
    background: rgba(168, 213, 226, 0.1);
    color: #ffffff;
    border-color: #5a9aaa;
}

nav a.active {
    background: rgba(255, 107, 74, 0.2);
    color: #ff6b4a;
    border-color: #ff6b4a;
}

/* Main Content */
main {
    padding: 40px 20px;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 2rem;
    color: #a8d5e2;
    margin-bottom: 20px;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    border-bottom: 2px solid #ff6b4a;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.3rem;
    color: #7ab5c5;
    margin-bottom: 10px;
}

.welcome {
    background: rgba(20, 40, 70, 0.6);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ff6b4a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.welcome p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: #8a9aaa;
    font-style: italic;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(138, 154, 170, 0.3);
}

.content-box {
    background: rgba(20, 40, 70, 0.4);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2a5a8a;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.placeholder-image {
    background: linear-gradient(135deg, #1a3a5a 0%, #0f1f3f 100%);
    border: 2px solid #2a4a6a;
    padding: 80px 20px;
    text-align: center;
    color: #5a8aaa;
    border-radius: 4px;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-image {
    flex: 1;
    min-width: 200px;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.bio-text {
    flex: 2;
    min-width: 300px;
}

.bio-text p {
    margin-bottom: 15px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(168, 213, 226, 0.4);
}

/* News */
.news-item {
    margin-bottom: 20px;
}

.date {
    color: #7a9aaa;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 10px;
}

/* Community Links */
.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.community-item {
    background: rgba(10, 30, 50, 0.6);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #3a6a8a;
    transition: all 0.3s ease;
}

.community-item:hover {
    background: rgba(20, 40, 60, 0.8);
    border-color: #5a9aaa;
    transform: translateY(-2px);
}

.community-item p {
    margin: 10px 0;
}

/* Links */
a {
    color: #ff6b4a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffa08a;
    text-decoration: underline;
}

/* Footer */
footer {
    background: rgba(0, 20, 40, 0.9);
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #ff6b4a;
    color: #8a9aaa;
}

.footer-note {
    font-size: 0.85rem;
    margin-top: 10px;
    color: #6a7a8a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

    .tagline, .subtitle {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .content-box {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Early 2000s touches */
::selection {
    background: #ff6b4a;
    color: #ffffff;
}

/* Subtle water ripple effect on hover for images */
.placeholder-image:hover,
.placeholder-hero:hover {
    animation: ripple 0.6s ease;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 213, 226, 0.4);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(168, 213, 226, 0);
    }
}
