/*
Theme Name: Rohrbacher Mühle
Theme URI: http://example.com/
Author: Twoje Imię
Description: Motyw WordPress na bazie statycznej strony.
Version: 1.0
*/

@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css');

/* Styl CSS z pliku użytkownika */
body {
    background-color: #F4F1EB;
}

.navbar {
    background-color: #F4F1EB !important;
}

.navbar-nav .nav-link {
    font-size: 20px;
    color: #3A3A3A !important;
}
.navbar .container {
    display: flex;
    align-items: center;
    
}
.navbar-nav .nav-item {
    margin-right: 15px;
}
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}
#carouselExample .carousel-item img {
    height: 600px;
    object-fit: cover;
}
.cont1 {
    margin: 80px;
}
.n1 {
    color: #833205;
    text-align: center;
    font-size: 64px;
}
.n2 {
    color: #833205;
    text-align: center;
    font-size: 24px;
}
.n3, .n5 {
    color: #3A3A3A;
    font-size: 16px;
}
.cont2 {
    margin-left: 24px;
}
.n4 {
    margin-top: 24px;
    font-size: 16px;
    font-weight: bold;
    color: #3A3A3A;
}
.n6 {
    color: #3A3A3A;
    font-size: 12px;
}
.bg1 {
    background-image: url('http://telus123.webd.pro/wp-content/uploads/2025/07/mlyn3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 670px;
}
.cont3 {
    margin: 80px;
}
.n7 {
    color: #833205;
    font-size: 32px;
}
.n8 {
    color: #3A3A3A;
    font-size: 16px;
}
footer {
    color: #F4F1EB;
}
.bg-footer {
    background-color: #a79886;
}
.cont4 {
    padding: 30px;
}
.n9 {
    font-size: 24px;
    font-weight: bold;
}
.n10, .n11, .n12, .n13 {
    font-size: 16px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%; /* Position to the right of the parent item */
    margin-top: -1px; /* Adjust as needed */
    display: none; /* Hide by default */
}

/* Show nested dropdown on hover (optional, if you prefer hover) */
/*
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
*/

/* Show nested dropdown when 'show' class is added by JS */
.dropdown-submenu.show > .dropdown-menu {
    display: block;
}

/* Ensure dropdown menu is visible when expanded */
.navbar-nav .dropdown-menu.show {
    display: block;
}

/* Adjust dropdown menu background and text color if needed */
.navbar-nav .dropdown-menu {
    background-color: #F4F1EB; /* Match your navbar background or choose a contrasting color */
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.navbar-nav .dropdown-menu .dropdown-item {
    color: #3A3A3A; /* Adjust text color for dropdown items */
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
    background-color: #e9ecef; /* Hover background for dropdown items */
}