html {
    scroll-behavior: smooth; /* reset scroll dla całej strony */
}

body {
    font-family: 'Trebuchet MS', sans-serif;
  }

.navbar {
    background-color: white;
}

.navbar-logo {
    height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 80px;
    }
}

.navbar-nav .nav-link {
    color: #000; /* changed to black for better contrast */
}

.navbar-nav .nav-link:hover {
    color: #ccc;
}


section {
    overflow:hidden;
    padding: 60px 0;
}

section > .container {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    section > .container {
        width: 100%;
    }
}

.container .row {
    margin-top: 40px;
}
.col {
    margin-top: 20px;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

.icon-yellow {
    color: #FFD43B;
}

footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

#about-us {
    padding: 0; 
    width: 100%;
}

@media (max-width: 768px) {
    #about-us {
        padding-top: 100px;
    }
}

.carousel-caption {
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    padding: 50px;
    color: #fff;
    text-align: center;
}

.about-hero {
    background: url('images/brama8.jpg') center center / cover no-repeat;
    min-height: 500px;
    height: 40vh;
    padding: 60px 15px;
    color: white;
    position: relative;
}

@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
        padding: 30px 15px;
    }

    .caption-content h2 {
        font-size: 1.5rem;
    }

    .caption-content p {
        font-size: 1rem;
    }
}

.caption-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    color: white;
}


.caption-content {
    margin: 0 auto;
    text-align: center;
}

.image-container {
    min-height: 500px;
    height: 40vh; /* 80% of viewport height */
    object-fit: cover;
    position: relative;
}


.carousel-item {
    min-height: 500px;
    height: 40vh; /* 80% of viewport height */
}

.carousel-item:focus {
    outline: none;
}

.carousel-inner img {
    height: 100%;
    object-fit: cover;
}

.caption-content {
    padding-left: 10px;
}

.caption-content h2 {
    color: #e6e931;
}

.contact-info {
    margin-top: 30px;
}

.contact-info ul li {
    margin-bottom: 10px;
    text-align: left;
}

.contact-info ul li i {
    margin-right: 10px;
    color: #FFD43B;
}

.text-yellow {
    color: #FFD43B;
}

.social-media ul li i{
    padding: 10px;
    margin-right: 10px;
}

#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #FFD43B; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

.icon-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-text {
    margin-top: 10px;
    text-align: center;
}

#doDown {
    color: #FFD43B; 
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: none;
    background:transparent;
}

#backToTopBtn:hover {
    background-color: #aa8b1b; /* Add a dark-blue background on hover */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.pulsating,
.pulsating-icon {
    animation: pulse 1.5s infinite alternate;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 2s ease, transform 2s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-top {
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 2s ease, transform 2s ease;
}

.slide-in-top.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 2s ease, transform 2s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}