/*
Theme Name: PAL.works Theme
Theme URI: https://palworks.de
Author: PAL.works
Author URI: https://palworks.de
Description: Modernes, partnerschaftliches Theme für PAL.works Kanzlei mit Magenta-Farbschema
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: palworks
*/

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-magenta: #E6007E;
    --dark-magenta: #B8005F;
    --light-magenta: #FFE6F2;
    --accent-purple: #8B008B;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --background: #FFFFFF;
    --light-gray: #F8F8F8;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

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

/* Header */
.site-header {
    background: var(--background);
    border-bottom: 3px solid var(--primary-magenta);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-magenta);
    text-decoration: none;
}

.site-title:hover {
    color: var(--dark-magenta);
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background: var(--light-magenta);
    color: var(--primary-magenta);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-magenta) 0%, var(--background) 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3em;
    color: var(--primary-magenta);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-magenta);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-magenta);
}

.cta-button:hover {
    background: var(--dark-magenta);
    border-color: var(--dark-magenta);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.3);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-magenta);
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-magenta);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.2);
}

.service-card h3 {
    color: var(--primary-magenta);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
    color: var(--primary-magenta);
    font-size: 1.3em;
    margin: 15px 0 10px;
}

.team-member .role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.2);
}

.blog-post-content {
    padding: 25px;
}

.blog-post h3 {
    color: var(--primary-magenta);
    margin-bottom: 10px;
}

.blog-post .date {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.blog-post p {
    color: var(--text-light);
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-magenta);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: var(--dark-magenta);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-card i {
    font-size: 2.5em;
    color: var(--primary-magenta);
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
}

.contact-card a {
    color: var(--primary-magenta);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--dark-magenta);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-magenta);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--primary-magenta);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--dark-magenta);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.3);
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-magenta);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--primary-magenta);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .services-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* WordPress Specific Styles */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    padding: 10px;
    font-style: italic;
    color: var(--text-light);
}
