/* TJ Mullen */

/* ==================================================
TABLE OF CONTENTS
==================================================
1. Reset
2. Global Styles
3. Typography
4. Header & Navigation
5. Hero Section
6. Skills Section
7. Services Section
8. About Section
9. Projects Section
10. Video Section
11. Forms & Buttons
12. Accordion & Collapse
13. Footer
14. Utility Classes
15. Media Queries
================================================== */


/* ==================================================
1. RESET
================================================== */

body,
header,
nav,
a,
main,
footer,
h1,
p,
div,
img,
ul,
li,
ol,
figure,
figcaption,
section,
article,
aside,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
}

/* ==================================================
2. GLOBAL STYLES
================================================== */

html {
  background-color: rgba(0, 0, 0, 0.17);
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.17);
  background-color: rgb(249, 248, 246);
  /* max-width: 2200px; /* Optional: ensures margin auto actually creates side margins by setting a limit */
  font-size: 16px;   /* Added 'px' here to fix an invalid CSS unit error */
} 

/* General Styles */
/* body {
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.17);
  background-color: rgb(249, 248, 246);
  font-size: 16;
} */

/* ==================================================
3. TYPOGRAPHY
================================================== */

h1 {
  font-size: 48px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 20px;
  line-height: 1.6;
}

.section-title {
  font-family: 'Arial', sans-serif;
  font-weight: bold; /* Makes the font bold */
  margin-bottom: 50px;
}

.autodesk-title {
  font-family: 'Arial', sans-serif;
  font-weight: bold; /* Makes the font bold */
}

.text-primary {
  color: rgb(31,78,216);
}

/* ==================================================
4. HEADER & NAVIGATION
================================================== */

header {
    background-color:  black;
}

.logo {
  white-space: nowrap;
  color: rgb(58,63,69);
  font-size: 20px;
  font-weight: 600;
}

.logo:hover{
    cursor: default;
}

.navbar {
  font-family: "DM Serif Text", serif;
  justify-content: space-between;
  background-color: transparent;
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.nav-sticky{ 
    width: 100%;
    position: sticky; 
    top: 0; 
    z-index: 1000;
    background-color: rgba(249, 248, 246, 0.9);
}

.nav-links a {
  color: rgb(58,63,69);
}

.nav-a {
  background: none;
  border: none;
  margin: 0;
  padding: 14px 16px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.navbar a {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  font-size: 16px;
  font-family: "DM Serif Text", serif;
}

.icon {
  background: none;
  border: none;
  cursor: pointer;
}

/* ==================================================
5. DROPDOWN NAVIGA*ION
================================================== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    width: 200px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 10px;
}

.dropdown-content.show {
    display: block;
}

.navbar-toggler {
  border: none;
  box-shadow: none;
  padding: 0;
}

.navbar-toggler:focus, .navbar-toggler:active {
  box-shadow: none;
  outline: none;
}

.dropdown-menu {
  border: none;
  box-shadow: none;
  background: rgb(249, 248, 246) !important;
  opacity: 1;
}

.service-link a {
  padding: 20px;
}

/* ==================================================
6. HERO SECTION
================================================== */

.hero-container{
  position: relative;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%) contrast(65%);
}

.hero-overlay-text {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.home_page {
  color: white;
} 

.hero-overlay-text a {
 margin: 0;
}

.hero-overlay-text p:first-child {
  font-size: 16px;
  letter-spacing: 2px;
}

.hero-overlay-text h1 {
  font-family: "DM Serif Text", serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
}

.hero-overlay-text p {
  font-size: 20px;
  max-width: 700px;
}

.hero-links {
  display: flex;
  gap: 20px;         
  margin-top: 20px;
  flex-wrap: wrap;  
  justify-content: center;
}

.hero-links a {
  background-color: rgb(51 51 51 / 15%);
  color: white;
  margin: 0;
  text-decoration: none;
  display: inline-block;
  border-radius: 1px;
  line-height: 1.75;
  padding: 5px 10px;
  outline: 2px solid rgb(249, 248, 246);
}

.hero-links a:hover {
  background-color: rgb(51 51 51 / 25%);
  color: white;
  outline: 2px solid rgb(31,78,216);
}

.hero-links-design {
  display: flex;
  gap: 20px;        
  margin-top: 20px;
  flex-wrap: wrap;    
  justify-content: center;
}

.hero-links-design a {
  background-color: rgb(51 51 51 / 15%);
  color: rgb(31,78,216);
  margin: 0;
  text-decoration: none;
  display: inline-block;
  border-radius: 1px;
  line-height: 1.75;
  padding: 5px 10px;
  outline: 2px solid rgb(51 51 51);
}

.hero-links-design a:hover {
  background-color: rgb(51 51 51 / 25%);
  color: black;
  outline: 2px solid rgb(31,78,216);
}

.mobile_backgroung_image {
  display: none;
}

/* ==================================================
7. GENERAL PAGE SECTIONS
================================================== */

.about-us {
  background-color: white;
  padding: 60px 20px;
}


.drafting-projects, .software-projects {
  background-color: white;
  padding-top: 60px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 15px;
}

#software-contact {
  padding-top: 60px;
  background-color: white;
}

.level_three {
  padding-left: 32px;
  padding-right: 32px;
}

.mx-auto {
  max-width: 700px;
}

/* ==================================================
8. SKILLS SECTION
================================================== */


.skills-wrapper {
  max-width: 420px; 
  margin: 0 auto;
}

.skills-wrapper .row {
  margin-left: 0;
  margin-right: 0;
  justify-content: center; 
}

.skills-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.skills-wrapper li {
  white-space: nowrap;
}

.skills-wrapper li::before {
  content: "• ";
}

.skill-box-title {
    color: black;
    text-align: center;
    font-family: "DM Serif Text", serif;
    font-size: 1.2rem;
}

 #skill-box {
    color: black;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 80px;
    font-size: 1.75rem;
    margin-top: 25px;
    margin-right: 0;
    margin-left: 0;
}

#skill-box .col-12 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#skill-box i, .custom-icon-svg {
  width: 48px;
  font-size: 48px;
}

.send_message, .software_send_message {
  padding-bottom: 24px;
}

/* ==================================================
9. SERVIES SECTION
================================================== */

.home-services {
  display: flex;
}

.home-services .col-md-6 {
  display: flex;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  width: 100%;
}

.service-card p {
  max-width: 650px;
  margin-left: auto; 
  margin-right: auto; 
  padding-left: 15px; 
  padding-right: 15px;
}

/* ==================================================
10. ABOUT SECTION
================================================== */

.about-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.about-card p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

.about-card {
  background-color: #f1ece6;
  padding: 20px;
  border-radius: 6px;
}

/* ==================================================
11. VIDEO SECTION
================================================== */

#myVideo {
    text-align: center;
    width: 100%;
    height: auto;
}

.video-container {
  position: relative;
}

.button-video {
  margin-top: 50px;
  text-align: left;
  font-size: 16px;
}

/* ==================================================
12. ACCORDION & COLLAPSE
================================================== */

#accordion-container {
    width: 100%;
    margin-top: 16px;
    padding: 0;
    border: none;
}

.btn-primary {
  background-color: rgb(31,78,216)
}

.btn-group [data-bs-toggle="collapse"] {
  color: rgb(58,63,69);
}

.btn-group [data-bs-toggle="collapse"]:not(.collapsed) {
  background-color: rgb(58,63,69);
  color: #fff;
}

.btn-group [data-bs-toggle="collapse"].collapsed {
  background-color: transparent;
  color: rgb(31,78,216);
  border-color: rgb(31,78,216);
}

/* =================================================
13. PROJECTS SECTION
==================================================**/

.section-box {
  margin: 2.5rem;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.project-name img:hover {
  opacity: 0.6;
}

.page-link {
  padding: 5px;
  border-radius: 3px;
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.17em;
  font-style: italic;
  text-decoration: underline
}

.project-def {
  font-size: 1.25rem;
  margin: 0;
}

.git-link {
  color: rgb(31,78,216);
  padding: 5px;
  border-radius: 3px;
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.17em;
  font-style: italic;
}

.badge-image {
  width: 200px;
  height: auto;
}

.project-name {
  font-size: 2rem;
  margin: 0;
}

.front-body {
  margin-bottom: 10px;
  color: rgb(31,78,216);
}

.preview-image {
  cursor: zoom-in;
  transition: transform .2s ease;
}

.preview-image:hover {
  transform: scale(1.02);
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* .carousel-item img, .project-name img {
  border: 5px solid rgb(58,63,69);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgb(58,63,69);
} */

/* ==================================================
14. ICONS & CERTIFICATIONS
================================================== */

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fa-beat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

.icon-fa:hover, .icon-bi:hover, .custom-icon-svg:hover {
  animation: bounce 0.6s ease infinite;
}

.icon-p{
  margin-top: 10px;
  font-style: italic;
}

.icon-box i {
  color: #c46a2d;
  font-size: 20px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: #e4d8cd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.icon-fa {
    margin-bottom: 25px;
}

.custom-font {
  transform: translateY(-8px); /* Negative value moves it UP */
}

.custom-icon-svg {
    transition: transform 0.3s ease;
}

.custom-icon-svg:hover {
    animation: fa-beat 1s ease-in-out infinite;
}

.nested-button {
    white-space: nowrap;
}

.link-text {
  color: black;
  text-decoration: none;
  padding-left: 15px;
}

.link-text:hover {
  color: rgb(31,78,216);

}

/* ==================================================
15. UTILITY CLASSES
================================================== */

.desktop-view {
  display: block;
}

.tablet-view {
  display: none;
}

.mobile-view {
  display: none;
}

/* ==================================================
16. FOOTER
================================================== */

.footer_links {
  list-style: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color:white;
  padding: 20px;
  text-align: center;
  margin-bottom: 0;
  gap: 10px;
}

.footer_links ul, .software_footer_links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer_links li, .software_footer_links li {
margin: 10px 0;
}

.footer_links a, .software_footer_links a {
  display: inline-block;
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding: 8px 12px;
}

.footer_links a:hover  {
  color: rgb(31,78,216);
  background-color: rgb(249, 248, 246);
}

.software_footer_links a:hover {
  color: rgb(31,78,216);
  background-color: white;
}

.software_footer_links {
  list-style: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color:rgb(249, 248, 246);
  padding: 20px;
  text-align: center;
  margin-bottom: 0;
  gap: 10px;
}

/* ==================================================
17. Contact Page
================================================== */

.contact-card-section{
  background:#0f172a;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:50px 20px;
}

.contact-card{
  width:100%;
  max-width:650px;
  background:#1e293b;
  border-radius:25px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.contact-header{
  height:80px;
  background:linear-gradient(90deg,#ffffff,#d6d6d6);
}

.profile-container{
  text-align:center;
  margin-top:-60px;
}

.profie-image{
  width:180px;
  height:auto;
  border-radius:50%;
  border:6px solid #1e293b;
  object-fit:cover;
}

.contact-content{
  padding:30px;
  text-align:center;
  color:white;
}

.contact-content h1{
  margin-top:15px;
  font-size:2rem;
  font-weight:700;
}

.job-title{
  color:#cbd5e1;
  margin-bottom:30px;
}

.contact-links{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact-links a{
  color:white;
  text-decoration:none;
  background:#334155;
  padding:15px;
  border-radius:12px;
  transition:.3s;
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center; /* centers vertically */
  gap: 12px; /* spacing between icon and text */
}

.contact-links a:hover{
  background:white;
  color:black;
}

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

.social-links a{
  width:55px;
  height:55px;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  background:#334155;
  color:white;
  text-decoration:none;
  transition:.3s;
}

.social-links a:hover{
  background:white;
  color:black;
}

/* ==================================================
17. MEDIA QUERIES
================================================== */

@media screen and (max-width: 1502px) {
  
  .page-link {
    font-size: 1.10em;
  }

  .project-def, .git-link {
    font-size: 1.18rem;
  }
}

@media screen and (max-width: 1425px) {
  
  .page-link {
    font-size: 1.03em;
  }

  .project-def, .git-link {
    font-size: 1.11rem;
  }
}

@media screen and (max-width: 1349px) {
  
  .page-link {
    font-size: 0.96em;
  }

  .project-def, .git-link {
    font-size: 1.04rem;
  }
}

@media screen and (max-width: 1271px) {
  
  .page-link {
    font-size: 0.89em;
  }

  .project-def, .git-link {
    font-size: 0.97rem;
  }
}

@media screen and (max-width: 1195px) {
 
  .page-link {
    font-size: 0.82em;
  }
  
  .project-def, .git-link {
    font-size: 0.90rem;
  }
}

@media screen and (max-width: 1117px) {
  
  .page-link {
    font-size: 0.75em;
  }
}

@media screen and (max-width: 1041px) {
 
  .page-link {
    font-size: 0.68em;
  }
}

@media screen and (max-width: 964px) {
 
  .page-link {
    font-size: 0.61em;
  }
}

@media screen and (max-width: 887px) {
  
  .page-link {
    font-size: 0.54em;
  }
}

@media screen and (max-width: 810px) {
 
  .page-link {
    font-size: 0.47em;
  }
}

@media screen and (max-width: 768px) {
 
  #service-mobile {
    padding-top: 25px;
  }
}

@media screen and (max-width: 767.98px) {
  
  .page-link {
    font-size: 1.10em;
  }

  .project-def, .git-link {
    font-size: 1.25rem
  }

  .video-container {
    display: none;
  }

  .mobile_backgroung_image {
    display: block;
  }

  .hero-links-design a {
    background-color: rgb(51 51 51 / 15%);
    color: white;
    margin: 0;
    text-decoration: none;
    display: inline-block;
    border-radius: 1px;
    line-height: 1.75;
    padding: 5px 10px;
    outline: 2px solid rgb(249, 248, 246);
  }

  .hero-links-design a:hover {
    background-color: rgb(51 51 51 / 25%);
    color: white;
    outline: 2px solid rgb(31,78,216);
  }  

  .mobile_home_page {
    color: white;
  }

  .nav-links {
    overflow: hidden;
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    background-color: white;
  }
  
  .hero-overlay-text p {
    font-size: 16px;
  }

  .hero-overlay-text h1 {
    font-size: 32px;
  }

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

@media screen and (max-width: 500px) {
  
  .hero-overlay-text p {
    font-size: 13px;
  }

  .hero-overlay-text h1 {
    font-size: 20px;
  }

  .hero-links a, .hero-links-design a{
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .discription-text {
    display: none;
  }
}

@media (max-width: 400px) {

  .skills-wrapper .col-6 {
    width: 100%;       
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .skills-wrapper .col-6:first-child {
    margin-bottom: 0;
  }

  .skills-wrapper .row {
    flex-direction: column; 
  }

  .skills-wrapper ul {
  margin-bottom: 0;
  }

  .service-paragraph {
    margin-bottom: 16px;
  }
}

@media (max-width: 361px) { 

  .align-items-center {
    padding-top: 16px;
  }  
}

@media (max-width: 340px) { 
 
  .hero-overlay-text p {
    font-size: 10px;
  }

  .hero-overlay-text h1 {
    font-size: 12px;
  }

  .hero-links a, .hero-links-design a{
    font-size: 6px;
  } 
}

@media (max-width: 300px) {
  
  .icon {
    display: none !important;
  }

  .section-title, .autodesk-title {
    font-size: 30px;
  }
}

@media (max-width: 285px) {
 
  .hero-links, .hero-links-design {
    display: none;
  }

  .hero-overlay-text p {
    display: none;
  }
}

@media screen and (max-width: 2030px) {
  
  .desktop-view {
    display: none;
  }

  .tablet-view {
    display: block;
  }
}

@media screen and (max-width: 1250px) {
  
  .mobile-view {
    display: block;
  }

  .tablet-view {
    display: none;
  }
}

/*{
    outline: 1px solid red !important;
}
