
.logo {grid-column:1/3;}
 .nav { grid-column: 3/7;}
.search { grid-column: 7/9;}
.signin { grid-column: 9/11;}
    .banner { grid-column: 1/11; }
    .main { grid-column:1/11;}
    .footer { grid-column:1/11; }
    
    
    body {
      margin: 0px;
      font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
     
    .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 1px;
        background-color: rgb(2, 2, 2);
      }
      .wrapper > div { 
        text-align: center;
        font-size: 20px;
        background-color: #cfcfcf;
      }
    
    
      @media screen and (max-width: 600px) {
      


.logo {grid-column:1/11;}
 .nav { grid-column: 1/11;}
.search { grid-column: 1/11;}
.signin { grid-column: 1/11;}
    .banner { grid-column: 1/11; }
    .main { grid-column:1/11;}
    .footer { grid-column:1/11; }
    
    body {
      margin: 0px;
      font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
     
    .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 1px;
        background-color: rgb(2, 2, 2);
      }
      .wrapper > div { 
        text-align: center;
        font-size: 20px;
        background-color: #cfcfcf;
      }

        }




/* Style the links inside the pill navigation menu */        
.nav a {
  display: inline-block;
  color: black;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  font-size: 17px;
  border-radius: 5px;
}

/* Change the color of links on mouse-over */
.nav a:hover {
  background-color: #cfcfcf3d;
  color: black;
}

/* Add a color to the active/current link */
.nav a.active {
  background-color: dodgerblue;
  color: #cfcfcf;
}

.banner {
  display: flex;
  justify-content: space-between;  /* Even spacing */
  align-items: center;
  padding: 10px 20px;
  background: #cfcfcf; /* optional banner background */
}

.cc-item {
  padding: 10px 20px;
  background: #cfcfcf;     /* Grey background */
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: bold;
}

.cc-item:hover {
  background: #000000;   /* Black on hover */
  color: #cfcfcf;        /* White text for visibility */
}

.main {
    padding: 20px;
    background-color: #f0f0f0; /* optional: make the background light */
}

.bike-grid {
    display: flex;
    flex-wrap: wrap;       /* allows wrapping to next row */
    gap: 20px;             /* spacing between cards */
    justify-content: center; /* optional: center cards in row */
}

.bike-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;

    flex: 1 1 400px;
    max-width: 25%;
}


.bike-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.bike-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.bike-card h3 {
    margin: 10px 0;
    font-size: 1.2em;
    color: #333;
}


/* Navbar container */
.navbar {
  display: flex;
  background-color: #333;
  padding: 10px 20px;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap; /* prevents breaking on small screens */
}

/* Navbar links */
.navbar a, .dropbtn {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  font-weight: bold;
}

.navbar a:hover, .dropbtn:hover {
  background-color: #555;
  border-radius: 5px;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #444;
  min-width: 160px;
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}

/* Links inside dropdown */
.dropdown-content a {
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #cfcfcf;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

body{
margin:0;
overflow-x:hidden;
}

.footer{
background:#cfcfcf;
padding:30px 0px;
font-family: 'Play', sans-serif;
text-align:center;
}

.footer .row{
width:100%;
margin:1% 0%;
padding:0.6% 0%;
color:rgb(0, 0, 0);
font-size:0.8em;
}

.footer .row a{
text-decoration:none;
color:rgb(0, 0, 0);
transition:0.5s;
}

.footer .row a:hover{
color:#fff;
}

.footer .row ul{
width:100%;
}

.footer .row ul li{
display:inline-block;
margin:0px 30px;
}

.footer .row a i{
font-size:2em;
margin:0% 1%;
}

@media (max-width:720px){
.footer{
text-align:left;
padding:5%;
}
.footer .row ul li{
display:block;
margin:10px 0px;
text-align:left;
}
.footer .row a i{
margin:0% 3%;
}
}




/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Set a style for all buttons */
button {
  background-color: #0000004b;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}





/* MOBILE VIEW */
@media screen and (max-width: 600px) {

    .wrapper {
        grid-template-columns: 1fr; /* single column */
    }

    /* All main sections full width */
    .logo, .nav, .search, .signin, .banner, .main, .footer {
        grid-column: 1 / 2;
    }

    /* Bike section becomes one per row */
    .bike-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .bike-card {
        max-width: 100% !important;
        flex: 1 1 auto;  
        display: block;
       text-decoration: none;
       color: inherit;
    }

    }

    .bike-card img {
        height: 180px;
    }

    /* Banner scroll if too wide */
    .banner {
        overflow-x: auto;
        white-space: nowrap;
    }

    .cc-item {
        display: inline-block;
        margin-right: 10px;
    }



/* Slideshow container */
.slideshow-section {
    grid-column: 1/11;
    background: #000;
}

.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

/* Next/previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  transition: 0.3s;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
  animation: fadeEffect 1.2s;
}

@keyframes fadeEffect {
  from {opacity: .4}
  to {opacity: 1}
}

/* Dots */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
  background-color: #717171;
}

/* CONTACT PAGE */
.contact-section {
    grid-column: 1 / 11;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 60px 40px;
    background: linear-gradient(135deg, #111, #444);
    gap: 40px;
}

.contact-info {
    flex: 1;
    color: #fff;
    text-align: left;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #ddd;
    margin-bottom: 20px;
}

.location {
    margin-bottom: 25px;
}

.location h3 {
    margin-bottom: 5px;
    color: #fff;
}

.contact-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.send-btn {
    margin-top: 20px;
    background: #000;
    color: #fff;
    border-radius: 4px;
}

.send-btn:hover {
    background: #333;
}

/* MOBILE VIEW */
@media screen and (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 30px 20px;
    }
}
