/* ====================================
   InfoMKD Custom Styles
   ==================================== */

/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.main-container {
    min-height: 100vh; /* mindestens volle Höhe */
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1; /* Content nimmt den Platz ein -> Footer klebt unten */
}
body {
    background: #f8f9fa;
    font-family: "Segoe UI", "Arial", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar Styles */
.navbar-brand {
    font-weight: bold;
    font-size: 2rem;
    background: linear-gradient(90deg, #ce2028, #f9d616 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #fff;
}

.navbar-toggler {
    border: none;
    box-shadow: none;
}

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

/* Hero Section */
.hero-section {
    background: url("../hero-bg-img.png") center center/cover no-repeat;
    color: #fff;
    padding: 3.5rem 0 4rem 0;
    margin-bottom: 3.5rem;
    box-shadow: 0 4px 24px rgba(206, 32, 40, 0.08);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.262);
        z-index: 0;
    }

    .hero-section > * {
        position: relative;
        z-index: 1;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .hero-section h5 {
        font-weight: 400;
        margin-bottom: 1.5rem;
    }

/* Search Box */
.search-box {
    background: #fff;
    border-radius: 3rem;
    padding: 0.4rem;
    display: flex;
    gap: 0.4rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    max-width: 600px;
}

    .search-box input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 3rem;
    }

    .search-box button {
        background: linear-gradient(90deg, #ce2028, #f9d616 80%);
        border: none;
        color: #fff;
        padding: 0.6rem 1.5rem;
        border-radius: 3rem;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        font-size: 0.9rem;
    }

        .search-box button:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(206, 32, 40, 0.3);
        }

/* Category Buttons */
.category-btns .btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 500;
    margin: 0.25rem 0.5rem 0.25rem 0;
    border-radius: 2rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

    .category-btns .btn:hover {
        background: linear-gradient(90deg, #ce2028, #f9d616 80%);
        border-color: #fff;
        box-shadow: 0 4px 12px rgba(206, 32, 40, 0.3);
        color: #fff;
        transform: translateY(-3px);
    }

/* Floating Social Icons */
.floating-social {
    position: fixed;
    top: 50%;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-50%);
}

    .floating-social a {
        background: rgba(0, 0, 0, 0.252);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 1.5px solid rgba(255, 255, 255, 0.5);
    }

        .floating-social a:hover {
            background: linear-gradient(90deg, #ce2028, #f9d616 80%);
            box-shadow: 0 6px 20px rgba(206, 32, 40, 0.5);
            border-color: #fff;
            transform: translateY(-3px) scale(1.05);
        }

    .floating-social img {
        width: 24px;
        height: 24px;
        display: block;
        filter: brightness(0) invert(1);
    }

.social-follow a {
    margin-right: 0.5rem;
}

/* Divider Line */
.mk-line {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ce2028, #f9d616 80%);
    border-radius: 2px;
    margin: 2rem 0 2rem 0;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Statistics Section */
.stats-section {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 2px 16px rgba(206, 32, 40, 0.08);
}

    .stats-section .row {
        text-align: center;
    }

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ce2028, #f9d616 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Carousel Styles */
.carousel-inner {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(206, 32, 40, 0.12);
}

/* Businesses Section */
.businesses-section {
    padding: 0 1rem;
    margin-bottom: 3rem;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    color: #222;
    padding: 1.5rem;
    left: 10%;
    right: 10%;
    bottom: 1.5rem;
    text-align: left;
    z-index: 10;
}

    .carousel-caption h4 {
        color: #ce2028;
        margin-bottom: 0.5rem;
    }

.carousel-item {
    position: relative;
}

    .carousel-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4) );
    }

.slide-image {
    height: 450px;
    object-fit: cover;
    width: 100%;
}

/* Business Cards */
.card.style-2 {
    border: none;
    box-shadow: 0 2px 12px rgba(206, 32, 40, 0.07);
    transition: transform 0.15s, box-shadow 0.15s;
    background: #fff;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    cursor: pointer;
}

    .card.style-2:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 24px rgba(206, 32, 40, 0.13);
        text-decoration: none;
    }

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(90deg, #ce2028, #f9d616 80%);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
}

.card.style-2 {
    position: relative; /* nötig für stretched-link */
}

.stretched-link {
    z-index: 1; /* liegt unter den Buttons */
}

.quick-contact-btns {
    z-index: 5; /* liegt ÜBER dem stretched-link */
    pointer-events: auto;
}

    .quick-contact-btns a {
        z-index: 6;
        pointer-events: auto;
    }

.quick-contact-btns {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.card.style-2:hover .quick-contact-btns {
    opacity: 1;
    transform: translateY(0);
}

.quick-contact-btns a {
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
    font-size: 1.1rem;
}

    .quick-contact-btns a:hover {
        transform: scale(1.1);
        background: #f9d616;
    }

.rating-stars {
    color: #f9d616;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-count {
    color: #888;
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

.mk-img {
    display: block;
    max-width: 100%;
    min-height: 300px;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    background: #fff;
    border-radius: 1rem 1rem 0 0;
}

.text-truncate-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

/* Media Elements */
.media {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .media img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

.media-body {
    display: flex;
    flex-direction: column;
}

/* Footer */
footer {
    background: #fff;
    color: #888;
    font-size: 1rem;
    padding: 1.5rem 0 1rem 0;
    margin-top: auto;
    border-top: 1px solid #eee;
    text-align: center;
}

/* ====================================
   Responsive Styles
   ==================================== */

@media (max-width: 991px) {
    .floating-social {
        right: 8px;
        top: unset;
        bottom: 24px;
        flex-direction: row;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0 2.5rem 0;
        min-height: calc(100vh - 56px);
    }

        .hero-section h1 {
            font-size: 1.75rem;
        }

    .search-box {
        flex-direction: row;
        padding: 0.5rem;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

        .search-box input {
            padding: 0.65rem 1.2rem;
            font-size: 0.95rem;
        }

        .search-box button {
            width: fit-content;
            padding: 0.65rem 1.5rem;
            font-size: 0.95rem;
            white-space: nowrap;
        }

    .carousel-caption {
        padding: 1rem 0.5rem;
        left: 5%;
        right: 5%;
        bottom: 1rem;
    }

    .slide-image {
        height: 280px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Show contact buttons on mobile (no hover) */
    .quick-contact-btns {
        opacity: 1;
        transform: translateY(0);
    }

    .pricing-card {
        margin-bottom: 2rem;
    }
}

/* ====================================
   Partner/Pricing Page Styles
   ==================================== */

.partner-hero {
    background: linear-gradient(135deg, #ce2028 0%, #f9d616 100%);
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

    .partner-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .partner-hero p {
        font-size: 1.2rem;
        opacity: 0.95;
    }

.partner-notice {
    background: rgba(206, 32, 40, 0.05);
    border-left: 4px solid #ce2028;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

    .partner-notice h5 {
        color: #ce2028;
        font-weight: 600;
    }

    .partner-notice a {
        color: #ce2028;
        text-decoration: none;
        font-weight: 600;
    }

        .partner-notice a:hover {
            text-decoration: underline;
        }

.pricing-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(206, 32, 40, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 32px rgba(206, 32, 40, 0.15);
        border-color: #ce2028;
    }

    .pricing-card.popular {
        border-color: #ce2028;
        position: relative;
    }

        .pricing-card.popular::before {
            content: "Најпопуларен";
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(90deg, #ce2028, #f9d616 80%);
            color: #fff;
            padding: 0.35rem 1.5rem;
            border-radius: 2rem;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

    .pricing-card h3 {
        color: #ce2028;
        font-size: 1.75rem;
        font-weight: 700;
    }

.pricing-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-price {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ce2028;
    vertical-align: top;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
}

.pricing-period {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.contact-person-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 3rem 0;
}

.contact-person-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(206, 32, 40, 0.08);
    transition: all 0.3s ease;
    border: 1.5px solid rgba(206, 32, 40, 0.1);
}

    .contact-person-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(206, 32, 40, 0.15);
    }

    .contact-person-card h4 {
        color: #222;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .contact-person-card .phone {
        color: #ce2028;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
    }

.contact-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .contact-btns .btn {
        padding: 0.6rem 1.5rem;
        border-radius: 2rem;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        text-decoration: none;
    }

.btn-call {
    background: #ce2028;
    color: #fff;
    border: 2px solid #ce2028;
}

    .btn-call:hover {
        background: #a01820;
        border-color: #a01820;
        transform: translateY(-2px);
        color: #fff;
    }

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: 2px solid #25d366;
}

    .btn-whatsapp:hover {
        background: #1da851;
        border-color: #1da851;
        transform: translateY(-2px);
        color: #fff;
    }

.btn-facebook {
    background: #1877f2;
    color: #fff;
    border: 2px solid #1877f2;
}

    .btn-facebook:hover {
        background: #0d5dbf;
        border-color: #0d5dbf;
        transform: translateY(-2px);
        color: #fff;
    }

.special-offer {
    background: linear-gradient( 135deg, rgba(206, 32, 40, 0.05) 0%, rgba(249, 214, 22, 0.05) 100% );
    border: 2px dashed #ce2028;
    border-radius: 1rem;
    padding: 2rem;
}

    .special-offer h3 {
        color: #ce2028;
        font-size: 1.75rem;
        font-weight: 700;
    }

    .special-offer p {
        color: #666;
        font-size: 1.1rem;
    }

    .special-offer strong {
        color: #ce2028;
        font-weight: 700;
        font-size: 1.3rem;
    }

.btn-gradient {
    background: linear-gradient(90deg, #ce2028, #f9d616 80%);
    border: 2px solid #ce2028;
    color: #fff;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-gradient:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(206, 32, 40, 0.3);
        color: #fff;
    }

.btn-outline-primary {
    border: 2px solid #ce2028;
    color: #ce2028;
    border-radius: 2rem;
    font-weight: 600;
    background: #fff;
    transition: all 0.3s;
}

    .btn-outline-primary:hover {
        background: linear-gradient(90deg, #ce2028, #f9d616 80%);
        border-color: #ce2028;
        color: #fff;
        transform: scale(1.05);
    }

@media (max-width: 991px) {
    .partner-hero h1 {
        font-size: 2rem;
    }

    .partner-hero p {
        font-size: 1.1rem;
    }
}
