/* Page Styles for Content Pages */

/* General Page Styling */
.page-content {
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.page-header {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.page-header h2 {
    font-size: 2.5rem;
    text-align: right;
    font-family: 'AGBuch', Arial, sans-serif;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 5px;
    border-radius: 5px;
}

/* About Page */
.about-header::after {
    background-color: #ffa02e; /* Orange */
}

.page-body p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-body {
    margin-bottom: 40px;
}

/* Gallery Page */
.gallery-header::after {
    background-color: #98bdff; /* Light blue */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    border-radius: 5px;
    overflow: hidden;
    background-color: #333;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.placeholder-image {
    background-color: #444;
    color: #ccc;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

/* Characters Page */
.characters-header::after {
    background-color: #ff5150; /* Red/coral */
}

.characters-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.character-card {
    display: flex;
    gap: 20px;
    background-color: rgba(85, 85, 85, 0.3);
    padding: 20px;
    border-radius: 5px;
}

.character-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-info {
    flex-grow: 1;
}

.character-info h3 {
    margin-bottom: 10px;
    color: #ff5150; /* Red/coral */
}

/* Blog Page */
.blog-header::after {
    background-color: #a6ff24; /* Bright green */
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.blog-post {
    background-color: rgba(85, 85, 85, 0.3);
    padding: 20px;
    border-radius: 5px;
}

.blog-post h3 {
    margin-bottom: 5px;
    color: #a6ff24; /* Bright green */
}

.post-meta {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
    font-style: italic;
}

.post-content p {
    margin-bottom: 15px;
}

/* Newsletter Page */
.newsletter-header::after {
    background-color: #ff57da; /* Magenta */
}

.newsletter-container {
    margin-bottom: 30px;
}

.newsletter-info {
    margin-bottom: 30px;
}

.newsletter-info p {
    margin-bottom: 15px;
}

.newsletter-form {
    background-color: rgba(85, 85, 85, 0.3);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #222;
    color: #fff;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-btn {
    background-color: #ff57da; /* Magenta */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #d700d7;
}

.newsletter-archive {
    margin-top: 30px;
}

.newsletter-archive h3 {
    margin-bottom: 15px;
    color: #ff57da; /* Magenta */
}

.newsletter-archive ul {
    list-style-type: none;
}

.newsletter-archive li {
    margin-bottom: 10px;
}

.newsletter-archive a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.newsletter-archive a:hover {
    color: #ff57da; /* Magenta */
}

/* Contact Page */
.contact-container {
    margin-bottom: 30px;
}

.contact-container > p {
    margin-bottom: 20px;
}

.contact-form {
    background-color: rgba(85, 85, 85, 0.3);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #222;
    color: #fff;
    resize: vertical;
}

.contact-info {
    margin-top: 30px;
}

.contact-info h3 {
    margin-bottom: 15px;
    color: #ffa02e; /* Orange */
}

.contact-info ul {
    list-style-type: none;
}

.contact-info li {
    margin-bottom: 10px;
}

/* Back Link */
.back-link {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.back-link a {
    color: #98bdff; /* Light blue */
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #98bdff;
    border-radius: 25px;
    font-family: 'AGBuch', Arial, sans-serif;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.back-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(135, 206, 250, 0.3);
    background-color: rgba(135, 206, 250, 0.1);
}

.back-link a::before {
    content: '←';
    margin-right: 8px;
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.back-link a:hover::before {
    transform: translateX(-4px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .character-card {
        flex-direction: column;
    }
    
    .character-image {
        width: 100%;
        height: 200px;
    }
}

/* Form status messages */
#form-status {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    width: 100%;
}

#form-status.hidden {
    display: none;
}

#form-status.success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #155724;
}

#form-status.error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #721c24;
}

#form-status.info {
    background-color: rgba(23, 162, 184, 0.2);
    border: 1px solid #17a2b8;
    color: #0c5460;
} 