/* ================================================
   Buchmoment Website - Base Styles & Color System
   ================================================ */

/* === CSS Custom Properties (Variables) === */
:root {
    /* Primary Palette - Matching App Colors */
    --primary-color: #F97729; /* Warmes Orange */
    --primary-dark: #E56520;
    --primary-light: #FFD6BA;
    /* Secondary & Accent */
    --secondary-color: #10B981; /* Modernes Grün */
    --accent-color: #8B5CF6; /* Weiches Violett */
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    /* Backgrounds */
    --background-color: #FAFAFA;
    --card-background: #FFFFFF;
    --entry-background: #F3F4F6;
    --border-color: #E5E7EB;
    /* Text */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-disabled: #9CA3AF;
    --white-color: #FFFFFF;
    --black-color: #000000;
    /* Bootstrap Overrides */
    --bs-primary: #F97729;
    --bs-primary-rgb: 249, 119, 41;
    --bs-secondary: #10B981;
    --bs-secondary-rgb: 16, 185, 129;
}

/* === Global Resets & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

/* === Links === */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--primary-dark);
    }

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

header, footer {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

/* === Navigation === */
nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* === Buttons === */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

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

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(249, 119, 41, 0.3);
    }

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

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

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

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

/* === Cards === */
.card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

/* === Hero Section === */
.hero {
    padding: 6rem 2rem;
    text-align: center;
}

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.25rem;
        max-width: 600px;
        margin: 0 auto 2rem;
        color: var(--text-secondary);
    }

/* === Features Grid === */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.feature {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .feature:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .feature h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

/* === Utility Classes === */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
}

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

.mt-1 {
    margin-top: 0.5rem;
}

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

.mt-3 {
    margin-top: 1.5rem;
}

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

.mb-1 {
    margin-bottom: 0.5rem;
}

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

.mb-3 {
    margin-bottom: 1.5rem;
}

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

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

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