/* Custom styles for Udomi Macu */

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

* {
    font-family: 'Poppins', sans-serif;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1200px;
    }
}

/* Background and general  */
.plava_bg {
    background: #4453ac;
}

.purple_bg {
    background: #6a4c93;
}

.light_green_bg {
    background: #58b99e;
}

.light-rose-bg {
    background: #f6d1c1;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}



h2.section-title {
    font-size: 3.0rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Carousel text */

.carousel-item {
    flex-direction: row;
    min-height: 50vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 20% 50%;
    align-items: center;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: flex;
}

.image-part {
    width: 50%;
    flex-shrink: 0;
}

.image-part img {
    width: 100%;
    height: auto;
}

.text-part {
    width: 40%;
    padding: 2rem;
    color: white;
    text-align: right;
}

.text-part h2 {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}

.text-part p {
    font-size: 1.2rem;
    margin-top: 1rem;
}



/* End of carousel text */

/* Menu Items */
.navbar-nav .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #6a4c93;
    transition: color 0.3s;
    margin-right: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #58b99e;
}

.nav-item.dugmic a {
    text-decoration: none;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    display: block;
    text-align: center;
    background: #710DAC;
    color: white;
    border: none;
    border-radius: 8px;
    transition: background 0.3s, border 0.3s;
    margin: 0 10px !important;
    border: solid 2px #fff;
}

.nav-item.dugmic a:hover {
    background: #4453ac;
    color: white;
}


body {
    background: #f6f2ed;
}

.hero {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.section-title {
    letter-spacing: 1px;
}


.ribbon {
    position: absolute;
    top: 23px;
    right: -40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 30px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: rotate(45deg);
    z-index: 10;
}

.ribbon_udomljena {
    position: absolute;
    top: 23px;
    right: -40px;
    background: linear-gradient(135deg, #58b99e 0%, #45a089 100%);
    color: white;
    padding: 8px 30px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: rotate(45deg);
    z-index: 10;
}

.card {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
}

.text-white h2.section-title {
    color: white !important;
}

.blog-section h5.card-title {
    color: #333;
}

.blog-section a {
    text-decoration: none;
}

.blog-content p {
    line-height: 1.6;
}

.blog-content h2 {
    margin-top: 40px;
    border-left: solid 9px #6a4c93;
    padding-left: 15px;
    line-height: 1;
}

a.slider-dugmic {
    border: solid 2px #FAFAFA;
    padding: 8px;
    border-radius: 8px;
    color: #FAFAFA;
    text-decoration: none;
    transition: linear all .3s;
}

a.slider-dugmic:hover {
    background: #FAFAFA;
    color: #454545;
}

a.very-large-btn {
    text-decoration: none;
    padding: 40px 40px;
    display: block;
    text-align: center;
    background: #710DAC;
    color: white;
    border-radius: 12px;
    transition: background 0.3s, border 0.3s;
    margin: 0 10px !important;
    border: solid 2px #fff;
    font-size: 22px;
    transition: linear all .3s;
}

a.very-large-btn:hover {
    background: #58b99e;
}



/* Mobile adjustments */

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center !important;
    }
}


@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .carousel-item {
        flex-direction: column;
        justify-content: center;
        min-height: 35vh;
        background-image: none !important;
    }

    .image-part,
    .text-part {
        width: 100%;
    }

    .text-part h2,
    h2.section-title {
        font-size: 2.5rem;
    }

    .nav-item.dugmic a {
        margin-bottom: 10px !important;
    }

    a.very-large-btn {
        padding: 15px;
        border-radius: 8px;
        margin: 0 5px !important;
        font-size: 20px;
    }

}