/*
Theme Name: Ralph Ammer's Theme
Theme URI: http://example.com/ralphis-theme
Author: Ralph Ammer
Author URI: http://ralphammer.com
Description: A custom theme for Ralph Ammer's website.
Version: 1.0
License: All Rights Reserved
Tags: custom, theme
*/

/* Import modular CSS files */
@import url('assets/css/base.css');
@import url('assets/css/header.css');
@import url('assets/css/footer.css');

/* Body styles are handled in base.css */

/* Header Styles */
.header {
    margin: 0;
    padding: 0;
}

.header__logo {
    height: 40px; /* Begrenze die Höhe des Logos */
    width: auto;
}

.header__logo svg {
    height: 100%;
    width: auto;
    display: block;
}

/* Menu styles are now in assets/css/header.css */

/* WordPress Menu Reset */
#primary-menu {
    margin: 0;
    padding: 0;
}

/* ===== PAGE TEMPLATES STYLES ===== */

/* Common page styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* HOME PAGE */
.home-page .home-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-bottom: 3rem;
    border-radius: 10px;
}

.home-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.home-intro {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #34495e;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* WRITING PAGE */
.writing-page .writing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.writing-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.post-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.post-card h3 {
    margin-top: 0;
}

.post-card h3 a {
    text-decoration: none;
    color: #2c3e50;
}

.post-card h3 a:hover {
    color: #3498db;
}

.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 1rem;
}

/* DRAWINGS PAGE */
.drawings-page .drawings-header {
    text-align: center;
    margin-bottom: 3rem;
}

.drawings-title {
    font-size: 2.5rem;
    color: #2c3e50;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ANIMATIONS PAGE */
.animations-page .animations-header {
    text-align: center;
    margin-bottom: 3rem;
}

.animations-title {
    font-size: 2.5rem;
    color: #2c3e50;
}

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

.animation-item.featured {
    grid-column: span 2;
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.animation-info {
    padding: 1rem 0;
}

.animation-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

/* YOUR STORY PAGE */
.your-story-page .story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-title {
    font-size: 2.5rem;
    color: #2c3e50;
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #3498db;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.interactive-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.story-form {
    margin-top: 2rem;
}

.story-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-family: inherit;
    margin-bottom: 1rem;
    resize: vertical;
}

.story-form button {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.story-form button:hover {
    background: #2980b9;
}

/* CONTACT PAGE */
.contact-page .contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    color: #2c3e50;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ecf0f1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-button {
    background: #27ae60;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #219a52;
}

.contact-info .info-item {
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #3498db;
    text-decoration: none;
    padding: 0.5rem;
    border: 2px solid #3498db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .animation-item.featured {
        grid-column: span 1;
    }
    
    .home-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .header__logo {
        height: 50px; /* Größeres Logo in mobiler Version */
    }
}
    padding: 0;
    list-style: none;
}

#primary-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* .main-menu__link styles are now in assets/css/header.css */