@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=Black+Han+Sans&display=swap');

html {
	scroll-behavior: smooth;
}

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

body {
    background-color: #18171a;
    cursor: url('images/cursor.svg') 10 10, pointer;
}

.look-around-button-right:hover,
a:hover,
button:hover,
[role="button"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover  {
  cursor: url('images/click.svg') 8 8, pointer;
}

h1 {
    font-size: 70px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    font-weight: bold;
    color: #dedce1; /* Text color */
}

@media (max-width: 1024px) {
    h1 {
        font-size: 50px;
    }
    
}

h2 {
    font-size: 40px;
    margin-bottom: 10px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: #0060e2; 
    line-height: 0.7; 
}

p {
    font-size: 23px;
    margin-top: 0px;
    font-family: "Afacad", sans-serif;
    color: #777777;
}

.background-container {
    width: 100%;
    background-size: cover;
    background-position: right top;
    position: relative;
    background-color: #18171a;
}

.maincontainer {
    margin-left: 20%;
    margin-right:20%;
    position: relative; /* Keep it on top of the background */
}


nav {
    position: sticky;
    top: 15px;
    opacity: 100%;
    padding: 10px;
    border-radius: 10px;
    margin-left: 0%;
    margin-right: 0%;
    background-color: rgba(0, 0, 0, 0.534); 
    backdrop-filter: blur(5px); 
    z-index: 1;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.534); 
    backdrop-filter: blur(5px); 
}

.contactbutton {
    border-style: solid;
    border-color: #222324;
    background-color: #222324;
    border-radius: 10px;
    padding: 10px;
}
.contactbutton:hover {
    border-style: solid;
    border-color: #0060e2;
    border-radius: 10px;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding-left: 30px;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block; /* Arrange list items in a row */
    margin-right: 45px; /* Space between items */
}

nav ul li a {
    color: rgb(255, 255, 255); /* Text color */
    text-decoration: none; 
    font-family: "Afacad", sans-serif;
    font-size: 23px;
    padding: 10px;
}

nav ul li a:hover{
    color: #0060e2;
    text-decoration: none; 
    font-family: "Afacad", sans-serif;
    padding: 10px;
}

nav ul li a span {
    color: #ffffff;
    text-decoration: none; 
    font-family: "Afacad", sans-serif;
    padding: 10px;
}

.nav-link.active {
  color: #0060e2;
}

header {
    display: flex;
    gap: 50px;
}

.logo-container {
    flex: 1;
    margin-top: 100px;
    padding:50px;
    border-radius: 10px;
    background-color: #222324;
}

.image-container-right {
    flex: 1;
    margin-top: 100px;
    margin-bottom: 100px;
    padding:50px;
    border-radius: 10px;
    background-color: #EEEEEE;
}

.image-container-right img {
    height: 400px;
    width: auto;
} 
@media (max-width: 1024px) {
    .image-container-right img {
        width: 100%;
        height: auto;
    }
}

.image-container-right p {
    font-size: 23px;
    margin-top: 0px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: #171616;
    padding-bottom: 20px;
} 

.h2-title h2 {
    font-size: 26px;
    margin-bottom: 25px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: #0060e2; 
    line-height: 0.5; 
}

.experience-block h2 {
    font-size: 40px;
    margin-bottom: 10px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: #f3f6fb; 
    line-height: 0.7; 
}


.logo-container p {
    font-size: 23px;
    margin-top: 0px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: #EEEEEE;
}

.big-my-work {
    display: flex;
    flex-direction: column;
}

.button-container { /* container holding button */
    width: 100%;
    margin-top: 100px;
    flex: 1;            /* makes them equal width */
    margin-top: 50px;
    padding:50px;
    border-radius: 10px;
    background-color: #222324;
}

.button-container a { /* text styling button */
    font-family: "Afacad", sans-serif;
    font-size: 23px;
    color: white;
    text-decoration: none;
}

.button-container-right a { /* text styling button */
    font-family: "Afacad", sans-serif;
    font-size: 23px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.button-container p {
    padding-bottom: 20px;
     font-family: "Afacad", sans-serif;
    font-size: 23px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.look-around-button {
    border-radius: 10px;
    text-decoration: underline;
    color: white;
    /*
    float: left;
    padding: 15px 25px;
    background: linear-gradient(47deg,rgb(112, 119, 243) 19%, rgb(147, 102, 154) 65%, rgba(143, 72, 81, 1) 84%, rgba(148, 61, 63, 1) 95%, rgba(150, 56, 56, 1) 100%);    border: none;
    margin-right: 10%;*/
}

.look-around-button-right {
     border-radius: 10px;
    padding: 15px 25px;
    background: #0060e2;
    display: inline-flex;
    align-items: center;          
    gap: 10px;    
    margin: 5px; 
}
.look-around-button-right:hover {
    background: #02439f;
}

.look-around-button-right svg {
  display: block;
  margin: 0 auto;
}

.look-around-button a {
    font-family: "Afacad", sans-serif;
    font-size: 23px;
}

/* Collums with my work */
.three-columns {
    display: flex;
    width: 100%;
    height: 40vh; /* Full viewport height */
    gap: 10px; /* Spacing between columns */
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;  
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.column-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "Afacad", sans-serif;
    font-size: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.image-wrapper:hover .column-text {
    opacity: 1;
}

/* bottom text collums */
.column-bottom-text a {
    margin-top: 10px;
    font-family: "Afacad", sans-serif;
    font-size: 20px;
    color: #2A282E;
    text-decoration-line: underline;
}

.bottom-text-hover:hover {
    margin-top: 10px;
    font-family: "Afacad", sans-serif;
    font-size: 20px;
    color: red;
    text-decoration-line: underline;
}

.bottom-text-hover svg {  
    display: inline-flex;      /* lays out text and svg side by side */
    align-items: center;       /* centers them vertically */
    gap: 6px;                  /* spacing between text and arrow */
    cursor: pointer;
    transition: transform 0.25s ease;
    cursor: click;
}

.bottom-text-hover:hover svg {
    transform: translateX(4px);
}

/*header in about*/
.header-about {
    display: flex;
    margin-top: 100px;
    margin-bottom: 50px;
    background-color: #222324;
    border-radius: 10px;
}

.meet-container {
    flex: 1;  
    padding: 50px;
}   

.meet-container p {
    font-size: 23px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: white;
}

.meet-right img {
    width: 500px; /* me size */
    height: auto;
    padding: 50px;
}

/*skills education experience in about */

.me-container {
    display: flex;
    gap: 50px;
}

.left-container {
    flex-direction: column;
}

.experience-block {          
    background-color: #0060e2;
    padding: 50px;
    font-size: 23px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: white;
    margin-bottom: 50px;
}
.personal-block {        
    font-size: 23px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: white;
}

.personal-block span {        
    border-radius: 10px;
    border-style: solid;
    border-color: #222324;
    padding: 10px 10px;
    margin: 5px;
 
    float: left;
}

.text-space {
    display: flex;
    flex-direction: column; /* stack boxes vertically */             
    width: 45%;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: white;
    font-size: 23px;
}

.skillstext {
    padding: 50px;
    border-radius: 10px;
    background-color: #222324;
    margin-bottom: 50px;
}

.skillstext span {
    color:#777777;
}

.text-space h1 {
    display: inline;
    font-size: 40px;
    margin-top: 20px;
    text-align: left;
    font-family: "Afacad", sans-serif;
    color: #2A282E;
}

/* MY WORK Grid container */
.grid-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      justify-content: center;
      align-items: center;
    }

.arc-container {
    margin-top: 100px;
}


.grid-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100%;
      overflow: hidden;
      transition: opacity 0.6s ease;
    }

    .grid-item.hidden {
      opacity: 0;
    }

    .grid-item img:hover {
      transform: scale(1.02);
    }

    .wide-image {
      grid-column: span 3;
    }

    .wide-imagetwo {
        grid-column: span 2;
    }

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul.nav-menu {
    list-style: none;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0;
    text-align: center;
}

.footer {
    padding: 50px;
}

.contact-link {
    font-family: "Afacad", sans-serif;
    font-size: 23px;
    color: white;
    text-decoration: underline;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* TABLET (iPad) - 769px to 1024px */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
        
    nav {
        position:static ;
    }


    nav ul.nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #0b0b0c;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0 0 10px 10px;
    }

    nav ul.nav-menu.active {
        max-height: 400px;
    }

    nav ul.nav-menu li {
        margin: 15px 0;
        display: block;
    }

    nav {
        display: flex;
        align-items: center;
    }

    .maincontainer {
        padding: 20px;
    }

    header {
        gap: clamp(1rem, 4vw, 40px);
    }

    .logo-container,
    .image-container-right,
    .button-container {
        padding: 20px;
        margin-top: 20px;
    }

    .header-about {
        margin-top: 20px;
    }

    .image-container-right img {
        max-width: 300px;
    }

    nav ul {
        gap: 30px;
    }

    .three-columns {
        gap: 8px;
    }

    .column {
        min-width: 200px;
    }

    .image-wrapper {
        height: 250px;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        margin-top: 20px;
    }

    .arc-container {
        margin-top: 0px;
    }

    .meet-right img {
        max-width: 350px;
    }

    .me-container {
        flex-direction: column;
        gap: clamp(1rem, 4vw, 35px);
    }

    .maincontainer {
        margin-left: 5%;
        margin-right: 5%;
    }

    .text-space {
        width: 100%;
    }


}

/* MOBILE (Phone) - max 768px */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

     nav {
        position:static ;
    }

    .left-container {
        margin-top: 20px;
    }


    nav ul.nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #0b0b0c;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0 0 10px 10px;
    }

    nav ul.nav-menu.active {
        max-height: 400px;
    }

    nav ul.nav-menu li {
        margin: 15px 0;
    }

    nav {
        display: flex;
        align-items: center;
    }

    .maincontainer {
        padding: 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        padding: 5px 8px;
    }

    header {
        gap: 20px;
        flex-direction: column;
    }

    .logo-container,
    .image-container-right {
        padding: 20px;
        margin-top: 0px;
    }

    .button-container {
        margin-top: 20px;
    }

    .image-container-right {
        flex-direction: column;
    }

    .image-container-right img {
        max-width: 250px;
    }

    .three-columns {
        flex-direction: column;
        gap: 10px;
    }

    .column {
        min-width: 100%;
        flex: 1;
    }

    .image-wrapper {
        height: 200px;
    }

    .header-about {
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .meet-container,
    .meet-right, .experience-block, .skillstext {
        padding: 20px;
        margin-bottom: 20px;
    }

    .meet-right img {
        max-width: 260px;
        padding: 0px;
    }

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

      .arc-container {
        margin-top: 0px;
    }

    .wide-image {
        grid-column: span 1;
    }

    .wide-imagetwo {
        grid-column: span 1;
    }

    .me-container {
        flex-direction: column;
        gap: clamp(1rem, 3vw, 25px);
    }

    .text-space {
        width: 100%;
    }

    .look-around-button-right {
        padding: clamp(0.5rem, 1.5vw, 12px) clamp(0.75rem, 2vw, 15px);
        font-size: clamp(0.8rem, 1.8vw, 18px);
    }

    .look-around-button-right svg {
        width: 20px;
        height: 20px;
    }
}