/*
Theme Name: GMM Fassadenbau Theme
Theme URI: https://gmm-fassadenbau.at
Author: GMM Fassadenbau GmbH
Author URI: https://gmm-fassadenbau.at
Description: Modernes WordPress-Theme für GMM Fassadenbau GmbH
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gmm-fassadenbau
Tags: one-column, custom-colors, custom-menu, featured-images, responsive-layout
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

:root {
    --color-primary: #231F20;
    --color-accent: #EA2126;
    --color-light: #FEFEFE;
    --color-gray: #6F6C6D;
    --color-gray-light: #BFBEBE;
    --font-primary: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray);
    background-color: var(--color-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-light);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-light);
    color: var(--color-light);
}

.btn-outline:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

/* ==========================================================================
   Diagonal Accent Elements
   ========================================================================== */

.diagonal-accent {
    position: relative;
}

.diagonal-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-accent) 0%, transparent 70%);
    z-index: 1;
}

.diagonal-line {
    width: 150px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 2rem 0;
    transform: skewX(-20deg);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Hero Image */
.hero-section .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 450px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        flex: 0 0 auto;
        max-width: 100%;
    }
}