/* VARIABLES */
:root {
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f5f5f5;
  --dark-gray: #3d3d3d;
  --deep-maroon: #8a0101;
  --vibrant-orange: #C45303;
}



/* FRAMEWORK */
body {
  background-color: var(--white);
  color: var(--dark-gray);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
}
section {
  margin-bottom: 24px;
}
a {
  color: var(--deep-maroon);
  font-size:15px;
  line-height:17px;
}
a:hover {
  color: var(--deep-maroon);
  text-decoration: none;
}
p {
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 35px;
  font-weight: 700;
  color: var(--deep-maroon);
  margin: 0;
}
h1.portfolio {
  font-size: 24px;
  @media (min-width: 1024px) {
    font-size: 40px;
  }
  line-height: 2;
  font-family: 'Rock it', sans-serif;
  color: var(--white);
}
h2 {
  font-size: 14px;
  font-weight: 700;
  color: #65696d;
  margin: 0 0 10px 0;
  border-bottom: 1px solid;
  line-height: 24px;
}
h2.portfolio {
  font-size: 35px;
  font-family: 'Rock it', sans-serif;
  color: var(--deep-maroon);
  margin: 0 0 25px 0;
  border-bottom: none;
  line-height: 2;
  text-align: center;
  text-shadow: 8px 8px #dddddd;
}
h3 {
  color: var(--deep-maroon);
  font-size:25px;
  font-weight: 700;
  line-height: 35px;
  margin: 0;
}
h3.portfolio {
  font-family: 'Rock it', sans-serif;
  font-size:20px;
  line-height: 2;
}
.fas {
  color: var(--vibrant-orange);
  margin-right: 5px;
}
.fas.bg-circle {
  background-color: var(--light-gray);
  border-radius: 50%;
  margin-bottom: 10px;
  padding: 10px;
}
.fas.fa-quote-left,
.fas.fa-quote-right{

}
.swres-container {
  position:relative;
  max-width:1400px;
  width: auto;
  margin: 0 auto;
  padding: 50px;
  height: auto;
}
.swres-header {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}
.swres-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.swres-header-text {
  flex: 1;
}
.swres-headshot {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.swres-role {
  font-size: 16px;
  @media (min-width: 1024px) {
    font-size: 20px;
  }
  color: var(--white);
  margin: 0 0 5px 0;
}
.swres-font {
  font-size: 16px;
  @media (min-width: 1024px) {
    font-size: 20px;
  }
}
.swres-aside {
  float: left;
  padding-right: 40px;
  position: relative;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .swres-aside {
    max-width: 30%;
  }
}
.swres-main {
  position: relative;
  max-width: 100%;
}
.swres-skills {
  color: var(--deep-maroon);
  padding: 10px;
  border: 1px solid var(--deep-maroon);
  margin: 0 0 10px 0;
  width: 100%;
}
.swres-skills:hover {
  border: 1px solid var(--vibrant-orange);
  color: var(--deep-maroon);
}

/* QUOTE SLIDER */
.quote-slider {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  min-height: 100px;
  font-style: italic;
  font-size: 32px;
}
.quote {
  display: none;
  /* Mobile portrait only */
  font-size: 32px;



  /* 1024px and above */
  @media (min-width: 1024px) {
    font-size: 20px;
  }
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.quote.active {
  display: block;
  opacity: 1;
  position: relative;
  z-index: 1;
}
.quote-controls {
  margin-top: 2rem;
}
.quote-controls button {
  font-size: 34px;
  @media (min-width: 1024px) {
    font-size: 20px;
  }
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  background-color: transparent;
  color: var(--white);
}
.quote-toggle {
  border: none;
  background-color: transparent;
  color: var(--deep-maroon);
  position: absolute;
  top: -5px;
  right: 30px;
  padding: 0.4rem 0.8rem;
  font-size: 34px;
  @media (min-width: 1024px) {
    font-size: 14px;
  }
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
}
.quote-toggle:hover {
  background-color: transparent;
}

/* PULSE ON HOVER */
.pulse-on-hover {
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}
.pulse-on-hover:hover {
  animation: pulse .75s ease-in-out 1;
  cursor: pointer;
}
.pulse-on-hover.bg-orange:hover {
  background-color: var(--vibrant-orange);
  color: var(--white);
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* PROJECT CARD GALLERY */
.project-gallery {

}
.project-card {
  position: relative;
  box-shadow: 2px 2px 10px 0 rgba(0,0,0,0.15);
  float: left;
  padding: 10px;
  margin: 10px;
  width: 100%;

}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.project-card p {
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .project-card {
    max-width: calc(25% - 40px);
  }
}
.reveal-box {
  position: relative;
  width: 100%;
  height: auto;
  @media (min-width: 1024px) {
    width: 300px;
    height: 200px;
  }
  overflow: hidden;
}
.reveal-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reveal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--vibrant-orange);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}
.reveal-box:hover::before {
  opacity: 0.9;
}
.hover-text {
  font-size: 14px;
  position: absolute;
  top: 0%;
  line-height: 1.1;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  padding: 20px;
  @media (min-width: 1200px) {
    font-size: 14px;
  }

}
.hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-10%, -60%);
  font-size: 5rem;
  color: var(--deep-maroon);
  z-index: 3;
  transition: opacity 0.3s ease;
  pointer-events: none;
  opacity: 1;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
}
.reveal-box:hover .hover-icon {
  opacity: 0;
}

/* Reveal text on hover */
.reveal-box:hover .hover-text {
  opacity: 1;
}

/* UTILITIES */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.margin-right-10 {
  margin-right: 10px;
}
.maroon {
  color: var(--deep-maroon);
}
.orange {
  color: var(--vibrant-orange);
}
.white {
  color: var(--white);
}

.wrap {
  padding: 18px;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: flex-end;
  box-shadow:0px 25px 50px rgba(0,0,0,.5);
  border-radius: 25px;
  margin-bottom: 30px;
  text-decoration: none;
}

.content-wrap {
  width: 0%; 
  height: max-content;
  position: sticky;
  bottom: 25%;
  right: 15%;
}

.content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

/* Clear */
h1, p {
  margin: 0;
}

.media-wrap {
  width: 100%;
}

.media {
  height: auto;
  width: 100%;
}

.media img {
  margin-bottom: 25px;
  width: 100%;
}

.parallax-video-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
}

.parallax-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4); /* Optional: darken for contrast */
}

.overlay-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  padding: 2rem;
  text-align: center;
}

.quote-slider {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.return-to-top {
  position: fixed;
  bottom: 2rem;
  right: 0;
  background-color: var(--deep-maroon);
  color: var(--white);
  border: none;
  border-radius: 50% 0 0 50%;
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.return-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.return-to-top:hover {
  background-color: var(--vibrant-orange);
}
.return-to-top .fas {
    color: var(--white);
}