/*
Theme Name: MarketMind Theme
Theme URI: https://www.marketmind.at
Description: Custom WordPress theme for MarketMind - fresh thinking, powerful marketing
Author: MarketMind Development
Author URI: https://www.marketmind.at
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marketmind
*/

/* Font Import - Nunito Sans as better Gilroy Alternative */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap');

/* CSS Variables */
:root {
    --green-dark: rgb(15, 60, 20);
    --green: rgb(0, 170, 0);
    --green-light: rgb(95, 210, 15);
    --green-lime: rgb(165, 230, 0);
    --green-mint: rgb(215, 240, 185);
    --off-white: rgb(248, 248, 248);
    --transparent: rgba(255, 255, 255, 0);
    --halbtransparent: rgba(255, 255, 255, 0.4);
    --dreivierteltransparent: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.site-logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: 'Nunito Sans', sans-serif;
}

.site-logo a:hover {
    color: var(--green-light);
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--green-mint) 0%, var(--green-light) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 170, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(95, 210, 15, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(165, 230, 0, 0.1) 0%, transparent 40%);
    opacity: 0.8;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--green-dark);
    letter-spacing: -1px;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo svg {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

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

.tagline {
    font-size: 1.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
    animation: fadeInUp 1.2s ease-out;
}

.tagline .fresh {
    color: var(--green);
}

.tagline .powerful {
    color: var(--green-light);
}

.hero-section p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
}

/* Content Sections */
.content-section {
    padding: 100px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--green-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2 small {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-top: 10px;
    letter-spacing: 0;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--green);
    font-weight: 700;
    letter-spacing: -0.3px;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.story-item {
    background: var(--off-white);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.story-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 170, 0, 0.1);
}

.story-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* Team Section */
.team-section {
    background: linear-gradient(to bottom, white, var(--green-mint));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    background: var(--green-mint);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    margin-top: 20px;
}

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

.btn-secondary {
    background: var(--green-dark);
}

.btn-secondary:hover {
    background: var(--green);
}

/* Contact Section */
.contact-section {
    background: var(--green-dark);
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: var(--green-lime);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.contact-item h3 {
    color: var(--green-lime);
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: #222;
    color: white;
    padding: 40px;
    text-align: center;
}

.site-footer a {
    color: var(--green-light);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .nav-menu {
        display: none;
    }

    .content-section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2rem;
    }
}

/* WordPress Specific */
.wp-block-group {
    margin: 0;
}

.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Page Hero for Subpages */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-mint) 0%, var(--green-light) 100%);
    margin-top: 0;
    padding-top: 100px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 170, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(95, 210, 15, 0.15) 0%, transparent 50%);
    opacity: 0.8;
}

.page-hero-content {
    text-align: center;
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: -1px;
    margin: 0;
}

/* Page Content Styling */
.page-content {
    background: white;
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.content-wrapper section {
    padding: 100px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.content-wrapper section:nth-child(even) {
    background: var(--off-white);
}

.content-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--green-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.content-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 40px;
    color: var(--green);
    font-weight: 700;
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 800px;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0 20px 40px;
    line-height: 1.8;
}

.content-wrapper li {
    margin-bottom: 10px;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
}

.content-wrapper .story_grid,
.content-wrapper .team_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.content-wrapper .story-item,
.content-wrapper .team-member {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive für Unterseiten */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-wrapper section {
        padding: 60px 20px;
    }
    
    .content-wrapper h2 {
        font-size: 2rem;
    }
}
