html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}





.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hello-camper {
  background-image: url('/camper-hello.jpg');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Dodatkowe style dla sekcji oferty */
.product-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .badge {
    border-radius: 0.5rem;
    font-weight: 600;
}

.product-card .btn {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
}

/* Animacja dla ikon w specyfikacji */
.product-card .fas {
    transition: transform 0.2s ease;
}

.product-card:hover .fas {
    transform: scale(1.1);
}

/* Style dla sekcji oferty */
#oferta {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

#oferta .display-4 {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsywność dla kart */
@media (max-width: 768px) {
    .product-card .card-img-top {
        height: 200px;
    }
    
    .product-card .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* Style dla sekcji lokalizacji */
.map-wrapper {
    height: 500px;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.location-info .card {
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.location-info .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.location-info .fas {
    transition: transform 0.2s ease;
}

.location-info .card:hover .fas {
    transform: scale(1.1);
}

.map-container .card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-container .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Responsywność dla sekcji lokalizacji */
@media (max-width: 768px) {
    .map-wrapper {
        height: 300px;
    }
    
    .location-info .card-body {
        padding: 1.5rem;
    }
    
    .location-info .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* Animacje dla ikon w sekcji lokalizacji */
.location-info .btn:hover .fas {
    transform: translateX(3px);
}

/* Style dla dodatkowych informacji */
.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
}

/* Responsywność dla dodatkowych informacji */
@media (max-width: 768px) {
    .bg-light .row .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    .bg-light .row .col-md-4:last-child {
        margin-bottom: 0;
    }
}

/* Style dla sekcji kontaktu */
.contact-info .card,
.contact-form .card {
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.contact-info .card:hover,
.contact-form .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-item .btn {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Style dla formularza */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-control-lg,
.form-select-lg {
    padding: 0.75rem 1rem;
}

.form-label {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

.form-check-input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Animacje dla ikon w sekcji kontaktu */
.contact-info .fas,
.contact-form .fas {
    transition: transform 0.2s ease;
}

.contact-info .card:hover .fas,
.contact-form .card:hover .fas {
    transform: scale(1.1);
}

/* Style dla dodatkowych informacji w sekcji kontaktu */
#kontakt .bg-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

/* Responsywność dla sekcji kontaktu */
@media (max-width: 768px) {
    .contact-info .card-body,
    .contact-form .card-body {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-item .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .form-control-lg,
    .form-select-lg {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    #kontakt .bg-white .row .col-md-3 {
        margin-bottom: 1.5rem;
    }
    
    #kontakt .bg-white .row .col-md-3:last-child {
        margin-bottom: 0;
    }
}

/* Hover effects dla linków w formularzu */
#kontakt a {
    transition: all 0.3s ease;
}

#kontakt a:hover {
    color: #e0a800 !important;
    text-decoration: none;
}

/* Style dla footer */
.footer-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-social .social-link-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social .social-link-dark:hover {
    transform: translateY(-3px);
    color: #ffffff;
    text-decoration: none;
}

.footer-social .social-link-dark.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.footer-social .social-link-dark.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.footer-social .social-link-dark.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.footer-social .social-link-dark.car:hover {
    background: #0066ff;
    border-color: #0066ff;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
}

.footer-social .social-link-dark.store:hover {
    background: #ff6b00;
    border-color: #ff6b00;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.footer-links a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ffc107 !important;
    text-decoration: none;
    padding-left: 5px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-contact .fas {
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.footer-contact .d-flex:hover .fas {
    transform: scale(1.2);
}

.footer-separator {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.standodev-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.standodev-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.standodev-link:hover .standodev-logo {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsywność dla footer */
@media (max-width: 768px) {
    .footer-dark {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .footer-social .social-link-dark {
        width: 40px;
        height: 40px;
    }
    
    .standodev-logo {
        height: 25px;
    }
    
    .footer-contact .d-flex {
        margin-bottom: 1rem;
    }
}

/* Animacje dla footer */
.footer-dark .card,
.footer-dark .btn {
    transition: all 0.3s ease;
}

.footer-dark .card:hover {
    transform: translateY(-3px);
}

/* Hover effects dla linków w footer */
.footer-dark a {
    transition: all 0.3s ease;
}

.footer-dark a:hover {
    text-decoration: none;
}

/* Usuwanie białego paseczka na końcu strony */
body {
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
}

.footer-dark {
    margin: 0;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

/* Upewniamy się, że nie ma żadnych marginesów na końcu */
* {
    box-sizing: border-box;
}

/* Usuwanie domyślnych marginesów z ostatniego elementu */
.footer-dark:last-child {
    margin-bottom: 0;
}