* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  line-height: 1.6;
  background: #000000; /* dark background */
  color: #f1f1f1;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: #000000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #b01222;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

/* Hero */
#hero {
  text-align: center;
  position: relative;
  padding: 100px 20px;
  min-height: 60vh;
  color: #fff;
  /* use hero image as background on desktop */
  background-image: url("media/62768.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero h1 {
  font-size: 2.5rem;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* hide inline hero image (we use background-image) */
#hero img {
  display: none !important;
}

/* Transitions: initial hidden state -> show on .show */
#hero {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 600ms ease, transform 600ms ease;
}
#hero.show {
  opacity: 1;
  transform: none;
}

.hero-inner {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms ease 120ms, transform 800ms ease 120ms;
}
#hero.show .hero-inner {
  opacity: 1;
  transform: none;
}


/* Slight scale/zoom on background for subtle effect */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 900ms ease;
  pointer-events: none;
}
#hero.show::after {
  transform: scale(1.02);
}

/* Main Video Section Styles */
#main-video {
  padding: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

#main-video video {
  width: 70vh;
  height: 70vh;
  border-radius: 20px;
  /* box-shadow: 0 20px 50px rgba(176, 18, 34, 0.3); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#main-video video:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(176, 18, 34, 0.4);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #b01222;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: ease-in 0.5s;
}

.btn:hover {
  background: #b01222cc;
}

/* Sections */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: #b01222cc;
  margin-bottom: 20px;
}

.service-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  color: #ddd;
  transition: transform 0.3s, ease-in 0.3s;
}

.service:hover {
  background: #222;
  transform: translateY(-5px);
}

/* Contact */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
  background: #1a1a1a;
  color: #fff;
}

form textarea {
  min-height: 100px;
}

form button {
  background: #b01222cc;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
  transition: ease-in 0.3s;
}

form button:hover {
  background: #b01222cc;
}

footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  border-radius: 1.5rem;
  opacity: 1;
}

#ads-1 {
  padding: 60px 20px;
  text-align: center;
  background: #000000;
  border-radius: 8px;
  margin: 0px;
}
#ads-1 h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: -5px;
}
#ads-1-profiles {
  font-size: 2rem;
  color: #ffffff;
  margin-top: -35px;
}
#ads-1 h4 {
  font-size: 1.5rem;
  color: #f1f1f1;
  margin-top: -10px;
}
#ads-1 h5 {
  font-size: 1.2rem;
  color: #ddd;
  margin-top: -30px;
}
#ads-1 img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(176, 18, 34, 0.3);
}
#ads-1 hr {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms ease 120ms, transform 800ms ease 120ms;
}
#ads-2 {
  padding: 10px 20px;
  text-align: center;
  background: #000000;
  border-radius: 8px;
  margin: 0px;
}
#ads-2 video {
  height: 70vh;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(176, 18, 34, 0.4);
}
#ads-2 h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: -20px;
}
#ads-3 {
  padding: 10px 20px;
  text-align: center;
  background: #000000;
  border-radius: 8px;
  margin: 0px;
}
#ads-3 img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(176, 18, 34, 0.3);
}
#ads-3 h1 {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: -20px;
}
@media screen and (max-width: 768px) {
  .navbar {
    padding: 15px 10px;
  }
  .logo {
    font-size: 1.2rem;
  }
  #hero {
    padding: 20rem 20px;
  }

  #hero h1 {
    font-size: 3rem;
  }

  .service-box {
    grid-template-columns: 1fr;
  }
  /* hide nav links and show hamburger */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 10px;
    background: #0f0f0f;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .menu-btn {
    display: block;
  }
  #hero {
    padding: 10rem 1rem;
  }
  /* Use the provided image as the hero background on mobile */
  #hero {
    background-image: url("media/62768.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Mobile video styles */
  #main-video {
    padding: 20px;
    min-height: 50vh;
  }

  #main-video video {
    width: auto;
    height: 70vh;
    border-radius: 20px;
    margin-top: 0;
    max-width: 100%;
  }

  /* hide the inline img element if present */
  #hero img {
    display: none !important;
  }
  /* subtle dark overlay to keep text readable */
  #hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    border-radius: 1.5rem;
    opacity: 1;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
  }
  .hero-inner{
    font-weight: 900;
  }
}

/* Contact block (dark + red theme) */
.contact-block {
  max-width: 980px;
  margin: 30px auto;
  padding: 30px;
  background: #0f0f0f;
  border-radius: 12px;
  border: 1px solid rgba(176, 18, 34, 0.12);
}
.contact-block h3 {
  color: #fff;
  margin-bottom: 6px;
}
.contact-block .contact-sub {
  color: #ccc;
  margin-bottom: 18px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #121212, #0b0b0b);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-item .ci-icon {
  font-size: 1.6rem;
  color: #b01222;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-item .ci-text {
  font-weight: 700;
}

/* visually hide text but keep for screen readers */
.contact-item .ci-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.contact-item.whatsapp {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.08);
}
.contact-item.instagram {
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.08);
}
.contact-item.telegram {
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.06);
}
.contact-item.gmail {
  box-shadow: 0 8px 24px rgba(219, 68, 55, 0.06);
}
.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(176, 18, 34, 0.18);
}

/* responsive contact */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #b01222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(176, 18, 34, 0.35);
  cursor: pointer;
  border: none;
  z-index: 200;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.show {
  opacity: 1;
  transform: none;
}
.back-to-top:hover {
  background: #9a0f1c;
}

/* Floating contact toggle + popup */
.contact-floating {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.contact-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #b01222;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(176, 18, 34, 0.35);
  cursor: pointer;
}
.contact-toggle:focus {
  outline: 3px solid rgba(176, 18, 34, 0.18);
}

.contact-floating.dragging {
  transition: none;
}
.contact-floating.dragging .contact-toggle {
  filter: brightness(0.95);
  transform: scale(0.98);
}

.contact-popup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.contact-popup.open {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.contact-popup .contact-item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #121212, #0b0b0b);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: none;
  padding: 0;
}
.contact-popup .contact-item .ci-icon {
  font-size: 20px;
  color: #b01222;
}

/* Staggered child animation using transform + opacity */
.contact-popup.open .contact-item {
  opacity: 0;
  transform: translateY(10px);
}
.contact-popup.open .contact-item.show {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@media (max-width: 480px) {
  .contact-floating {
    left: 12px;
    bottom: 12px;
  }
  .contact-popup .contact-item {
    width: 48px;
    height: 48px;
  }
  #bio{
    font-size: 16px;
    color: #ffffff;
    margin-top: 5vh;
  }
}
