/* -----------------------------------------------------------------------------
   PROJECT: OZM DIRECT
   FILE:    style.css
   DESC:    Main stylesheet.
----------------------------------------------------------------------------- */

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

/* --- BACKGROUND VIDEO --- */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.video-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(110, 100, 0, 0.2) url("../pattern.png") repeat; /* Adjusted path for css folder */
  z-index: 1;
}
/* Fallback if pattern.png is in root */
.video-bg::after {
  background-image: url("../pattern.png");
}

video#bgvid {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  object-fit: cover;
}
video#bgvid.is-visible {
  opacity: 1;
}

/* --- HEADER --- */
header {
  width: 100%;
  height: 90px;
  display: flex;
}
.brand-section {
  width: 85%;
  height: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  padding-left: 50px;
}
.logo-svg {
  width: 54px;
  height: 54px;
  margin-right: 20px;
}
.brand-name {
  font-weight: 700;
  line-height: 1.2;
  font-size: 1rem;
}
.partner-link {
  width: 15%;
  height: 100%;
  background-color: #ff5829;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s;
  font-weight: 500;
}
.partner-link:hover {
  background-color: #b23d1d;
}

/* --- MAIN CONTENT --- */
main {
  position: absolute;
  top: 25%;
  left: 15%;
  width: 60%;
}
h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  line-height: 1.1;
  font-weight: 700;
}
.action-cards {
  display: flex;
  gap: 0;
}
.card {
  width: 240px;
  height: 140px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
}
.card.dark {
  background: #000;
}
.card.highlight {
  background: #ff5829;
}

.card-title {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.card-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}
.contact-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
  .brand-section {
    width: 70%;
    padding-left: 20px;
  }
  .partner-link {
    width: 30%;
  }
  main {
    top: 20%;
    left: 10%;
    width: 80%;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
  }
  .brand-section,
  .partner-link {
    width: 100%;
    height: 70px;
    padding: 0 20px;
    justify-content: space-between;
  }
  .partner-link {
    justify-content: center;
  }
  main {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .action-cards {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    width: 100%;
    height: auto;
    min-height: 120px;
  }
}
