/* 
    Gartenbau Siegen - CSS Styles
    Author: Trae AI Demo
    Description: Modern, responsive design for a landscaping company
*/

/* --- CSS Variables --- */
:root {
    /* Nature-inspired Colors */
    --primary-color: #2d5a27; /* Deep Forest Green */
    --primary-light: #4c8a3f; /* Lighter Green */
    --secondary-color: #f4a261; /* Soft Orange/Earth */
    --accent-color: #e9c46a; /* Golden Sand */
    --brown-color: #6d4c41; /* Earthy Brown */
    --beige-color: #fdfaf5; /* Very Light Beige */
    --light-bg: #f4f7f2; /* Pale Nature Green/Grey */
    --dark-color: #264653; /* Dark Navy/Slate for Contrast */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --error: #e63946;
    --success: #2a9d8f;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Fraunces', serif;

    /* Spacing & Shadows */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --border-radius: 8px;
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.75rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: var(--section-padding); }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-color); color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-4 { margin-bottom: 2rem; }
.highlight { color: var(--primary-light); }
.hero .highlight { color: var(--white); } /* Override for hero to be white */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.align-end { align-items: flex-end; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.reverse .intro-image, .reverse .service-image { order: 2; }
.reverse .intro-text, .reverse .service-text { order: 1; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
    background-color: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

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

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-block { width: 100%; }

/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.logo-green { color: var(--primary-color); }
.logo-brown { color: var(--brown-color); }
.logo-city { font-weight: 400; color: var(--text-light); }

.demo-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.nav-desktop ul { display: flex; gap: 30px; }
.nav-desktop a { font-weight: 600; color: var(--text-color); font-size: 0.95rem; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary-color); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.nav-toggle span { display: block; width: 25px; height: 3px; background-color: var(--primary-color); border-radius: 2px; transition: var(--transition); }

.nav-mobile {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

.nav-mobile.open { transform: translateY(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 15px; text-align: center; }
.nav-mobile a { font-size: 1.2rem; font-weight: 600; }

/* --- Hero Section Modern --- */
.hero-modern {
    padding: 160px 0 100px;
    background-color: var(--beige-color);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-tagline {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-modern .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-modern .highlight {
    color: var(--primary-color);
    font-style: italic;
}

.hero-modern .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.hero-visual-right {
    position: relative;
}

.image-stack {
    position: relative;
    height: 500px;
}

.main-img-wrapper {
    width: 85%;
    height: 450px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

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

.sub-img-wrapper {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 10px solid var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

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

.experience-badge {
    position: absolute;
    top: 40px;
    left: -40px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 4;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.badge-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.leaf-pattern-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    z-index: 1;
    opacity: 0.5;
}

.hero-bg-shapes .shape-1 {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background-color: rgba(45, 90, 39, 0.03);
    border-radius: 50%;
    filter: blur(50px);
}

.hero-bg-shapes .shape-2 {
    position: absolute;
    bottom: 5%;
    right: 10%;
    width: 300px;
    height: 300px;
    background-color: rgba(233, 196, 106, 0.05);
    border-radius: 50%;
    filter: blur(40px);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }
    .hero-modern .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
    }
    .image-stack {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
    }
    .main-img-wrapper {
        width: 100%;
    }
    .experience-badge {
        left: 0;
    }
}

/* --- Service Cards --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 40px 10px 40px 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon { font-size: 3rem; color: var(--primary-light); margin-bottom: 1.5rem; }
.read-more { font-weight: 600; color: var(--primary-color); display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; }
.read-more i { transition: var(--transition); }
.read-more:hover i { transform: translateX(5px); }

/* --- Project Cards --- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 350px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover img { transform: scale(1.1); }
.project-card:hover .project-info { transform: translateY(0); opacity: 1; }

/* --- About & Stats --- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 3rem; font-weight: 800; color: var(--primary-color); font-family: var(--font-heading); margin-bottom: 5px; }
.stat-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.stat-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 1.5rem; border-radius: 50%; border: 5px solid var(--light-bg); }

/* --- Contact Section --- */
.contact-methods { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.contact-method-item { display: flex; gap: 20px; align-items: center; }
.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.map-placeholder {
    height: 250px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    color: var(--text-light);
}

.map-placeholder i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.3; }

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input { width: auto; margin-top: 5px; }
.checkbox-group label { margin-bottom: 0; font-weight: 400; font-size: 0.85rem; }

.error-msg { color: var(--error); font-size: 0.8rem; display: none; margin-top: 5px; }
.form-group.invalid input, .form-group.invalid textarea { border-color: var(--error); }
.form-group.invalid .error-msg { display: block; }

.alert { padding: 15px 20px; border-radius: var(--border-radius); margin-bottom: 30px; display: flex; align-items: center; gap: 15px; }
.alert-success { background-color: #d1e7dd; color: #0f5132; }
.alert-error { background-color: #f8d7da; color: #842029; }

/* --- Footer --- */
.main-footer { padding-top: 80px; background-color: #1a2a18; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-info .logo { font-size: 2rem; display: block; margin-bottom: 1.5rem; }
.logo-white { color: var(--white); }
.logo-light { color: var(--primary-light); }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background-color: var(--primary-color); transform: translateY(-3px); }

.footer-grid h3 { font-family: var(--font-primary); font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer-grid h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--primary-color); }

.footer-nav ul li { margin-bottom: 10px; }
.footer-nav a { opacity: 0.7; }
.footer-nav a:hover { opacity: 1; color: var(--primary-light); padding-left: 5px; }

.footer-contact p, .footer-hours p { display: flex; gap: 10px; opacity: 0.7; margin-bottom: 12px; }
.footer-contact i { color: var(--primary-light); }

.footer-bottom { padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.6; }
.legal-links { display: flex; gap: 20px; }

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 30px;
    z-index: 2000;
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cookie-actions { display: flex; gap: 15px; flex-shrink: 0; }

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Page Specific --- */
.page-header { padding: 150px 0 80px; }
.check-list { margin-top: 1.5rem; }
.check-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-color); }

.filter-btns { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 25px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-grid h3::after { left: 50%; transform: translateX(-50%); }
    .footer-contact p, .footer-hours p { justify-content: center; }
    .flex-between { flex-direction: column; gap: 20px; text-align: center; }
    .cookie-container { flex-direction: column; text-align: center; }
    .cookie-actions { flex-direction: column; width: 100%; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
}
