* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    user-select: none;
    
}

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;
}

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: maroon;

  }
  
  #main-nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  /* When nav has 'scrolled' class, all <a> inside become white */
  #main-nav.scrolled a {
    color: white;
  }

   #main-nav a:hover,
    #main-nav.scrolled a:hover{
        color: red;
    }
  
  #main-nav .logo {
    height: 40px;
    transition: all 0.3s ease;
  }

/* Footer */
.footer {
    background: maroon;
    color: #dbe7ff;
    padding: 30px 5% 20px; /* Lait ng padding */
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* mas maliit na min size */
    gap: 20px; /* Bawasan gap */
    max-width: 1200px;
    margin: auto;
  }
  
  .footer h3 {
    font-size: 1rem; /* Mas maliit font-size */
    color: #ffffff;
    margin-bottom: 10px; /* Bawas spacing */
  }
  
  .footer-brand img {
    max-width: 100px; /* Mas maliit logo */
    margin-bottom: 10px; /* Bawas margin */
  }
  
  .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #ffffff;
  }
  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin: 5px 0; /* Bawas margin */
    font-size: 0.9rem;
  }
  
  .footer-contact li {
    font-size: 0.9rem;
    margin-bottom: 6px; /* Bawas spacing */
  }
  
  .footer-contact i {
    margin-right: 6px;
  }
  
  .footer-social .social-icons a {
    font-size: 1.1rem;
    margin-right: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid #ffffff;
    text-align: center;
    margin-top: 20px; /* Bawas margin-top */
    padding-top: 10px; /* Bawas padding-top */
    font-size: 0.8rem;
  }

hr {
    border: none; /* Remove default border */
    border-top: 2px solid #ff1a1a; /* Set a custom border (line) */
    width: 100%; /* Full width */
    margin: 20px 0; /* Add some spacing above and below */
}
.banner {
    position: relative;
    width: 100%;
    height: auto;
}

.banner {
    animation: fadeIn 0.8s ease-in-out;
}


.banner img {
    width: 100%;
    height: auto;
    display: block;
}
.banner img {
    animation: fadeIn 0.8s ease-in-out;
}

.banner-text {
    position: absolute;
    bottom: 20%;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-text {
    animation: fadeIn 0.8s ease-in-out;
}

.description {
    max-width: 1100px;
    margin: 40px auto;
    padding: 60px;
    height: 800px;
    text-align: justify;
    font-size: 1.8rem;
    color: #fff;
    line-height: 2.0;
    border-left: 5px solid #ff1a1a;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: bold;
}


.description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg_desc.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Adjusted opacity for the background image */
    z-index: -1;
    border-radius: 5px;
}

.description p {
    top: 14%;
    margin-bottom: 2cm;
    margin-top: 2cm;
    margin-left: 2cm;
    margin-right: 2cm;
    position: relative;
    z-index: 1;
}

.description {
    opacity: 0; /* Nakatago sa simula */
    transform: translateY(50px); /* Bahagyang naka-offset pababa */
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

/* Lalabas kapag nakita sa viewport */
.description.show {
    opacity: 1;
    transform: translateY(0);
}

.available-colors {
    font-style: italic;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 40px;
    margin-left: 2cm;

}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #cccccc); /* Added background gradient */
}

.main-image-container img {
    width: 100%;
    display: block;
}

.color-description {
    position: absolute;
    bottom: 10px;
    right: 40px;
    color: black;
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
}

.color-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    text-align: right;
}

.color-thumbnails img {
    width: 100px;
    height: auto;
    margin-left: 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    background: linear-gradient(to bottom, #f0f0f0, #dcdcdc); /* Gradient background for each thumbnail */
    object-fit: contain; /* Para hindi maputol ang image */
    aspect-ratio: 1 / 1; /* Para siguradong square at pantay-pantay */
}

.color-thumbnails img:hover {
    border-color: #000;
    background: linear-gradient(to bottom, #ffffff, #cccccc); /* Hover gradient effect */
}


.features {
    font-style: italic;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 40px;
    margin-left: 2cm;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
    color: #000;
}

.feature-item {
    text-align: center;
    width: 250px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    color: #000;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-item:hover img {
    opacity: 0.7;
}

.feature-item-text {
    display: block;
    margin-top: 10px;
    font-style: italic;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.feature-item-text:hover {
    text-decoration: underline;
    color: red;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    bottom: 5%;
    width: 100%;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.modal h2 {
    color: #000;
    text-align: center;
    margin-top: 20px;
    font-size: 1.5em;
}

.modal p {
    color: #000;
    font-size: 1em;
    line-height: 1.6;
}



.close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 40px;
    text-align: center;
    font-size: 35px;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    color: #000;
}

.close:hover {
    background-color: red;
    
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.prices{
    font-size: 15px;
    font-weight: lighter;
    display: inline-block;
}
th, td {
    padding: 10px;
    text-align: left;
    width: 50%;
    border: 1px solid white;
}
th {
    background-color: maroon;
    color: white;
}

.specs-container {
    display: flex; /* Enables side-by-side layout */
    align-items: flex-start; /* Aligns sidebar & specs at the top */
    gap: 30px; /* Adds space between sidebar & specs */
    max-width: 1200px;
    margin: 40px auto;
}

/* Sidebar */
.sidebar {
    position: block; 
    margin-top: 0.80%;
    margin-left: 10px;
    top: 100px; /* Adjust based on header height */
    width: 250px; /* Adjust width as needed */
    background: maroon; /* Sidebar background */
    padding: 15px; 
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar button {

    background: white;
    height: 45px;
    color: black;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold ;
}

.sidebar button:hover {
    background-color: red;
    color: white;
}

/* Specifications Section */
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section {
    border-top: 5px solid #ff1a1a;
    display: none;
    background: linear-gradient(to left, gray 10%, white 200%);
    padding: 20px;
    border-radius: 10px;
    margin: 10px 0;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 1rem;
}

.specs{
    font-style: italic;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 1.5cm;
    margin-top: 3.5cm;
    text-align: center;
    text-decoration: underline  ;

}
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 1rem;
}
.specs{
    font-style: italic;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 1.5cm;
    text-align: center;
    text-decoration: underline  ;

}

.back-container {
    position: fixed;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center; /* Para naka-center yung text at button */
}

.button-text {
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: black;
}


/* From Uiverse.io by xopc333 */ 
.back-button {
    display: block;
    position: relative;
    width: 65px;
    height: 65px;
    margin: 0;
    overflow: hidden;
    outline: hidden;
    background-color: transparent;
    cursor: pointer;
    animation: pop-glow 2s infinite alternate ease-in-out;
}
  
  .back-button:before,
  .back-button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 7px;
  }
  
  .back-button:before {
    border: 4px solid #be1b1b;
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .back-button:after {
    border: 4px solid #000;
    transform: scale(1.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
  }
  
  .back-button:hover:before,
  .back-button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .back-button:hover:after,
  .back-button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button-box {
    display: flex;
    position: absolute;
    top: 5;
    left: 4;
  }
  
  .button-elem {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 22px;
    transform: rotate(180deg);
    fill: #ff1a1a;
  }
  
  .button:hover .button-box,
  .button:focus .button-box {
    transition: 0.4s;
    transform: translateX(-56px);
  }

/* Popping animation */
@keyframes pop-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(transparent);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(transparent);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(transparent);
    }
}


@media (max-width: 1024px){

}

@media (max-width: 540px) and (orientation: portrait) {

    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    user-select: none;
    
}

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: 1.25rem;
    color: #000;
}

h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ff1a1a;
}

p {
    font-size: 0.6rem;
    color: #333;
    line-height: 0.8;
}

/* 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: maroon;

  }
  
  #main-nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  /* When nav has 'scrolled' class, all <a> inside become white */
  #main-nav.scrolled a {
    color: white;
  }
  
  #main-nav .logo {
    height: 20px;
    transition: all 0.3s ease;
  }
  
.footer {
    background: maroon;
    color: #dbe7ff;
    padding: 15px 2.5% 10px; 
    font-family: 'bahnschrift', sans-serif;
    width: 100%;
    align-items: center;
    margin-top: 70px;
    margin-bottom: -1000px;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 10px; 
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .footer h3 {
    font-size: 0.5rem; 
    color: #ffffff;
    margin-bottom: 5px;
    text-align: center;
   }
  
  .footer-brand img {
    max-width: 100px; 
    margin-bottom: 5px;
    text-align: center;
   }
  
  .footer-brand p {
  font-size: 0.43rem;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  width: 50%;
  margin: 0 auto;
}

  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin: 2.5px 0; 
    font-size: 0.45rem;
  }

  .footer-links{ 
    display: none;
  }
  
  .footer-contact li {
    font-size: 0.45rem;
    margin-bottom: 1.5px;
    text-align: center;
  }
  
  .footer-contact i {
    margin-right: 3px;
    text-align: center;
  }
  
  .footer-social .social-icons a {
    font-size: .55rem;
    margin-right: 5px;
    text-align: center;
  }
  
  .footer-bottom {
    border-top: 0.5px solid #ffffff;
    text-align: center;
    margin-top: 10px; 
    padding-top: 5px; 
    font-size: 0.4rem;
  }

hr {
    border: none; /* Remove default border */
    border-top: 1px solid #ff1a1a; /* Set a custom border (line) */
    width: 100%; /* Full width */
    margin: 10px 0; /* Add some spacing above and below */
}
.banner {
    position: relative;
    width: 100%;
    height: auto;
}

.banner {
    animation: fadeIn 0.8s ease-in-out;
}


.banner img {
    width: 100%;
    height: auto;
    display: block;
}
.banner img {
    animation: fadeIn 0.8s ease-in-out;
}

.banner-text {
    position: absolute;
    bottom: 10%;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);

}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-text {
    animation: fadeIn 0.8s ease-in-out;
}


.description {
    max-width: 1100px;
    margin: 20px auto;
    padding: 30px;
    height: 400px;
    text-align: justify;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.0;
    border-left: 2.5px solid #ff1a1a;
    border-radius: 2.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.banner-text {
    animation: fadeIn 0.8s ease-in-out;
}

.description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg_desc.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Adjusted opacity for the background image */
    z-index: -1;
    border-radius: 2.5px;
}

.description p {
    top: 14%;
    margin: 10px;
    position: relative;
    z-index: 1;
    line-height: 1.6; 
    margin: 10px;


}

.description {
    opacity: 0; /* Nakatago sa simula */
    transform: translateY(25px); /* Bahagyang naka-offset pababa */
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

/* Lalabas kapag nakita sa viewport */
.description.show {
    opacity: 1;
    transform: translateY(0);
}

.available-colors {
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
    margin-left: 1cm;

}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #cccccc); /* Added background gradient */
}

.main-image-container img {
    width: 100%;
    display: block;
}

.color-description {
    position: absolute;
    bottom: 5px;
    right: 20px;
    color: black;
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
}

.color-thumbnails {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    text-align: right;
    
}

.color-thumbnails img {
    width: 50px;
    height: auto;
    margin-left: 8px;
    cursor: pointer;
    border: 0.5px solid #ccc;
    border-radius: 2.5px;
    padding: 2.5px;
    background: linear-gradient(to bottom, #f0f0f0, #dcdcdc); /* Gradient background for each thumbnail */
    object-fit: contain; /* Para hindi maputol ang image */
    aspect-ratio: 1 / 1; /* Para siguradong square at pantay-pantay */
}

.color-thumbnails img:hover {
    border-color: #000;
    background: linear-gradient(to bottom, #ffffff, #cccccc); /* Hover gradient effect */
}


.features {
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
    margin-left: 1cm;
    color: #000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    color: #000;
}

.feature-item {
    text-align: center;
    width: 125px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    color: #000;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-item:hover img {
    opacity: 0.7;
}

.feature-item-text {
    display: block;
    margin-top: 5px;
    font-style: italic;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    font-size: 12px;
}

.feature-item-text:hover {
    text-decoration: underline;
    color: red;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    bottom: 40%;
    width: 100%;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    padding: 12.5px;
    border-radius: 7.5px;
    text-align: left;
    width: 100%;
    max-width: 225px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 7.5px 0 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.modal h2 {
    color: #000;
    text-align: center;
    margin-top: 10px;
    font-size: .75em;
}

.modal p {
    color: #000;
    font-size: 0.5em;
    line-height: 1.6;
}

.close {
    position: absolute;
    top: 5px;
    right: 7.5px;
    text-align: center;
    width: 20px;
    font-size: 17px;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    color: #000;
}

.close:hover {
    background-color: red;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
    
}
.prices{
    font-size: 7.5px;
    font-weight: lighter;
    display: inline-block;
}
th, td {
    padding: 5px;
    width: 50%;
    text-align: left;
    border: 0.5px solid white;
}
th {
    background-color: maroon;
    color: white;
}

td{
    font-size: 12px;
}


.specs-container {
    display: flex; /* Enables side-by-side layout */
    align-items: flex-start; /* Aligns sidebar & specs at the top */
    gap: 15px; /* Adds space between sidebar & specs */
    max-width: 600px;
    margin: 20px auto;
}

/* Sidebar */
.sidebar {
    position: block; 
    margin-top: 0.80%;
    margin-left: 5px;
    top: 50px; /* Adjust based on header height */
    width: 125px; /* Adjust width as needed */
    background: maroon; /* Sidebar background */
    padding: 7.5px; 
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar button {

    background: white;
    height: 22.5px;
    color: black;
    padding: 5px;
    border: none;
    border-radius: 2.5px;
    cursor: pointer;
    font-weight: bold ;
}

.sidebar button:hover {
    background-color: red;
    color: white;
}

/* Specifications Section */
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
    margin-right: 16px;
}

.spec-section {
    border-top: 2.5px solid #ff1a1a;
    display: none;
    background: linear-gradient(to left, gray 10%, white 200%);
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 0.5rem;
}

.specs{
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: .75cm;
    margin-top: 1.75cm;
    text-align: center;
    text-decoration: underline  ;

}
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 0.5rem;
}

.specs{
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 0.75cm;
    margin-top: 1.75cm;
    text-align: center;
    text-decoration: underline  ;

}
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section {
    border-top: 2.5px solid #ff1a1a;
    display: none;
    background: linear-gradient(to left, gray 10%, white 200%);
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 0.5rem;
}

.specs{
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: .75cm;
    margin-top: 0%;
    text-align: center;
    text-decoration: underline  ;

}

.back-container {
    position: fixed;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center; /* Para naka-center yung text at button */
}

.button-text {
    padding-bottom: 5px;
    font-size: 8px;
    font-weight: bold;
    color: black;
}


/* From Uiverse.io by xopc333 */ 
.back-button {
    display: block;
    position: relative;
    width: 32.5px;
    height: 32.5px;
    margin: 0;
    overflow: hidden;
    outline: hidden;
    background-color: transparent;
    cursor: pointer;
    animation: pop-glow 2s infinite alternate ease-in-out;
}

  .back-button:before,
  .back-button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 3.5px;
  }
  
  .back-button:before {
    border: 2px solid #be1b1b;
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .back-button:after {
    border: 2px solid #000;
    transform: scale(1.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
  }
  
  .back-button:hover:before,
  .back-button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .back-button:hover:after,
  .back-button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button-box {
    display: flex;
    position: absolute;
    top: 5;
    left: 4;
  }
  
  .button-elem {
    display: block;
    width: 10px;
    height: 10px;
    margin-left: 11px;
    transform: rotate(180deg);
    fill: #ff1a1a;
  }
  
  .button:hover .button-box,
  .button:focus .button-box {
    transition: 0.4s;
    transform: translateX(-28px);
  }

}

@media (max-width: 932px) and (orientation: landscape) {

     * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: 'Bahnschrift', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    user-select: none;
    
}

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: 1.25rem;
    color: #000;
}

h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ff1a1a;
}

p {
    font-size: 0.6rem;
    color: #333;
    line-height: 0.8;
}

/* 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: maroon;

  }
  
  #main-nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  /* When nav has 'scrolled' class, all <a> inside become white */
  #main-nav.scrolled a {
    color: white;
  }
  
  #main-nav .logo {
    height: 20px;
    transition: all 0.3s ease;
  }
  
/* Footer */
.footer {
    background: maroon;
    color: #dbe7ff;
    padding: 15px 2.5% 10px; 
    font-family: 'bahnschrift', sans-serif;
    width: 100%;
    align-items: center;
    margin-bottom: -1000px;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 10px; 
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .footer h3 {
    font-size: 0.5rem; 
    color: #ffffff;
    margin-bottom: 5px;
    text-align: center;
   }
  
  .footer-brand img {
    max-width: 100px; 
    margin-bottom: 5px;
    text-align: center;
   }
  
  .footer-brand p {
  font-size: 0.43rem;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  width: 50%;
  margin: 0 auto;
}

  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin: 2.5px 0; 
    font-size: 0.45rem;
  }

  .footer-links{ 
    display: none;
  }
  
  .footer-contact li {
    font-size: 0.45rem;
    margin-bottom: 1.5px;
    text-align: center;
  }
  
  .footer-contact i {
    margin-right: 3px;
    text-align: center;
  }
  
  .footer-social .social-icons a {
    font-size: .55rem;
    margin-right: 5px;
    text-align: center;
  }
  
  .footer-bottom {
    border-top: 0.5px solid #ffffff;
    text-align: center;
    margin-top: 10px; 
    padding-top: 5px; 
    font-size: 0.4rem;
  }



hr {
    border: none; /* Remove default border */
    border-top: 1px solid #ff1a1a; /* Set a custom border (line) */
    width: 100%; /* Full width */
    margin: 10px 0; /* Add some spacing above and below */
}
.banner {
    position: relative;
    width: 100%;
    height: auto;
}

.banner {
    animation: fadeIn 0.8s ease-in-out;
}


.banner img {
    width: 100%;
    height: auto;
    display: block;
}
.banner img {
    animation: fadeIn 0.8s ease-in-out;
}

.banner-text {
    position: absolute;
    bottom: 10%;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);

}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-text {
    animation: fadeIn 0.8s ease-in-out;
}


.description {
    max-width: 1100px;
    margin: 20px auto;
    padding: 30px;
    height: 400px;
    text-align: justify;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.0;
    border-left: 2.5px solid #ff1a1a;
    border-radius: 2.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.banner-text {
    animation: fadeIn 0.8s ease-in-out;
}

.description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg_desc.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Adjusted opacity for the background image */
    z-index: -1;
    border-radius: 2.5px;
}

.description p {
    top: 14%;
    margin: 10px;
    position: relative;
    z-index: 1;
    line-height: 1.6; 
    margin: 10px;


}

.description {
    opacity: 0; /* Nakatago sa simula */
    transform: translateY(25px); /* Bahagyang naka-offset pababa */
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

/* Lalabas kapag nakita sa viewport */
.description.show {
    opacity: 1;
    transform: translateY(0);
}

.available-colors {
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
    margin-left: 1cm;

}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #cccccc); /* Added background gradient */
}

.main-image-container img {
    width: 100%;
    display: block;
}

.color-description {
    position: absolute;
    bottom: 5px;
    right: 20px;
    color: black;
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
}

.color-thumbnails {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    text-align: right;
    
}

.color-thumbnails img {
    width: 50px;
    height: auto;
    margin-left: 8px;
    cursor: pointer;
    border: 0.5px solid #ccc;
    border-radius: 2.5px;
    padding: 2.5px;
    background: linear-gradient(to bottom, #f0f0f0, #dcdcdc); /* Gradient background for each thumbnail */
    object-fit: contain; /* Para hindi maputol ang image */
    aspect-ratio: 1 / 1; /* Para siguradong square at pantay-pantay */
}

.color-thumbnails img:hover {
    border-color: #000;
    background: linear-gradient(to bottom, #ffffff, #cccccc); /* Hover gradient effect */
}


.features {
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
    margin-left: 1cm;
    color: #000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    color: #000;
}

.feature-item {
    text-align: center;
    width: 125px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    color: #000;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-item:hover img {
    opacity: 0.7;
}

.feature-item-text {
    display: block;
    margin-top: 5px;
    font-style: italic;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    transition: color 0.3s ease-in-out;
}

.feature-item-text:hover {
    text-decoration: underline;
    color: red;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background-color: rgba(0, 0, 0, 0.5); 
    justify-content: center;
    align-items: center;
    overflow-y: auto; 
    padding: 20px 10px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 12.5px;
    border-radius: 7.5px;
    text-align: left;
    width: 100%;
    max-width: 225px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 7.5px 0 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.modal h2 {
    color: #000;
    text-align: center;
    margin-top: 10px;
    font-size: .75em;
}

.modal p {
    color: #000;
    font-size: 0.5em;
    line-height: 1.6;
}

.close {
    position: absolute;
    top: 5px;
    right: 7.5px;
    text-align: center;
    width: 20px;
    font-size: 17px;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    color: #000;
}

.close:hover {
    background-color: red;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
    
}
.prices{
    font-size: 7.5px;
    font-weight: lighter;
    display: inline-block;
}
th, td {
    padding: 5px;
    width: 50%;
    text-align: left;
    border: 0.5px solid white;
}
th {
    background-color: maroon;
    color: white;
}

td{
    font-size: 12px;
}


.specs-container {
    display: flex; /* Enables side-by-side layout */
    align-items: flex-start; /* Aligns sidebar & specs at the top */
    gap: 15px; /* Adds space between sidebar & specs */
    max-width: 600px;
    margin: 20px auto;
}

/* Sidebar */
.sidebar {
    position: block; 
    margin-top: 0.80%;
    margin-left: 5px;
    top: 50px; /* Adjust based on header height */
    width: 125px; /* Adjust width as needed */
    background: maroon; /* Sidebar background */
    padding: 7.5px; 
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar button {

    background: white;
    height: 22.5px;
    color: black;
    padding: 5px;
    border: none;
    border-radius: 2.5px;
    cursor: pointer;
    font-weight: bold ;
}

.sidebar button:hover {
    background-color: red;
    color: white;
}

/* Specifications Section */
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section {
    border-top: 2.5px solid #ff1a1a;
    display: none;
    background: linear-gradient(to left, gray 10%, white 200%);
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 0.5rem;
}

.specs{
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: .75cm;
    margin-top: 1.75cm;
    text-align: center;
    text-decoration: underline  ;

}
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 0.5rem;
}

.specs{
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 0.75cm;
    margin-top: 1.75cm;
    text-align: center;
    text-decoration: underline  ;

}
.specs-section {
    flex: 1; /* Takes the remaining space */
    text-align: center;
}

.spec-section {
    border-top: 2.5px solid #ff1a1a;
    display: none;
    background: linear-gradient(to left, gray 10%, white 200%);
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}

.spec-section h3 {
    color: white;
}

.spec-section p {
    color: rgb(0, 0, 0);
    font-size: 0.5rem;
}

.specs{
    text-decoration: capitalize;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: .75cm;
    margin-top: 0%;
    text-align: center;
    text-decoration: underline  ;

}

.back-container {
    position: fixed;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center; /* Para naka-center yung text at button */
}

.button-text {
    padding-bottom: 5px;
    font-size: 8px;
    font-weight: bold;
    color: black;
}


/* From Uiverse.io by xopc333 */ 
.back-button {
    display: block;
    position: relative;
    width: 32.5px;
    height: 32.5px;
    margin: 0;
    overflow: hidden;
    outline: hidden;
    background-color: transparent;
    cursor: pointer;
    animation: pop-glow 2s infinite alternate ease-in-out;
}

  .back-button:before,
  .back-button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 3.5px;
  }
  
  .back-button:before {
    border: 2px solid #be1b1b;
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .back-button:after {
    border: 2px solid #000;
    transform: scale(1.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
  }
  
  .back-button:hover:before,
  .back-button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .back-button:hover:after,
  .back-button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button-box {
    display: flex;
    position: absolute;
    top: 5;
    left: 4;
  }
  
  .button-elem {
    display: block;
    width: 10px;
    height: 10px;
    margin-left: 11px;
    transform: rotate(180deg);
    fill: #ff1a1a;
  }
  
  .button:hover .button-box,
  .button:focus .button-box {
    transition: 0.4s;
    transform: translateX(-28px);
  }

}