/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}
body, html {
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

h1, h2 {
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    color: #000;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff1a1a;
}

.brand-label {

    position: absolute;
    bottom: 20%;
    margin-left: 5px;
    font-size: 2.5rem;
    font-style: oblique;
    font-weight: bolder;
    text-align: left;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    margin-left: 2cm;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 3;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: none !important; 
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.brand-label .motorcycle-description {
    font-size: 1.2rem;
    margin-left: 10px;
    color: #fff;
    font-weight: normal;
    margin: 10px 0 0 0;
    line-height: 1.4;
    width: 100%;
    max-width: none;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    background: transparent !important; /* Ensure no background */
}


.brand-label:hover {
    transform: translateX(10px) translateY(-5px); /* Subtle hover effect */
    opacity: 1; /* Slight opacity change on hover */
}



p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

/* Header Section */
header {
    width: 100%;
  }
  
  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    font-size: 14px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }

  #main-nav.scrolled {
    background-color: black;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }

  #main-nav a:hover{
    color: red;
}
  
  #main-nav .logo {
    height: 40px;
  }

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #ff1a1a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Main Grid Layout */
.motorcycles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Each Motorcycle Card */
.motorcycle-card {
    position: relative;
    height: 100vh;
    overflow: hidden;
    transition: filter 0.3s ease;
}

/* Default: darken everything via blocker */
.fg-blocker {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent block */
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

/* Remove darkening when hovered */
.motorcycle-card:hover .fg-blocker {
    opacity: 0;
}

/* Foreground video (always playing) */
.foreground-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.foreground-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Background video (shown only on hover) */
.background-video {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 2;
    pointer-events: none;
}

.motorcycle-card:hover .background-video {
    opacity: 1;
}

/* Logo overlay */
.logo-overlay {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    z-index: 5;
}

/* Brand name on top */
.brand-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 6;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    padding: 0.5rem 1rem;
    border-radius: 8px;

}


.brand-label h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: bold;
}

/* Make full card clickable if needed */
.motorcycle-card-link {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
}
/* Hide logo & brand by default */
.logo-overlay,
.brand-label {
    opacity: 1; /* pina edit for ui purposes di na kinocall si brand label, defaulted na yung 1.*/
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Logo animation on hover */
.motorcycle-card:hover .logo-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Brand label animation on hover */
.motorcycle-card:hover .brand-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}



  
/*****************************************************************************Mobile Responsive*********************************************************************************/

@media (max-width: 1024px){
}
@media (max-width: 540px) and (orientation: portrait) {
    body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}
body, html {
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 2.5px;
    object-fit: cover;
}

h1, h2 {
    font-weight: 600;
}

h1 {
    font-size: .24rem;
    color: #000;
}

h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ff1a1a;
}

/* Header Section */
header {
    width: 100%;
  }
  
  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    font-size: 7px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }
  
  #main-nav.scrolled {
    background-color: black;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  #main-nav .logo {
    height: 20px;
  }

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
}

#background-video {
    width: 100%;
    height: 50%;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.content h2 {
    font-size: .24rem;
    margin-bottom: 10px;
}

.content button {
    padding: 5px 10px;
    font-size: .5rem;
    background-color: #ff1a1a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 2.5px;
}

/* Main Grid Layout */
.motorcycles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: 50vh; /* Half the height of screen */
        height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Each Motorcycle Card */
.motorcycle-card {
    position: relative;
    height: 50vh !important;
    overflow: hidden;
    transition: filter 0.3s ease;
}

/* Default: darken everything via blocker */
.fg-blocker {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent block */
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

/* Remove darkening when hovered */
.motorcycle-card:hover .fg-blocker {
    opacity: 0;
}

/* Foreground video (always playing) */
.foreground-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.foreground-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Background video (shown only on hover) */
.background-video {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 2;
    pointer-events: none;
}

.motorcycle-card:hover .background-video {
    opacity: 1;
}

/* Logo overlay */
.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    z-index: 5;
}

/* Brand name on top */
.brand-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 6;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    padding: 0.5rem 1rem;
    border-radius: 4px;

}


.brand-label h3 {
    font-size: .9rem;
    margin: 0;
    font-weight: bold;
}

/* Make full card clickable if needed */
.motorcycle-card-link {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
}
/* Hide logo & brand by default */
.logo-overlay,
.brand-label {
    opacity: 1; /* pina edit for ui purposes di na kinocall si brand label, defaulted na yung 1.*/
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Logo animation on hover */
.motorcycle-card:hover .logo-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Brand label animation on hover */
.motorcycle-card:hover .brand-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Initial slight offset for slide effect */
.brand-label {
    transform: translateX(-50%) translateY(-10px);
}


/* Product Section */
.products {
   padding: 40px 10px;
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
}

.product-card {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    max-height: 50px;
    margin-bottom: 7.5px;
}

.product-name {
    font-size: .6rem;
    font-weight: bold;
    color: #333;
}
}

  