/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === FONTS === */
@font-face {
  font-family: "Steelfish";
  src: url("Steelfish.woff") format("woff");
}

/* === COLORS === */
:root {
  --orange: #f7951d;
  --white: #FFF;
  --black: #000;
  --charcoal: #424242;
  --light-gray: #e0e0e0;
  --dark-gray: #4a4a4a;
  --teal: #009999;
  --light-yellow: #ffcc00;
  --emerald-green: #2ecc71;
  --purple: #9b59b6;
  --red-orange: #d84e09;
  --navy-blue: #003366;
}

/* Navbar Styles */
header {
  background: var(--orange);
  color: var(--black);
  padding: .5rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
}

.nav-container .logo {
  font-size: 2rem; 
  font-weight: bold;  
}

.logo-icon {
  width: 55px;
}

.nav {
  display: flex;
}

.nav-list {
  margin: 0 auto;
}

.nav-container, .nav-list {
  display: flex;
  gap: 1.5rem;
  font-size: 1.2rem;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-container .logo {
    font-size: 1.2rem;
    z-index: 2;
  }

  .nav {
    display: none;
    position: absolute;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 100%;
    padding-top: 6rem;
    align-items: center;
    text-align: center;
    background-color: var(--orange);
    color: var(--black);
    transition: 0.15s ease-in-out;
    flex-direction: column;
    gap: 2rem;
  }

  .nav-list {
    flex-direction: column;
    gap: .6rem;
  }

  .hamburger-menu {
    display: block;
    z-index: 2;
  }

   .nav.active {
    display: flex;
    right: 0;
    z-index: 2;
  }
}

/* Hero Section Styles */
.hero {
  height: 80vh;
  overflow: hidden;
  background-color: var(--black);
}

.hero-wrapper {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: 
    linear-gradient(90deg, var(--orange) 50%, transparent 0) repeat-x,
    linear-gradient(90deg, var(--orange) 50%, transparent 0) repeat-x,
    linear-gradient(0deg, var(--orange) 50%, transparent 0) repeat-y,
    linear-gradient(0deg, var(--orange) 50%, transparent 0) repeat-y;
  background-size: 20px 0px, 20px 0px, 20px 80px, 20px 80px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: linearGradientMove .9s infinite linear;
}

@keyframes linearGradientMove {
  100% {
      background-position: 20px 0, -20px 100%, 0 -80px, 100% -80px;
  }
}

.hero-text {
  max-width: fit-content;
  color: var(--orange);
  text-align: center;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Steelfish', sans-serif;
  font-size: 8rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.5rem;
  margin: 0 auto 2rem auto;
  width: 90%;
}

.hero-text button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background: var(--orange);
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-text button:hover {
  background: #cc5200;
}

/* About Section Styles */
.about-section {
  height: 100vh;
  display: flex;
  justify-content: space-between;
	align-content: center;
  padding: 2rem 1rem;
}

.about-section div {
  width: 50%;
}

.about-image {
  display: block;
  margin: 0 auto;
  width: 400px;
}

.about-section article h2 {
  margin-bottom: 1rem;
  font-family: 'Steelfish', sans-serif;
  font-size: 4rem;
}

@media (max-width: 850px) {
  .about-section {
    flex-direction: column;
    margin-bottom: 25rem;
  }

  .about-section div {
    width: 100%;
    margin-bottom: 1rem;
  }

  .about-image {
    height: 400px;
    border-radius: 100%;
    object-fit: cover;
  }
}

/* Portfolio Section Styles */
.work-section {
  padding: 2rem 1rem;
  /* height: 100vh;
  display: flex;
  flex-direction: column; */
}

.work-section h2 {
  font-family: 'Steelfish', sans-serif;
  font-size: 4em;
}

.work-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.work-sample {
  position: relative;
  display: flex;
  flex-direction: column;
}

.work-sample img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: bottom;
}

.work-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--orange);
  border-right: 20px dashed #000;
  border-left: 20px dashed #000;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.work-sample:hover .work-caption {
  height: 100%;
}

.work-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #000;
  text-align: center;
  font-size: 20px;
  font-family: 'Steelfish', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.work-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.work-description {
  margin-bottom: 1rem;
}

.work-links a {
  text-decoration: underline;
}

/* Portfolio Section Styles */
.contact-seciton {
  /* height: 100vh;
  display: flex;
  flex-direction: column; */
}

/* Footer Styles */
footer {
  background: var(--orange);
  color: var(--black);
  padding: .5rem 0;
}

.footer-span {
  display: block;
  text-align: center;
}

.footer-nav {
  width: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
}

.footer-nav-icon img {
  width: 40px;
}