@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: black !important;
    color: white;
}

body * {
    font-family: "Urbanist", sans-serif;
}

a.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

a.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    z-index: 99999;
}

button.btn.btn-cosmorent-outline-primary {
    color: #bf00c5;
    border: 1px solid #bf00c5;
    transition: all .3s;
    background-color: transparent;
}

button.btn.btn-cosmorent-outline-primary:hover {
    background-color: #bf00c5;
    color: black;
}

#main-navbar {
    height: 60px;
    z-index: 99998 !important;
}

section.hero {
    background: url(/assets/img/hero-bg.png);
    height: calc(100dvh - 60px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

section.hero .card.card-body {
    overflow: hidden;
}

section.hero .card.card-body > *:not(img) {
    z-index: 2;
}

section.hero .card.card-body > img {
    position: absolute;
    height: 80px;
    left: -20px;
    bottom: -20px;
    z-index: 1;
    opacity: .2;
}

img.img-car-brand {
    height: 100px;
    width: auto;
}

.cars-swiper .car-card {
    height: 100%;
    background: linear-gradient(145deg, #1f1f1f, #2c2c2c);
    border: 1px solid #333;
    transition: all 0.4s ease-in-out;
}

.cars-swiper .car-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
}

.cars-swiper .car-brand-logo-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.cars-swiper .car-brand-logo-container img {
    height: 50px;
    filter: drop-shadow(1px 1px 3px);
}

.cars-swiper .car-image img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    padding: 10px;
    z-index: 1;
}

.bg-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #292929 100%);
}

footer {
    background-color: transparent;
    border-top: 1px solid white;
}

.cta-instagram {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateX(80%);
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.cta-instagram:hover {
    background: linear-gradient(135deg, #fd1d1d, #833ab4, #fcb045);
    transform: translateY(0%) translateX(0);
    color: white;
}

.fleet-section {
    background: #111;
}

.fleet-item {
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
}

.fleet-item:last-child {
    border-bottom: none;
}

.fleet-item img {
    object-fit: cover;
    max-height: 300px;
    width: 100%;
}

.contact-hero {
    min-height: 70vh;
    background: url(/assets/img/contacts.png) no-repeat center center / cover;
    background-color: #6c2bd9;
    padding: 80px 0;
}

.contact-hero h1 {
    font-size: 4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0, .3);
}

.contact-map {
    position: relative;
    top: -20dvh;
}

.contact-hero .btn-success {
    background: linear-gradient(135deg, #28a745, #218838);
    border: none;
    transition: 0.3s ease;
}

.contact-hero .btn-success:hover {
    background: #1db954;
}

.fs-sm {
    font-size: .85rem;
}

.caparra-banner {
    background: linear-gradient(135deg, #bf00c5 0%, #d946ef 100%);
    color: white;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(191, 0, 197, 0.3);
    z-index: 99999;
    position: relative;
    animation: slideDown 0.5s ease-out;
}

.caparra-banner .caparra-icon {
    font-size: 1.2rem;
    opacity: 0.9;
}

.caparra-banner .caparra-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media only screen and (max-width: 670px) {
    .mobile-d-none {
        display: none;
    }

    .caparra-banner .caparra-text {
        font-size: 0.85rem;
    }

    .caparra-banner .d-flex.gap-3 {
        gap: 1rem !important;
    }

    section.hero h1 > .title {
        font-size: 60px;
        font-weight: 900;
        display: block;
    }
}
