/*
* Website: adcwealth.ca
* Author: Jacob
* Date: July, 2025
* Page: main.css
* Purpose: this page will be the design page for index.html

  Version History:

  V1.0 - Initial release of website
*/

/*Body*/
body {
  margin: 0;
  font-family: Arial, sans-serif;
  
}

/*Declaring css variable's*/
:root {

    /*Color variable's*/
    --backgroundgrey: #454B4F;
    --textgrey: #454545;
    --lighttextgrey: #A7A7A7;
    --orange: #DF7040;
    --white: #ffffff;
    --black: #000000;

    /*Font Sizes*/
    --fulltitle: 52px;
    --fullsubtitletext: 45px;
    --fullnavtext: 20px;
    --fullparagraphtext: 25px;

    --mediumsubtitletext: 32px;
}

  
/*----------------BODY-----------------*/


body{
    background-color: var(--white);
    padding: 0%;
    margin: auto;
    overflow-x:hidden;
    height: 100%;
}

.display-contents {display: none;}

.icon {
    display: none;
}

.back-cover{
  width: 100px;
  height: 100px;
  background-color: red;
}

/*fade call for display elements*/  
  @keyframes fade {
    from {opacity: .8} 
    to {opacity: 1}
  }

  /*MOBILE MENU*/ 
  .mobile-menu {
      display: none; /* Hidden by default */
    }

/* NAVBAR -------------------------------------------*/
/* Navbar (Fixed at top) */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar Layout */
.nav-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #003366;
}

/* Logo on left */
.nav-logo {
  position: absolute;
  left: 5%;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

/* Centered links */
.nav-links {
  display: flex;
  gap: 100px;
  justify-content: center;
}

.nav-links a,
.nav-portfolio a {
  text-decoration: none;
  color: lightgray;
  font-weight: lighter;
  font-size: 18px;
  transition: all 300ms ease-in;
}

/* Portfolio access on right */
.nav-portfolio {
  position: absolute;
  right: 5%;
}

.nav-links .active{
    color: white;
    font-weight:900;
    font-size: larger;
}

.nav-links a:hover, .nav-portfolio a:hover{

    color: white;
transition: all 300ms ease-in;
    
}

.menu-items .active{
    color: white;
    font-weight:900;
    font-size: larger;
}
/* END OF NAVBAR -------------------------------------------*/

/*--------------Display----------------*/
.display{
    width: 100%;
    height: fit-content;
    margin-top: 100px;
}

.display-contents img{
    width: 100%;
    height: auto;
}

.display-text-centered {
    position: absolute;
    top: 30%;
    left: 75%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: var(--fulltitle);
    font-weight: bold;
    text-align: center;
}

.hold-button{
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
}
.display-btn{
    padding: 20px 60px;
    border-radius: 50px;
    color: var(--white);
    background-color: #003366;
    text-decoration: none;
    transition: 0.3s;
}

.hold-button a:hover{
    color: white;

    font-weight: bold;
    background-color: #1B65B1;
    transition: 0.3s;
}
/*-----------End Of Display------------*/

/* Services -------------------------------------------*/
.services {
  padding: 40px 20px;
}

.services h2 {
text-align: center;
  font-size: 48px;
  margin-top: 0px;
  color: #003366;
  margin-bottom: 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  max-width: 90%;
  margin: 0 auto;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 300ms ease-in;
}

.service-item:hover {
    border-color: #007BFF;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    transition: all 300ms ease-in;
  }



.service-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
}

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


.service-item p {
  font-size: 32px;
  font-weight: 600;
  color: black;
  line-height: 1.4;
  text-decoration: none;
}

/* END OF Services -------------------------------------------*/

/* expert -------------------------------------------*/
.expert-container {
    width: 100%;
    height: 150px;
    background-color: #003366;
    display: inline-block;
}

.expert-title {
    width: fit-content;
    height: 100%;
    float: left;
    text-align: center;
    margin-left: 10%;
}

.expert-title h1{
    color: var(--white);
    margin-top: 55px;
}

.expert-contact {
    width: 30%;
    margin-right: 110px;
    height: 100%;
    float: right;
    text-align: center;
}

.expert-contact a{
   display: inline-block;
   margin-top: 45px;
   transition: 0.3s;
}

.expert-contact a:hover{
    padding: 20px 60px;
    border-radius: 50px;
    color: #00356B;
    background-color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.contact-btn{
    padding: 20px 60px;
    border-radius: 10px;
    color: var(--black);
    background-color: var(--white);
    text-decoration: none;
}

.contact-btn a:hover{
    padding: 20px 60px;
    border-radius: 50px;
    color: var(--orange);
    background-color: var(--white);
    text-decoration: none;
}
/* end of expert -------------------------------------------*/

/* Wealth -------------------------------------------*/
.wealth-container {
    width: 100%;
    height: fit-content;
    border-bottom-color: #00356B;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    margin-bottom: 50px;
}

.wealth-construction{
    background-color: white;
    width: 80%;
    height: fit-content;
    margin: auto;
    margin-top: 50px;
}

.wealth-construction h1{
   color: #00356B;
   font-size: 38px;
   font-weight: 900;
}

.wealth-construction h2{
   color: #00356B;
   font-size: 24px;
   font-weight: 900;
}

.wealth-construction p{
   color: black;
   line-height: 2.5;
   font-size: 20px;
}

.toolbox {
    width: 100%;
    height: fit-content;
}

.tool-construction{
    background-color: white;
    width: 80%;
    height: fit-content;
    margin: auto;
    margin-top: 50px;
}

.tool-construction h1{
   color: #00356B;
   font-size: 38px;
   font-weight: 900;
   text-align: center;
}

.tool-construction h2{
   color: #00356B;
   font-size: 24px;
   font-weight: 900;
}

.tool-construction p{
   color: black;
   line-height: 2.5;
   font-size: 20px;
}

/* spacer*/
.spacer-toolbox {
    width: 100%;
    height: 300px;
    background-color: white;
}

.spacer-smaller {
    width: 100%;
    height: 70px;
    background-color: white;
}

/* FOOTER */
 footer {
      border-top: 5px solid #00356B;
      background-color: #ffffff;
      padding: 30px 20px 10px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top img {
      max-height: 80px;
    }

    .footer-logo-left {
      flex: 1;
      text-align: left;
    }

    .footer-logo-center {
      flex: 1;
      text-align: center;
    }

    .footer-button-right {
      flex: 1;
      text-align: right;
    }

    .back-to-top {
      background-color: #003366;
      color: #fff;
      padding: 10px 25px;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .back-to-top:hover {
      background-color: #0055aa;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      font-size: 14px;
      color: #003366;
    }
    
    .footer-legal p{
        
           font-size: 12px;
        color: #114862;
        line-height: 1.5rem;
        text-align: left;
      
    }


  @media (max-width: 1100px) {

     .nav-links, .nav-portfolio {
    display: none;
  }

  .display{
    width: 100%;
    height: 10px;
    margin-top: 100px;
}

  .navbar {
    width: 100%;
    margin: auto;
    max-width: 100vw;
  }

   .nav-logo img {
  height: 35px;
  width: auto;
}

  .nav-links, .nav-portfolio {
    display: none;
  }
      .mobile-menu {
        display: block;
        position:relative;
        padding: 10px;
        background-color: #003366;
        margin-top: -15px;
      }

      /* Hamburger container */
      .hamburger {
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        margin-left: 90%;
        margin-top: -60px;
      }

      /* Bars of the hamburger */
      .hamburger span {
        display: block;
        height: 4px;
        width: 100%;
        background-color: white;
        margin: 4px 0;
        transition: all 0.3s ease;
      }

      /* Active animation */
      .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }

      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }

      .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

      .menu-items {
        display: none;
        flex-direction: column;
        background-color: #00356B;
        padding: 10px;
        margin-top: 50px;
        border: 1px solid #00356B;
        border-radius: 4px;
      }

      .menu-items a {
        padding: 10px 0;
        text-decoration: none;
        color: white;
      }

      .menu-items a:hover {
        background-color: #00356B;
      }
      .menu-items.show {
        display: flex;
      }

      .display {
        width: 100%;
        height: fit-content;
        text-align: center;
      }

      .display{
        margin-top: 105px;

      }

      .display img{
        height: auto;
      }

      .display-text-centered {
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
}

.display-text-centered{
  font-size: 48px;
}

.display-contents{
  text-align: center;
  flex-direction: column;
  margin: auto;
}
.hold-button{
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(-0%, -0%);
    margin: auto;
    height: fit-content;
    width: 100%;
    margin-top: 370px;
    text-align: center;
}

.display-btn{
    padding: 10px 20px;
  
    border-radius: 50px;
    color: var(--white);
    background-color: #00356B;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.services h2{
  font-size: 38px;
 margin-top: 50px;
}


      .services {
        width: 100%;
        padding: 0%;
      }

      .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
  max-width: 90%;
  margin: 0 auto;
  margin-top: -50px;
}

.service-item{
      text-align: center;
}

.service-item img {
  width: 50px;
  height: auto;
  margin-bottom: 12px;
}

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


.service-item p {
  font-size: 24px;
  font-weight: 600;
  color: black;
  line-height: 1.4;
  text-decoration: none;
}

.expert-container{
  width: 100%;
  height: fit-content;
  text-align: center;
}

.expert-title {
    width: fit-content;
    height: 100%;
    text-align: center;
    float: none;
    margin: auto;
}

.expert-title h1{
  font-size: 24px;
}

.expert-contact {
  width: 100%;
  margin: auto;
  margin-top: -45px;
  padding-bottom: 20px;
}

.wealth-container {
  margin-top: -70px;
}

.wealth-construction h1 {
  
font-size: 38px;
}

.wealth-construction p {
  
font-size: 24px;
}

.tool-construction h1{
  font-size: 38px;
}

.tool-construction h2{
  font-size: 28px;
}

.wealth-construction h2 {
  
font-size: 32px;
}

.tool-construction p{
  font-size: 24px;
}

.spacer-toolbox{
  height: 150px;
}


      .footer-logo-left img{
        height: auto;
        width: 150px;
      }

       .footer-logo-center img{
        height: auto;
        width: 50px;
      }
      

    }
  

@media (max-width: 500px) {

   body, html {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}
  .nav-links, .nav-portfolio {
    display: none;
  }

  .navbar {
    width: 100%;
    margin: auto;
    max-width: 100vw;
  }

   .nav-logo img {
  height: 35px;
  width: auto;
}

.contact-header h1{
  font-size: 32px;
}

  .nav-links, .nav-portfolio {
    display: none;
  }
      .mobile-menu {
        display: block;
        position:relative;
        padding: 10px;
        background-color: #003366;
        margin-top: -15px;
      }

      /* Hamburger container */
      .hamburger {
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        margin-left: 80%;
        margin-top: -60px;
      }

      /* Bars of the hamburger */
      .hamburger span {
        display: block;
        height: 4px;
        width: 100%;
        background-color: white;
        margin: 4px 0;
        transition: all 0.3s ease;
      }

      /* Active animation */
      .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }

      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }

      .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

      .menu-items {
        display: none;
        flex-direction: column;
        background-color: #00356B;
        padding: 10px;
        margin-top: 50px;
        border: 1px solid #00356B;
        border-radius: 4px;
      }

      .menu-items a {
        padding: 10px 0;
        text-decoration: none;
        color: white;
      }

      .menu-items a:hover {
        background-color: #00356B;
      }
      .menu-items.show {
        display: flex;
      }

      .display {
        width: 100%;
        height: fit-content;
        text-align: center;
      }

      .display{
        margin-top: 105px;
      }

      .display img{
        height: auto;
      }

      .display-text-centered {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 32px;
    font-weight: bold;
}

.display-text-centered h1{
  font-size: 28px;
}

.display-contents{
  text-align: center;
  flex-direction: column;
  margin: auto;
}
.hold-button{
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(-0%, -0%);
    margin: auto;
    height: fit-content;
    width: 100%;
    margin-top: 250px;
    text-align: center;
}

.display-btn{
    padding: 10px 20px;
  
    border-radius: 50px;
    color: var(--white);
    background-color: #00356B;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.services h2{
  font-size: 38px;
}


      .services {
        width: 100%;
        padding: 0%;
      }

      .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
  max-width: 90%;
  margin: 0 auto;
  margin-top: -50px;
}

.service-item{
      text-align: center;
}

.service-item img {
  width: 50px;
  height: auto;
  margin-bottom: 12px;
}

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


.service-item p {
  font-size: 18px;
  font-weight: 600;
  color: black;
  line-height: 1.4;
  text-decoration: none;
}

.expert-container{
  width: 100%;
  height: fit-content;
  text-align: center;
}

.expert-title {
    width: fit-content;
    height: 100%;
    text-align: center;
    float: none;
    margin: auto;
}

.expert-title h1{
  font-size: 24px;
}

.expert-contact {
  width: 100%;
  margin: auto;
  margin-top: -45px;
  padding-bottom: 20px;
}

.wealth-container {
  margin-top: -70px;
}

.wealth-construction h1 {
  
font-size: 38px;
}

.wealth-construction p {
  
font-size: 16px;
}

.tool-construction h1{
  font-size: 38px;
}

.tool-construction h2{
  font-size: 18px;
}

.wealth-construction h2 {
  
font-size: 18px;
}

.tool-construction p{
  font-size: 16px;
}

.spacer-toolbox{
  height: 150px;
}


      .footer-logo-left img{
        height: auto;
        width: 150px;
      }

       .footer-logo-center img{
        height: auto;
        width: 50px;
      }

    }

    

    