/*--- Fonts ---*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*-- CSS --*/

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   text-decoration: none;
   list-style: none;
   scroll-behavior: smooth;
}

:root {
   --color-black1: #595959;
   --color-white2: #c9b053;
   --color-white: white;
   --shadow-color: #c0c0c0;

   --transition: .4s ease;
}

body {
   font-family: "Poppins", sans-serif;
   color: var(--color-white);
   background-color: #FEF8ED;
}

b {
   color: #000;
}

h1,h2,h3,h4,h5 {
   color: var(--color-black1);
}

h1 {
   font-size: 60px;
}

h2 {
   font-size: 55px;
}

h3 {
   font-size: 32px;
}

h4 {
   font-size: 24px;
}

h5 {
   font-size: 20px;
}

p {
   font-size: 19px;
}

a {
   font-size: 19px;
   color: var(--color-black1);
}

.btn {
   display: inline-block;
   width: fit-content;
   text-align: center;
   padding: 10px 40px;
   background: var(--color-black1);
   color: var(--color-white);
   cursor: pointer;
   transition: var(--transition);
   border-radius: 10px;
   background: #c9b053;
   box-shadow: 4px 4px 0px var(--color-black1);
}

.btn:hover {
   opacity: 0.8;
   transform: scale(1.07);
   border-radius: 50px;
   background: #c7ae52;
   box-shadow: 4px 4px 0px var(--color-black1);
}

img {
   width: 100%;
   display: block;
   object-fit: cover;
}

section {
   padding: 80px 0;
   opacity: 0;
   transform: translateY(100px);
   transition: opacity 1s ease, transform 3s ease;
}

section.visible {
   opacity: 1;
   transform: translateY(0);
}

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

/*-- NAV --*/

nav {
   height: 5rem;
   width: 100%;
   display: flex;
   align-items: center;
   top: 0;
   left: 0;
   position: fixed;
   z-index: 10;
   background: #00000100;
   backdrop-filter: blur(15px);
}

.nav-container {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.logo img {
   max-width: 52px;
}

.navlinks {
   display: flex;
   align-items: center;
   gap: 48px;
   text-transform: uppercase;
}

.navlinks li a {
   border-bottom: 3px solid transparent;
   padding-bottom: 2px;
   transition: var(--transition);
}

.navlinks li a:hover {
   border-color: var(--color-white2);
   color: var(--color-white2);
}

/*-- Header --*/

header {
   height: 100vh;
   display: grid;
   align-items: center;
}

.header-container {
   display: grid;
   grid-template-columns: 45% 55%;
   gap: 80px;
   align-items: center;
}

.header-container .header-right img {
   animation: animate 5s ease-in-out infinite;
   transition: all 1 ease-in-out;
   filter: grayscale(35%);
   -webkit-filter: grayscale(35%);
   width: 100%;
}

.header-container p {
   margin-bottom: 30px;
   font-size: 20px;
   color: #595959;
}

/*-- About --*/

#About {
  padding: 50px 0;
  position: relative;
  background-color: #fff;
  color: white;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  align-items: center;
  position: relative;
}

.about-left img {
  width: 100%;
  filter: grayscale(40%);
}

.about-right h2 {
  margin-bottom: 10px;
}

.about-right p {
  margin-bottom: 1rem;
  color: #595959;
}

.decor-arrow {
  position: absolute;
  bottom: -20px; 
  left: 0;    
  width: 100%; 
  height: 50px;  
  pointer-events: none;
}

/*-- Services --*/

.services-container h2 {
   text-align: center;
}

.myservices {
   margin-top: 90px;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   color: #595959;
}

.myservices article {
   text-align: center;
   display: flex;
   flex-direction: column;
   background-color: #d9cca5;
   border-color: #000;
   gap: 30px;
   padding: 40px 20px;
   border-radius: 10px;
   transition: var(--transition);
}

.myservices article:hover {
   box-shadow: 6px 6px 1px #595959;
}

.myservices article i {
   color: #595959;
   font-size: 4rem;
   margin: auto;
   animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
   0% {
       transform: translateY(0);
   }
   50% {
       transform: translateY(-15px);
   }
   100% {
       transform: translateY(0);
   }
}

/*-- References --*/




/*-- Contact --*/

#Contact {
  background-color: ;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'><path d='M0 20 Q 15 0 30 20 T 60 20' fill='none' stroke='rgba(0,5,5,0.1)' stroke-width='1'/></svg>");
  background-repeat: repeat;
  background-size: 60px 40px;
}

.contact-form {
   text-align: center;
}

form { max-width:420px; margin:50px auto; }

.feedback-input {
   display: flex;
   color:rgb(59, 58, 58);
   font-family: Helvetica, Arial, sans-serif;
   font-weight:500;
   font-size: 18px;
   border-radius: 5px;
   line-height: 22px;
   background-color: #fff;
   border:2px solid #d9cca5;
   border-radius: 20px 20px 20px;
   transition: all 0.3s;
   padding: 13px;
   margin-bottom: 15px;
   width:100%;
   box-sizing: border-box;
   outline:0;
 }
 
 .feedback-input:focus { opacity: 0.8; }
 
 textarea {
   height: 150px;
   line-height: 150%;
   resize:vertical;
 }
 
 [type="submit"] {
   width: 100%;
   background: #c9b053;
   box-shadow: 4px 4px 0px var(--color-black1);
   border-radius: 50px;
   border:0;
   cursor:pointer;
   color:white;
   font-size:24px;
   padding-top:10px;
   padding-bottom:10px;
   transition: all 0.3s;
   margin-top:-4px;
   font-weight:700;
 }
 [type="submit"]:hover { 
   opacity:0.8;
   transform: scale(1.02);
   border-radius: 5px;
   background: #c7ae52;
   box-shadow: 4px 4px 0px var(--color-black1); }

/*-- Footer --*/

.footer{
   padding-top: 50px;
   padding-bottom: 50px;
   text-align:center;
   background-color: #626262;
   }
   
   .footer .row{
   width:100%;
   margin:1% 0%;
   padding:0.1% 0%;
   color:#a8a8a8;
   font-size:0.8em;
   }
   
   .footer .row a{
   text-decoration:none;
   color:#a8a8a8;
   transition:0.5s;
   }
   
   .footer .row a:hover{
   color:#fff;
   }
   
   .footer .row a i{
   font-size:2em;
   margin:0% 0.5%;
   }

   .menu {
      display: none;
   }
   
   @media (max-width:700px){
   .footer{
   text-align:center;
   padding-bottom: 50px;
   }

   .footer .row a i{
   margin:0% 3%;
   }
   }

/*-- Responsive --*/

@media (max-width:1200px) {

   h1 {
      font-size: 50px;
   }

   h2 {
      font-size: 40px;
   }

   h3 {
      font-size: 28px;
   }

   h4 {
      font-size: 24px;
   }

   h5 {
      font-size: 18px;
   }

   .menu {
    display: flex;
    background: #00000017;
    backdrop-filter: blur(15px);
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%);
    padding: .8rem 1.8rem;
    border-radius: 20px;
    width: fit-content;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: opacity 0.3s ease;
   }

   .menu.hidden {
      opacity: 0;
      pointer-events: none;
  }

   .menu a {
      font-size: 20px;
      background: var(--shadow-color);
      border-radius: 50%;
      display: flex;
      padding: .8rem;
      transition: var(--transition);
   }

   .menu a:hover {
      background: var(--color-black1);
      color: var(--color-white);
   }

   .navlinks {
      display: none;
   }

   .logo {
      margin: auto;
   }

   header {
      height: auto;
      padding-top: 200px;
   }

   #About {
      padding-top: 150px !important;
      text-align: center;
   }

   .about-container {
      gap: 100px;
   }

   .myservices {
      grid-template-columns: 1fr 1fr;
   }
   
}

@media (max-width: 700px) {

   h1 {
      font-size: 46px;
   }

   h2 {
      font-size: 38px;
   }

   p {
      font-size: 18px;
   }

   body {
      font-size: 18px;
   }

   nav {
      height: 4.4rem;
      background: #00000017;
      backdrop-filter: blur(15px);
   }

   header {
      padding-top: 140px;
      padding-bottom: 175px;
   }

   .header-container {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   .header-right {
      grid-row: 1;
      width: 80%;
      margin: auto;
   }

   .header-left {
      text-align: center;
   }

   .about-container {
      grid-template-columns: 1fr;
      gap: 40px;
   }

   .about-left {
      width: 70%;
      margin: auto;
   }

   .myservices, .myskills {
      grid-template-columns: 1fr;
      margin-top: 40px;
   }
}

@media (max-width: 768px) {
   form {
       max-width: 100%;
       margin: 20px;
   }

   .feedback-input {
       font-size: 16px;
       padding: 10px;
   }

   [type="submit"] {
       font-size: 20px;
       padding-top: 8px;
       padding-bottom: 8px;
   }
}

@media (max-width: 480px) {
   .feedback-input {
       font-size: 14px;
       padding: 8px;
   }

   [type="submit"] {
       font-size: 18px;
       padding-top: 6px;
       padding-bottom: 6px;
   }
}

/*---- Scrollbar ---*/

::-webkit-scrollbar {
   width: 10px;
}

::-webkit-scrollbar-track {
   background: #FEF8ED;
}

::-webkit-scrollbar-thumb {
   background: #d9cca5;
}

/*---- Fade -----*/

p, li, h2, img, .myservices {
   animation: fade linear both;
   animation-timeline: view();
   animation-range: entry 30% cover 30%;
}

@keyframes fade {
   from {
      opacity: 0;
   }
   to {
      opacity: 1;
   }
}

/*---- Loading -----*/

#loading {
   position: fixed;
   width: 100%;
   height: 100%;
   background: #FEF8ED;
   color: #d9cca5;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 2em;
   z-index: 1000;
   transition: .3s;
   transition: opacity 0.5s ease-out;
   animation: colorChange 0.7s infinite;
}

#loading .dots {
   display: inline-block;
   margin-left: 0.1em;
}

#loading .dot {
   display: inline-block;
   width: 0.2em;
   height: 0.2em;
   background-color: #d9cca5;
   border-radius: 50%;
   margin: 0 0.1em;
   opacity: 0;
   animation: dotAnimation 1s infinite;
}

#loading .dot:nth-child(1) {
   animation-delay: 0s;
}

#loading .dot:nth-child(2) {
   animation-delay: 0.2s;
}

#loading .dot:nth-child(3) {
   animation-delay: 0.4s;
}

@keyframes dotAnimation {
   0%, 20% { opacity: 0; }
   50% { opacity: 1; }
   100% { opacity: 0; }
}

/*---- Bubbles -----*/
