/* Theme CSS for frederix-gengenbach.de */

/* Import Prompt font */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #da70d6;
    --accent-color: #ff0000;
    --text-color: #333333;
    --bg-light: #ffffff;
    --bg-section: #f8f9fa;
    --border-color: #dee2e6;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Reset default list styles */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Navigation Styles */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: #ffffff !important;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Remove any list markers from navbar */
.navbar-nav, .navbar-nav li {
    list-style: none !important;
}

.navbar-nav li::before,
.navbar-nav li::after {
    display: none !important;
}

.navbar-toggler {
    border-color: #ffffff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ba55d3 100%) !important;
    color: #ffffff !important;
    padding: 80px 0 !important;
    text-align: center !important;
}

.hero-section h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
}

.hero-section p {
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff !important;
}

.hero-section .btn-cta {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    padding: 15px 40px !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

.hero-section .btn-cta:hover {
    background-color: #cc0000 !important;
}

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

section:nth-child(even) {
    background-color: var(--bg-section);
}

section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

section p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Content Lists Styling */
.content-area ul {
    margin: 1.5rem 0;
    padding-left: 0 !important;
}

.content-area ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.content-area ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.content-area ol {
    counter-reset: custom-counter;
    margin: 1.5rem 0;
    padding-left: 0 !important;
}

.content-area ol li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    counter-increment: custom-counter;
}

.content-area ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-body ul {
    padding-left: 0 !important;
}

.card-body ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.card-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

thead {
    background-color: var(--primary-color);
    color: #ffffff;
}

thead th {
    padding: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: left;
    border-bottom: 2px solid var(--accent-color);
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(218, 112, 214, 0.05);
}

tbody td {
    padding: 1rem;
    font-size: 1.0625rem;
}

tbody td strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

picture {
    display: inline-block;
    margin: 1rem 0;
}

/* Icon Styles */
.icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Conversion Buttons */
.btn-conversion {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.btn-conversion:hover {
    background-color: #cc0000;
    color: #ffffff;
    text-decoration: none;
}

/* Footer Styles */
footer {
    background-color: #333333;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
}

footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

footer ul {
    list-style: none !important;
    padding: 0 !important;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li::before,
footer ul li::after {
    display: none !important;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9375rem;
}

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

    .hero-section p {
        font-size: 1.0625rem !important;
    }

    section h2 {
        font-size: 1.75rem;
    }

    section h3 {
        font-size: 1.375rem;
    }

    section p,
    .content-area ul li,
    .content-area ol li {
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    table {
        font-size: 0.875rem;
    }

    thead th,
    tbody td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
    }

    .hero-section {
        padding: 60px 0 !important;
    }

    .hero-section h1 {
        font-size: 1.75rem !important;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.25rem;
    }

    .btn-cta,
    .btn-conversion {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
