/* ========================================
   RODRIGUEZ CREATIVE
   Final Project - N115
   ======================================== */

/* Custom Fonts */

@font-face {
  font-family: headingFont;
  src: url("../fonts/Orbitron-Bold.ttf");
}

@font-face {
  font-family: navigationFont;
  src: url("../fonts/Rajdhani-SemiBold.ttf");
}

@font-face {
  font-family: bodyFont;
  src: url("../fonts/Inter-Regular.ttf");
}

/* General Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111214;
  color: #f2e9dc;
  font-family: bodyFont, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 16px;
}

h1,
h2 {
  font-family: headingFont, Arial, sans-serif;
}

h2 {
  font-size: 28px;
}

h3 {
  font-family: navigationFont, Arial, sans-serif;
  font-size: 22px;
}

p {
  text-align: left;
}

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

img {
  display: block;
  max-width: 100%;
}

audio {
  width: 100%;
  margin-top: 15px;
}

video {
  width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.accent {
  color: #e47b42;
}

.sectionLabel {
  color: #e47b42;
  font-family: navigationFont, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
  width: 100%;
  background-color: #111214;
  border-bottom: 2px solid #c65d28;
}

.navHolder {
  width: 90%;
  max-width: 1400px;
  min-height: 85px;
  margin: 0 auto;
  padding: 15px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-family: headingFont, Arial, sans-serif;
  font-size: 22px;
  color: #f2e9dc;
  line-height: 1.2;
}

.logo span {
  display: block;
  color: #e47b42;
  font-size: 12px;
  letter-spacing: 7px;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.links a {
  font-family: navigationFont, Arial, sans-serif;
  font-size: 19px;
  text-transform: uppercase;
  color: #bfc3c7;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.links a:hover,
.links .active {
  color: #e47b42;
  border-bottom: 2px solid #c65d28;
}

/* ========================================
   HOME PAGE - HERO
   ======================================== */

.hero {
  width: 100%;
  min-height: 65vh;

  background-image:
    linear-gradient(to right, rgba(17, 18, 20, 0.97), rgba(17, 18, 20, 0.35)),
    url("../images/hero.jpg");

  background-color: #352017;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;

  padding: 60px 0;
  border-bottom: 1px solid #393939;
}

.heroContent {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.4;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.heroText {
  font-size: 20px;
  color: #bfc3c7;
}

.heroButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

/* ========================================
   BUTTONS
   ======================================== */

.button,
.outlineButton {
  display: inline-block;
  padding: 12px 25px;

  font-family: navigationFont, Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;

  border: 1px solid #c65d28;
  transition: 0.3s;
}

.button {
  background-color: #c65d28;
  color: #ffffff;
}

.button:hover {
  background-color: #e47b42;
  color: #111214;
}

.outlineButton {
  background-color: transparent;
  color: #e47b42;
}

.outlineButton:hover {
  background-color: #c65d28;
  color: #ffffff;
}

/* ========================================
   HOME PAGE - CREATIVE MEDIUMS
   ======================================== */

.mediumSection {
  padding: 50px 0;
}

.mediumHolder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.mediumCard {
  width: 18%;
  min-height: 160px;

  background-color: #1c1e21;
  border: 1px solid #414141;

  padding: 20px 15px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: 0.3s;
}

.mediumCard:hover {
  background-color: #302119;
  border-color: #e47b42;
  box-shadow: 0 0 15px rgba(198, 93, 40, 0.35);
}

.module {
  color: #bfc3c7;
  font-family: navigationFont, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.mediumIcon {
  color: #e47b42;
  font-size: 30px;
  margin: 12px 0;
}

.mediumCard h3 {
  font-size: 19px;
  margin-bottom: 0;
  overflow-wrap: break-word;
}

/* ========================================
   INTERIOR PAGE HEADINGS
   ======================================== */

.pageHeader {
  background-color: #1c1e21;
  padding: 50px 0;
  border-bottom: 1px solid #c65d28;
}

.pageHeader h1 {
  font-size: 42px;
  overflow-wrap: break-word;
}

.pageHeader p {
  color: #bfc3c7;
  max-width: 750px;
}

.pageHeader .sectionLabel {
  color: #e47b42;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.aboutSection {
  min-height: 65vh;
  padding: 50px 0;
}

.aboutHolder {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.aboutImage {
  width: 32%;
}

.aboutImage img {
  width: 100%;
  border: 2px solid #c65d28;
}

.profileInfo {
  background-color: #1c1e21;
  padding: 20px;
  border-bottom: 2px solid #c65d28;
}

.profileInfo h3 {
  color: #e47b42;
  margin-bottom: 5px;
}

.profileInfo p {
  font-size: 14px;
  color: #bfc3c7;
  margin-bottom: 5px;
}

.aboutText {
  width: 65%;
}

.aboutBlock {
  background-color: #1c1e21;
  border-left: 3px solid #c65d28;
  padding: 25px;
  margin-bottom: 20px;
}

.aboutBlock h2 {
  color: #e47b42;
  font-size: 20px;
}

.aboutBlock p {
  color: #bfc3c7;
  text-align: left;
  margin-bottom: 0;
}

/* ========================================
   PROJECTS PAGE - CATEGORY NAVIGATION
   ======================================== */

.projectNavigation {
  background-color: #191b1e;
  padding: 20px 0;
  border-bottom: 1px solid #393939;
}

.categoryLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.categoryLinks a {
  padding: 8px 15px;
  border: 1px solid #414141;
  background-color: #1c1e21;

  font-family: navigationFont, Arial, sans-serif;
  font-size: 16px;

  transition: 0.3s;
}

.categoryLinks a:hover {
  background-color: #c65d28;
  border-color: #c65d28;
  color: #ffffff;
}

/* ========================================
   PROJECTS PAGE - PROJECT SECTIONS
   ======================================== */

.projectSection {
  padding: 40px 0;
  border-bottom: 1px solid #393939;
  scroll-margin-top: 20px;
}

.projectSection h2 {
  color: #e47b42;
  font-size: 26px;
}

.projectHolder {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
}

.projectCard {
  width: 48%;
  background-color: #1c1e21;
  border: 1px solid #414141;
  transition: 0.3s;
}

.projectCard:hover {
  border-color: #c65d28;
  box-shadow: 0 0 12px rgba(198, 93, 40, 0.2);
}

.projectCard img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background-color: #111214;
  border-bottom: 1px solid #c65d28;
}

.projectText {
  padding: 25px;
}

.projectText h3 {
  color: #f2e9dc;
  font-size: 25px;
}

.projectText p {
  color: #bfc3c7;
  text-align: left;
}

.projectType {
  color: #e47b42;
  font-family: navigationFont, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

.projectStatus {
  background-color: #1c1e21;
  border-left: 3px solid #c65d28;
  color: #bfc3c7;
  padding: 20px;
}

.backLink {
  display: inline-block;
  color: #e47b42;
  font-family: navigationFont, Arial, sans-serif;
  margin-top: 20px;
}

.backLink:hover {
  color: #f2e9dc;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contactSection {
  min-height: 65vh;
  padding: 50px 0;
}

.contactHolder {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.contactInfo {
  width: 40%;
  background-color: #1c1e21;
  border-left: 3px solid #c65d28;
  padding: 25px;
}

.contactInfo h2 {
  font-size: 23px;
  color: #e47b42;
}

.contactInfo h3 {
  color: #e47b42;
  margin-top: 25px;
  margin-bottom: 8px;
}

.contactInfo p {
  color: #bfc3c7;
  overflow-wrap: anywhere;
}

.contactInfo a {
  color: #e47b42;
  overflow-wrap: anywhere;
}

.contactInfo a:hover {
  color: #f2e9dc;
}

.contactForm {
  width: 55%;
  background-color: #1c1e21;
  padding: 30px;
  border: 1px solid #414141;
}

.contactForm h2 {
  font-size: 23px;
  color: #e47b42;
}

/* Contact Form */

form {
  display: flex;
  flex-direction: column;
}

form label {
  color: #e47b42;
  font-family: navigationFont, Arial, sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

form input,
form textarea {
  width: 100%;
  background-color: #111214;
  color: #f2e9dc;
  border: 1px solid #555555;

  font-family: bodyFont, Arial, sans-serif;
  font-size: 16px;

  padding: 12px;
  margin-bottom: 20px;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #c65d28;
}

form textarea {
  height: 150px;
  resize: vertical;
}

form button {
  background-color: #c65d28;
  color: #ffffff;
  border: none;

  font-family: navigationFont, Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;

  padding: 15px;
  cursor: pointer;
}

form button:hover {
  background-color: #e47b42;
}

form button:disabled {
  opacity: 0.75;
  cursor: default;
}

.formNote {
  font-size: 13px;
  color: #bfc3c7;
  margin-top: 15px;
  margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  width: 100%;
  min-height: 70px;

  background-color: #191b1e;
  border-top: 1px solid #c65d28;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;
  padding: 20px 5%;
}

footer p {
  font-family: navigationFont, Arial, sans-serif;
  font-size: 14px;
  margin-bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN - TABLETS
   ======================================== */

@media (max-width: 1023px) {
  .navHolder {
    justify-content: center;
    gap: 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .mediumCard {
    width: 30%;
  }

  .aboutHolder {
    gap: 25px;
  }

  .projectCard {
    width: 47%;
  }

  .contactHolder {
    gap: 20px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - SMARTPHONES
   ======================================== */

@media (max-width: 767px) {
  .navHolder {
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    text-align: center;
  }

  .links {
    gap: 12px;
  }

  .links a {
    font-size: 16px;
  }

  .hero {
    min-height: 60vh;
    padding: 40px 0;

    background-image:
      linear-gradient(rgba(17, 18, 20, 0.75), rgba(17, 18, 20, 0.9)),
      url("../images/hero.jpg");
  }

  .hero h1 {
    font-size: 28px;
  }

  .heroText {
    font-size: 16px;
  }

  .sectionLabel {
    font-size: 13px;
  }

  h2 {
    font-size: 23px;
  }

  .mediumHolder {
    gap: 10px;
  }

  .mediumCard {
    width: 47%;
    min-height: 145px;
  }

  .mediumCard h3 {
    font-size: 17px;
  }

  .pageHeader h1 {
    font-size: 30px;
  }

  .aboutHolder,
  .contactHolder {
    flex-direction: column;
  }

  .aboutImage,
  .aboutText,
  .contactInfo,
  .contactForm {
    width: 100%;
  }

  .aboutImage {
    max-width: 350px;
    margin: 0 auto;
  }

  .projectCard {
    width: 100%;
  }

  .projectCard img {
    height: 220px;
  }

  .projectSection h2 {
    font-size: 22px;
  }

  .contactForm {
    padding: 20px;
  }

  footer {
    flex-direction: column;
  }

  footer p {
    text-align: center;
  }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL PHONES
   ======================================== */

@media (max-width: 359px) {
  .hero h1 {
    font-size: 23px;
  }

  .mediumCard {
    width: 100%;
  }

  .links {
    gap: 8px;
  }

  .links a {
    font-size: 14px;
  }

  .pageHeader h1 {
    font-size: 25px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

a:focus-visible {
  outline: 2px solid #e47b42;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none;
  }
}
