/*
Theme Name: Terrassendach Theme
Theme URI: https://terrassendach-co.de/
Author: Terrassendach & Co.
Author URI: https://terrassendach-co.de/
Description: Custom Theme für Terrassendach & Co. GbR - One-Page Design für Terrassenüberdachungen und Carports
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terrassendach
Tags: custom-menu, featured-images, full-width-template, theme-options
*/

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

:root {
    --color-primary: #c9a962;
    --color-primary-dark: #b8954e;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-bg-light: #f8f8f8;
    --color-bg-dark: #1a1a1a;
    --font-family: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.btn-nav {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--color-primary-dark);
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.phone {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 16px;
}

.address {
    font-size: 13px;
    color: var(--color-text-light);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-color: var(--color-bg-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-usp {
    margin-bottom: 40px;
}

.hero-usp li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.hero-usp li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Services Section */
.services {
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

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

.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.service-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Carports Section */
.carports {
    position: relative;
    padding: 120px 0;
    background-color: var(--color-bg-dark);
}

.carports-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.carports-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carports-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-white);
}

.carports-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
}

.carports-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Value Props Section */
.value-props {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.value-props-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.value-props-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-props-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-white);
}

.value-props-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.value-props-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Features Section */
.features {
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Oasis Section */
.oasis {
    position: relative;
    padding: 120px 0;
    background-color: var(--color-bg-dark);
}

.oasis-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.oasis-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oasis-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-white);
}

.oasis-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
}

.oasis-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    background-color: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-family);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 24px;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Gallery Section */
.gallery {
    background-color: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact {
    background-color: var(--color-white);
    padding: 80px 0;
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-text);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-person {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-person img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-person h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.contact-person .phone {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-person .email {
    font-size: 16px;
    color: var(--color-text-light);
}

/* Footer */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 16px;
}

.footer-logo p {
    font-size: 15px;
    opacity: 0.8;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-legal a {
    font-size: 15px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-contact .contact-person img {
    width: 60px;
    height: 60px;
}

.footer-contact .contact-person h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-contact .phone,
.footer-contact .email {
    font-size: 14px;
    color: var(--color-white);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .header-contact {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .carports-content h2,
    .oasis-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .about-grid img {
        height: 180px;
    }

    .contact-person {
        flex-direction: column;
        text-align: center;
    }
}
