/* Allgemeine Stile für Dark Mode */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #1db954;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1ed760;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Sanfter Übergang durch einen Verlauf */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, #121212 100%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.logo-container img {
    width: 500px; /* Größeres Logo */
}

/* Text */
.intro-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 1; /* Text sichtbar */
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 1; /* Text sichtbar */
}



/* Product Grid Container */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Make cards wider */
    grid-gap: 20px; /* Equal space between rows and columns */
    justify-content: center;
    padding: 20px;
    max-width: 1400px; /* Increase max-width to accommodate wider cards */
    margin: 0 auto;
}

/* Card Styling */
.card {
    display: flex;
    flex-direction: column; /* Flexbox for column layout */
    justify-content: space-between; /* Ensures the card content is evenly spaced */
    height: 100%; /* Ensure all cards have equal height */
    border: none;
    border-radius: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background: rgba(40, 40, 40, 0.9);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.8);
}

/* Card Image Styling */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Card Body Styling */
.card-body {
    display: flex;
    flex-direction: column; /* Flexbox layout for body */
    justify-content: space-between; /* Ensures consistent spacing */
    flex-grow: 1; /* Makes sure the card body grows to fill the available space */
    padding: 20px;
}

/* Card Title */
.card-title {
    font-size: 1.1rem; /* Slightly smaller title */
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Card Text */
.card-text {
    font-size: 0.85rem; /* Smaller text */
    color: #bbbbbb;
}


/* Button Styling (if present) */
.btn-primary {
    background-color: #0078D7;
    border-color: #0078D7;
    border-radius: 15px;
    font-size: 0.9rem; /* Slightly smaller button text */
    padding: 10px 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
    pointer-events: none; /* Ensure buttons don't interfere with the card's link */
}

/* Button Hover Effect */
.btn-primary:hover {
    background-color: #005a9e;
    box-shadow: 0px 5px 10px rgba(0, 120, 215, 0.6);
}

/* Remove default link styles for the clickable card */
.card-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep the text color as defined in the card */
}

.card-link:hover {
    text-decoration: none; /* No underline on hover */
}

/* Ensure the entire card is clickable */
.card-link .card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect for the clickable card */
.card-link:hover .card {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.8);
}

/* Ensure the text inside the card is not underlined */
.card-link .card-title,
.card-link .card-text {
    text-decoration: none; /* No underline on any card text */
    color: inherit; /* Use the inherited text color */
}

/* Dark Mode Input Fields */
input, textarea {
    background-color: #2c2c2c;
    color: #d4d4d4;
    border: 1px solid #444444;
    border-radius: 5px;
    padding: 10px;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Further reduce card width for mobile */
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem; /* Even smaller title for mobile */
    }

    .card-text {
        font-size: 0.8rem; /* Smaller text for mobile */
    }

    .btn-primary {
        font-size: 0.85rem;
    }
}


.btn-secondary {
    padding: 5px 5px;
    margin-bottom: 12px;
    margin-top: 12px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    min-width: 150px; /* Stellt sicher, dass beide Buttons gleich breit sind */
    background-color: #2b75885e;
    text-decoration: none; /* Keine Unterstreichung bei Links */
    text-align: center; /* Zentriert den Text innerhalb des Buttons */
    vertical-align: middle; /* Stellt sicher, dass die Buttons auf einer Linie sind */
    cursor: pointer; /* Zeigt den Handcursor an, wenn über den Button gehovt wird */
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #ffffff;
    text-decoration: none;
}


.btn-light.disabled {
    color: #dad5d5;
    background-color: #f1f1f13d;
    border: 2px solid #ccc;
    text-decoration: none;
    text-align: center; /* Zentriert den Text innerhalb des Buttons */
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.btn-light {
    color: #333;
    background-color: #f1f1f1;
    border: 2px solid #ccc;
    text-decoration: none;
    text-align: center; /* Zentriert den Text innerhalb des Buttons */
}
