.carousel-item img {
  height: 400px;  /* Ustaw stałą wysokość */
  object-fit: cover;  /* Zachowa proporcje i przytnie obraz */
  width: 100%;  /* Zawsze pełna szerokość */
}

.carousel {
  overflow: hidden;  /* Zapobiega wystawaniu obrazów */
}

:root {
    --primary-color: #2A5C82;
    --secondary-color: #F4A261; 
    --light-bg: #f8f9fa;
}

.navbar {
    border-bottom: 3px solid var(--secondary-color);
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
        url('hero-bg.jpg') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
}

/* Styl dla galerii */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(42, 92, 130, 0.9);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.scroll-offset {
    scroll-margin-top: 80px;
}

.footer {
    background-color: var(--primary-color);
    color: white;
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer .btn-outline-primary {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.footer .btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer .social-icon:hover {
    transform: translateY(-3px);
}

.footer .copyright {
    background-color: rgba(0,0,0,0.1);
    padding: 15px 0;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 20px;
    }
    .gallery-item img {
        height: 250px;
    }
}
/* Efekt hover dla numerów telefonów */
.hover-effect:hover {
    color: #ffc107; /* Zmiana koloru tekstu na żółty (możesz dostosować do swojego projektu) */
    transition: color 0.3s ease; /* Płynne przejście */
}

.hover-effect:hover i {
    color: #ffc107; /* Zmiana koloru ikony na żółty */
}