/*
Theme Name: Mehdi Rangbar Metallbau - Schweißtechnik
Theme URI: https://wordpress.org/themes/construction-and-renovation/
Author: Mehdi Rangbar
Author URI: https://mehdi-rangbar-metallbau.de
Beschreibung: Modernes WordPress-Theme für Schweißtechnik und Metallbau
Version: 1.0
Lizenz: GPL v2 oder später
Text-Domain: mehdi-rangbar-metallbau
*/

/* Zurücksetzen und Basis-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a8ff;      /* Helles Schweißblau */
    --secondary-color: #ff6b00;    /* Warmes Funkenorange */
    --text-color: #ffffff;         /* Weiß für besseren Kontrast */
    --light-bg: #1e272e;          /* Dunkles Blaugrau */
    --dark-bg: #0c141a;           /* Sehr dunkles Blaugrau */
    --white: #ffffff;
    --accent-blue: #4bcffa;       /* Helles Akzentblau für Highlights */
    --border-radius: 5px;
    --transition: all 0.3s ease;
}

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

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

/* Kopfbereich */
header {
    background-color: rgba(12, 20, 26, 0.95);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 168, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Mobiles Menü-Schaltfläche */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hauptinhalt */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Heldenbereich */
.hero {
    background: linear-gradient(rgba(12, 20, 26, 0.7), rgba(12, 20, 26, 0.85)), url('images/welding-hero.jpg') center/cover;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 168, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 107, 0, 0.1) 0%,
        transparent 20%,
        rgba(75, 207, 250, 0.1) 40%,
        transparent 60%,
        rgba(255, 107, 0, 0.1) 80%
    );
    animation: sparkle 4s infinite linear;
    pointer-events: none;
}

@keyframes sparkle {
    0% {
        opacity: 0.5;
        transform: translateX(-50%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
        transform: translateX(50%);
    }
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 168, 255, 0.3);
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Schaltflächen */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.2)
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.btn:hover {
    background-color: #ff7b1f;
    transform: translateY(-2px);
}

.btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(75, 207, 250, 0.2);
}

.btn-outline:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--dark-bg);
}

/* Abschnitte */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Über-mich-Bereich */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

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

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

/* Kundenbewertungen */
.testimonials {
    background-color: var(--light-bg);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-location {
    font-size: 0.9rem;
    color: #999;
}

/* Kontaktformular */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

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

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

/* Fußbereich */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Responsives Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Seitenspezifische Stile */
.page-header {
    background: linear-gradient(rgba(26, 84, 144, 0.8), rgba(26, 84, 144, 0.8)), url('images/page-header-bg.jpg') center/cover;
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-content {
    padding: 60px 0;
}

/* Hilfsfunktionen */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
} 