* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #111111, #151B54);
    color: white;
}

header {
    background-color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo {
    width: 100px;
    margin-right: 20px;
}

header h1 {
    font-size: 40px;
    color: white;
}

nav {
    background-color: #52595D;
    padding: 15px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #16E2F5;
}

.content {
    padding: 30px;
}

.welcome,
.info {
    text-align: center;
    margin-bottom: 40px;
}

.welcome h2,
.info h2 {
    margin-bottom: 15px;
}

.welcome p {
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

.slideshow {
    overflow: hidden;
    margin-bottom: 40px;
}

.slideshow-container {
    display: flex;
    animation: slideshow 35s linear infinite;
}

.slideshow img {
    width: 550px;
    height: 300px;
    object-fit: cover;
    margin-right: 40px;
	margin-bottom: 100px;
}

@keyframes slideshow {
    0% {
        transform: translateX(-75%);
    }

    100% {
        transform: translateX(0%);
    }
}

.info ul {
    list-style-position: inside;
    line-height: 2;
	margin-top: 50px;
}

footer {
    background-color: #111111;
    text-align: center;
    padding: 15px;
}
/* Padajući izbornik */

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #343434;
    list-style: none;
    min-width: 180px;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #000080;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.trek-gallery {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 150px;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.slider-container {
    width: 1200px;
    height: 750px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 10px;
}

.slide.active {
    display: block;
}

.prev,
.next {
    background-color: #0020C2;
    color: white;
    border: none;
    font-size: 35px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 30%;
}

.prev:hover,
.next:hover {
    background-color: #16E2F5;
    color: black;
}

/* Bike grid za cestovne*/

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.bike-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.bike-card {
    display: block;
    width: 300px;
    text-decoration: none;
    color: white;
	background-color: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.bike-card:hover {
    transform: scale(1.05);
}

.bike-card img {
    width: 100%;
	height: 200px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 10px;
}

.bike-card h3 {
    margin-top: 15px;
}

/* Video s yt*/

.video-section{
    text-align:center;
    margin:100px 0;
}

.video-section h2{
    margin-bottom:30px;
    font-size:32px;
}

.video-container{
    display:flex;
    justify-content:center;
}

.video-container iframe{
    max-width:100%;
    border-radius:15px;
    box-shadow:0 0 20px rgba(22,226,245,0.4);
}

/* Mini bicikla*/

#secret-bike{
    position: fixed;
    width: 100px;
    bottom: 100px;
    left: -150px;
    z-index: 9999;
    cursor: pointer;
    display: none;
}

.fly-bike{
    display: block !important;
    animation: flyAcross 4s linear forwards;
}

@keyframes flyAcross{
    from{
        left: -150px;
    }

    to{
        left: 110%;
    }
}

#discount-popup{
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    background:#111111;
    border:3px solid #16E2F5;
    border-radius:20px;
    padding:30px;
    text-align:center;
    z-index:10000;

    box-shadow:
        0 0 20px #16E2F5,
        0 0 50px rgba(22,226,245,0.5);
}

#discount-popup h3{
    color:#16E2F5;
    margin:15px 0;
    font-size:32px;
}

#discount-popup button{
    padding:10px 20px;
    background:#0020C2;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

#discount-popup button:hover{
    background:#16E2F5;
    color:black;
}