/*
Theme Name: Overboost
Template: twentytwentyfour
Version: 1.0
*/


/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
}

/* =====================================================
   CONTAINER
===================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =====================================================
   FLEX UTILITIES
===================================================== */

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.flex-1 {
  flex: 1;
}


/* =====================================================
   COMMON LAYOUTS
===================================================== */

/* Two Column Layout */
.two-col {
  display: flex;
  gap: 30px;
}

/* Three Column Layout */
.three-col {
  display: flex;
  gap: 30px;
}

.col-1 { flex: 1; }
.col-2 { flex: 2; }
.col-3 { flex: 3; }

/* =====================================================
   SPACING HELPERS
===================================================== */

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }

.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
  .two-col,
  .three-col {
    flex-direction: column;
  }
}



form {
    display: block;
    margin-top: 0em;
    unicode-bidi: isolate;
}

.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    color: #4e4e4e;
    display: block;
    font-family: inherit;
    font-size: 1rem;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    height: 3rem;
    margin: 0;
    padding: .75rem 1rem;
    -webkit-transition: border-color .1s ease-out;
    transition: border-color .1s ease-out;
    width: 100%;
}

button {
    background: 0 0;
    border: 0;
}

.form-button {
    flex: 0 0 150px;       /* button fixed width */
    max-width: 150px;
}

/* =====================================================
   NAVIGATION
===================================================== */

.main-nav {
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  display: block;
  padding: 10px 0; /* bigger hover area */
  color: #4e4e4e;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
}

/* .menu-item > a:hover {
  background: #f9f9f9;
} */


/* =====================================================
   DROPDOWN (SMOOTH + NO FLICKER)
===================================================== */

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  list-style: none;
  min-width: 220px;
  padding: 10px 0;
  
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;

  /* Hide smoothly instead of display:none */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;

  border-radius: 4px;
  z-index: 1000;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: #4e4e4e;
  text-decoration: none;
  margin: 5px 0;
}

/* .dropdown li a:hover {
  background: #ffffff;
} */

/* SHOW DROPDOWN */
.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown {
    position: static;
    transform: none;
  }
}