/**
 * WordPress-only overrides for the marketing homepage.
 * Keeps assets/css/home.css identical to external/home.css.
 *
 * @package Azee_Theme
 */

/* Admin bar shifts layout; static HTML has no admin bar. */
html.admin-bar {
  margin-top: 0 !important;
}

body.azee-homepage.admin-bar {
  padding-top: 32px;
  box-sizing: border-box;
}

@media screen and (max-width: 782px) {
  body.azee-homepage.admin-bar {
    padding-top: 46px;
  }
}

/* Theme social SVGs use currentColor; static HTML uses gold fill. */
body.azee-homepage .social-icon {
  color: #d4af37;
  text-decoration: none;
}

body.azee-homepage .social-icon:visited,
body.azee-homepage .social-icon:hover,
body.azee-homepage .social-icon:focus {
  color: #d4af37;
}

body.azee-homepage .nav-links a:visited {
  color: #d4af37;
}

body.azee-homepage .btn-contact:visited {
  color: #000;
}

/* Hero logo: fixed frame, centered (uploads vary in aspect ratio). */
body.azee-homepage .hero-content {
  justify-content: center;
  gap: 28px;
}

body.azee-homepage .hero-logo {
  display: block;
  width: 800px;
  height: 380px;
  max-width: 90vw;
  max-height: 48vh;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  flex-shrink: 0;
}

/* Sit below logo with clear gap (not pulled down near footer). */
body.azee-homepage .btn-watch {
  margin-top: 0;
  flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
  body.azee-homepage .hero-logo {
    width: 600px;
    height: 285px;
    max-height: 42vh;
  }

  body.azee-homepage .hero-content {
    gap: 24px;
  }
}

@media screen and (max-width: 768px) {
  body.azee-homepage .hero-logo {
    width: min(90vw, 400px);
    height: 220px;
    max-height: 38vh;
  }

  body.azee-homepage .hero-content {
    gap: 20px;
    transform: translateY(-20px);
  }

  body.azee-homepage .btn-watch {
    margin-top: 0;
    padding: 10px 25px 10px 15px;
    font-size: 12px;
  }
}

/* Admin bar: keep hero within viewport like static 100vh layout. */
body.azee-homepage.admin-bar .hero {
  height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  body.azee-homepage.admin-bar .hero {
    height: calc(100vh - 46px);
  }
}
