/* @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"); */

@import "reset.css";

:root {
  --blur: blur(40px);
  --border: 1px solid #fff;
  --background: rgba(0, 0, 0, 0.5);
}

body {
  font-family: "Roboto Mono", monospace;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
  color: #fff;
  padding-bottom: 2em;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: var(--background);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-bottom: var(--border);
}

header h1 {
  margin: 0;
  font-size: clamp(3.7em, 5vw, 7em);
  font-weight: 700;
  text-transform: uppercase;
}

header h1 a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  display: inline-block;
  font-size: inherit;
}

header h2 {
  margin: 0;
  font-size: clamp(1.3em, 1.5vw, 2em);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26vw;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 10px;
}

a {
  text-decoration: none;
  color: #fff;
}

nav ul li a {
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-weight: bold;
  position: relative;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.1em;
}
/* 
nav ul li a:hover,
nav ul li a.active {
  color: #ffb800;
} */

.superShadow {
  text-shadow: 0 1px 0 hsl(174,5%,80%),
               0 2px 0 hsl(174,5%,75%),
               0 3px 0 hsl(174,5%,70%),
               0 4px 0 hsl(174,5%,66%),
               0 5px 0 hsl(174,5%,64%),
               0 6px 0 hsl(174,5%,62%),
               0 7px 0 hsl(174,5%,61%),
               0 8px 0 hsl(174,5%,60%),
               0 0 5px rgba(0,0,0,.05),
               0 1px 3px rgba(0,0,0,.2),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.2),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.3);
}

.eyebrow-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 18px;
  font-style: italic;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
  color: #ffffff;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header-placeholder {
  height: 16em;
  /* Adjust this value based on your header height */
  width: 100%;
}

.section {
  position: relative;
  text-align: center;
  color: #fff;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}

.section h2,
.section h3,
.section p {
  margin: 20px auto;
  max-width: 90%;
}

.section b, .section a {
  font-size: 1.5em;
}

#section-home {
  position: relative;
  overflow: hidden;
  /* background-image: url("/engine/img/rfc_bg_01.jpg"); */
}

#section-about {
  background-image: url("/engine/img/rfc_bg_about_v02.png");
  background-size: cover;
  background-position: center;
}

#section-services {
  background-image: url("/engine/img/rfc_bg_services_v05.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services-index {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  color: #000;
  padding: 2rem;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 90vh;
}

.services-index h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.services-index ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-index li {
  text-align: center;
  width: calc(25% - 2rem);
  min-width: 200px;
}

.services-index a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-index img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.services-index span {
  font-size: 16px;
  font-weight: bold;
}

.services-index a:hover img {
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .services-index li {
    width: calc(33.33% - 2rem);
  }
}

@media (max-width: 900px) {
  .services-index li {
    width: calc(50% - 2rem);
  }
}

@media (max-width: 600px) {
  .services-index li {
    width: 100%;
  }
}

#section-services-freelance-cd {
  background-image: url("/engine/img/rfc_bg_freelance_v01.png");
  background-size: cover;
  background-position: center;
}

#section-services-freelance-cd h3 {
  color: #000;
  text-shadow: 0 0 20px #fff;
}

#section-services-direct-marketing {
  background-image: url("/engine/img/rfc_bg_direct_v02.png");
  background-size: cover;
  background-position: center;
}

#section-services-direct-marketing h3 {
  color: #000;
  text-shadow: 0 0 20px #fff;
}

#section-services-script-consulting {
  background-image: url("/engine/img/rfc_bg_script_v01.png");

  background-size: cover;
  background-position: center;
}

#section-services-script-consulting h3 {
  text-shadow: 0 0 20px #000;
}

#section-services-flawless-execution {
  background-image: url("/engine/img/rfc_bg_flawless_v02.png");
  background-size: cover;
  background-position: left;
}

#section-services-flawless-execution h3 {
  text-shadow: 0 0 20px #000;
}

#section-clients {
  background-image: url("/engine/img/rfc_bg_clients_v01.png");
  background-size: cover;
  background-position: center;
}

#section-clients h2 {
  color: #000;
  font-size: 2.1em;
  text-transform: uppercase;
}

#section-about h2 {
  color: #000;
  font-size: 2.1em;
  text-transform: uppercase;
}

.clients-wrapper {
  position: absolute;
  top: 30em;
  width: 100%;
}

.about-wrapper {
  position: absolute;
  top: 23.5em;
  width: 80%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

.contact-wrapper {
  right: 0;
  position: absolute;
}

#section-work {
  background-image: url("/engine/img/rfc_bg_work_v02.png");
  background-size: cover;
  background-position: right;
}

#section-contact {
  background-image: url("/engine/img/rfc_bg_contact_v03.png");
  background-size: cover;
  background-position: center;
}

.section .contact-wrapper p {
  font-size: 3em;
  padding: 1em;
  margin: 1em;
}

.section .contact-wrapper a {
  font-size: inherit;
}

.section .contact-wrapper .quote {
  font-size: 1.5em;
  font-style: italic;
}

.section h2,
.section h3 {
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
  color: #000;
}

.section h3 {
  color: #fff;
  font-size: 4em;
  text-transform: uppercase;
}

.section p {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
  background: var(--background);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: var(--border);
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

#section-home {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
  line-height: 1.5;
  display: flex;
  justify-content: center;
}

.hero-text p {
  margin: 0;
  color: #fff;
  /* Ensure text is visible on dark background */
}

.bold {
  font-weight: 700;
}

.bold {
  font-weight: 700;
  font-size: 1.5em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
}

.card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card .container {
  position: relative;
}

.card img {
  width: 100%;
  display: block;
  border-radius: 10px 10px 0 0;
}

.card .details {
  padding: 20px;
}

.card .details h3 {
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}

.card .details p {
  color: #a0a0a0;
  font-size: 15px;
  line-height: 30px;
  font-weight: 400;
  text-align: left;
}

.card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  background: var(--background);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: var(--border);
  border-radius: 10px;
}

.card:hover .overlay {
  opacity: 1;
}

.card .overlay h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card .overlay p {
  font-size: 14px;
  line-height: 2;
}

.overlay p {
  line-height: 3;
}

.card {
  cursor: pointer;
}

@media screen and (min-width: 1000px) {
  .work-wrapper {
    margin-left: 10em;
    margin-right: 10em;
  }
}

.work-wrapper h4 {
  font-size: 1.2em;
  font-weight: normal;
}

#work.section p {
  background: none;
  backdrop-filter: none;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: var(--border);
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.client-logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .client-logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.service-title {
  display: flex;
  align-items: center;
}

.service-title h3 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0;
}

.service-content {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: rgba(30, 30, 30, 0.9);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  font-family: "Roboto Mono", monospace;
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.close {
  color: #aaa;
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #fff;
}

/* Scrollbar styling for webkit browsers */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

/* Style for the bio link */
#open-bio-modal {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#open-bio-modal:hover {
  color: #ddd;
}

/* Ensure the modal is on top of all other elements */
body.modal-open {
  overflow: hidden;
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  background-color: rgba(30, 30, 30, 0.9);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  font-family: "Roboto Mono", monospace;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-description {
  margin-top: 20px;
}

.video-description h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.video-description p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.video-description a {
  color: #fff;
  text-decoration: underline;
}

.video-description a:hover {
  color: #ddd;
}

/* Drink Weird Modal Specific Styles */
.drink-weird-content {
  max-width: 1200px;
  /* Increased max-width to accommodate side-by-side videos */
}

.video-container-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.drink-weird-content .video-container {
  width: 48%;
  /* Adjust as needed */
  padding-bottom: 27%;
  /* Maintain 16:9 aspect ratio (48% * 9/16) */
}

.print-ads-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.print-ads-container img {
  width: 23%;
  /* Adjust as needed */
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.print-ads-container img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .video-container-wrapper {
    flex-direction: column;
  }

  .drink-weird-content .video-container {
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    margin-bottom: 20px;
  }

  .print-ads-container img {
    width: 48%;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10002;
  /* Higher than the video modal */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  height: 100%;
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.lightbox .close:hover,
.lightbox .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-trigger {
  cursor: pointer;
}

/* Update print-ads-container styles */
.print-ads-container img {
  width: 23%;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.print-ads-container img:hover {
  transform: scale(1.05);
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -1;
}

/* .nav.active, .nav:hover {
	color: #ffb800;
	text-shadow: 0px 0px 8px #ff0000;;
	cursor: default;
	-webkit-transition: all 2s ease-in-out;
	-o-transition: all 2s ease-in-out;
	transition: all 2s ease-in-out;
}

nav ul li a.active, nav ul li a:hover {
  color: #ffb800;
  text-shadow: 0px 0px 8px #ff0000;;
  cursor: default;
  transition: all 0.2s ease-in-out;
} */

.more-work-title {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.more-work-title h3 {
    font-size: 2.2rem;
    color: #333;
}

.more-work-title h4 {
    font-size: 1.2rem;
    color: #333;
}