@charset "UTF-8";
/* CSS Document */

@import url("https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Dela+Gothic+One&family=Poppins:wght@400;500;600;700;800;900&display=swap");

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

html.has-scroll-smooth {
  overflow: hidden;
  position: fixed;
  inset: 0;
}

body {
  background: #a1c8cd;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}

main {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* Make images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Allow nav to wrap on smaller widths */
nav {
  flex-wrap: wrap;
}

/* Prevent horizontal overflow on very small screens */
html, body {
  overflow-x: hidden;
}

nav {
  margin: 20px 100px;
  width: calc(100% - 200px);
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

nav .logo {
  margin-right: auto;
  font-family: "Dela Gothic One", sans-serif;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.8);
}

.container {
  margin: 0 100px;
  width: calc(100% - 200px);
  position: relative;
}

section {
  height: 130vh;
  position: relative;
  margin-top: 40px;
}

.mask {
  visibility: hidden;
  position: relative;
  overflow: hidden;
}

.profile {
  width: 40vw;
  height: 100%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text {
  top: 10%;
  position: absolute;
  z-index: 10;
  font-family: "Dela Gothic One", sans-serif;
}

.text h2 {
  font-size: 100px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.text p {
  font-size: 40px;
  line-height: 1.1;
  margin-left: 60px;
}

.about {
  position: absolute;
  bottom: -5%;
  width: 40%;
  left: 20%;
  font-size: 20px;
}

.about p {
  line-height: 1.8;
  color: #fff;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.projects {
  margin-top: 400px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.heading {
  position: absolute;
  top: -200px;
  right: 0;
}

.heading h3 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: lighter;
  font-size: 40px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.heading .bar {
  display: inline-block;
  width: 100px;
  height: 2px;
  background: #fff;
  margin-right: 20px;
}

.project {
  width: 40vw;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project:nth-child(odd) {
  margin-left: auto;
}

.contact {
  margin-top: 200px;
  display: flex;
  align-items: center;
}

.contact p {
  width: 40%;
  margin-right: auto;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.8;
}

.contact a {
  font-size: 30px;
  font-family: "Dela Gothic One", sans-serif;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.contact a i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
}

.contact a::before {
  content: "";
  width: 80%;
  height: 20px;
  background: #c394a0;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

footer {
  width: 100vw;
  margin-top: 100px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 20px 100px;
}

.heading-footer span {
  font-size: 14px;
  font-weight: bold;
}

.heading-footer p {
  font-size: 16px;
  opacity: 0.7;
}

.footer {
  width: 100%;
  margin-top: 30px;
  display: flex;
  gap: 70px;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: lighter;
  font-size: 20px;
}

.footer a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
}

.footer p:last-child {
  text-align: center;
}

/* =========================
   MOBILE (<= 480px)
   ========================= */
@media (max-width: 480px) {

  nav {
    margin: 16px 20px;
    width: calc(100% - 40px);
    gap: 12px;
  }

  nav a {
    font-size: 12px;
  }

  nav .logo {
    font-size: 18px;
    width: 100%;
    margin-bottom: 6px; /* forces logo on its own line if needed */
  }

  .container {
    margin: 0 20px;
    width: calc(100% - 40px);
  }

  section {
    height: auto;           /* avoid overly tall sections on mobile */
    margin-top: 20px;
    padding-bottom: 20px;   /* ensure spacing for about text */
  }

  .text {
    position: relative;
    top: 0;
    margin-bottom: 16px;
  }

  .text h2 {
    font-size: 38px;        /* scale down */
    line-height: 1.1;
  }

  .text p {
    font-size: 18px;
    margin-left: 0;
  }

  .profile {
    position: relative;
    width: 100%;
    height: auto;
    right: auto;
    top: auto;
    transform: none;        /* stack under text */
    margin-top: 12px;
  }

  .mask {
    visibility: visible;    /* GSAP will still animate; ensure it's visible */
  }

  .about {
    position: relative;
    width: 100%;
    left: 0;
    bottom: auto;
    margin-top: 16px;
    font-size: 16px;
  }

  .projects {
    margin-top: 40px;
    gap: 16px;              /* add spacing between items */
  }

  .heading {
    position: relative;
    top: 0;
    right: auto;
    margin-bottom: 10px;
  }

  .heading h3 {
    font-size: 22px;
    justify-content: flex-start;
  }

  .heading .bar {
    width: 60px;
    margin-right: 12px;
  }

  .project {
    width: 100%;            /* full-width images on mobile */
  }

  .contact {
    margin-top: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact p {
    width: 100%;
    font-size: 18px;
    line-height: 1.6;
  }

  .contact a {
    font-size: 20px;
  }

  .contact a i {
    font-size: 28px;
  }

  .contact a::before {
    width: 70%;
    height: 14px;
  }

  footer {
    padding: 16px 20px;
    margin-top: 40px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    font-size: 18px;
  }
}

/* =========================
   PHABLET / SMALL TABLET (481px–768px)
   ========================= */
@media (min-width: 481px) and (max-width: 768px) {

  nav {
    margin: 16px 20px;
    width: calc(100% - 40px);
    flex-wrap: wrap;
  }

  .container {
    margin: 0 20px;
    width: calc(100% - 40px);
  }

  section {
    height: auto;
    margin-top: 28px;
	padding-bottom: 28px;
  }
	
.text {
    position: relative;
    top: auto;
    z-index: 1;        
    margin-bottom: 16px;
  }


  .text h2 {
    font-size: 56px;
  }

  .text p {
    font-size: 22px;
    margin-left: 10px;
  }

  .profile {
    width: 100%;
    position: relative;
	height: auto;
	right: auto;
	top: auto;
    transform: none;
    margin-top: 12px;
  }

mask {
    visibility: visible; /* avoid flicker before GSAP runs */
  }
 .profile img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }


  .about {
    position: relative;
	bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 16px;
    font-size: 16px;
  }
	
	.heading {
	position: relative;
    top: auto;
    right: auto;
    margin: 24px 0 8px;
	}

  .projects {
    margin-top: 56px;
    gap: 16px;
  }

  .heading h3 {
    font-size: 26px;
	justify-content: flex-start;
  }

.heading .bar {
		width: 64px;
		height: 2px;
		margin-right: 12px;
	}

  .project {
    width: 100%;
  }

  .contact p {
    width: 100%;
    font-size: 22px;
  }

  .contact a {
    font-size: 24px;
  }

  footer {
    padding: 18px 40px;
    margin-top: 60px;
  }

  .footer {
    gap: 30px;
    font-size: 18px;
  }
}

/* =========================
   TABLET (769px–1024px)
   ========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  nav {
    margin: 20px 60px;
    width: calc(100% - 120px);
  }

  .container {
    margin: 0 60px;
    width: calc(100% - 120px);
  }

  section {
    height: auto;
	margin-top: 34px;
	padding-bottom: 28px;
  }

  .text {
   	top: 6%;
	z-index: 2;
  }

  .text h2 {
    font-size: 72px;
  }

  .text p {
    font-size: 28px;
    margin-left: 24px;
  }

  .profile {
	width: 100%;          /* or 50–60vw if you prefer split layout */
    position: relative;
    transform: none;
	height: auto;
    margin-top: 14px;
  }

  .about {
	position: relative;
    bottom: auto;
    left: auto;
    width: 90%;
    margin-top: 18px;
	font-size: 18px;
  }

  .projects {
    margin-top: 72px;
	gap: 18px;
  }

  .heading {
    top: auto;
	position: relative;
	right: auto;
	margin: 28px 0 10px;
  }

  .heading h3 {
    font-size: 30px;
	justify-content: flex-start;
  }

	.heading .bar {
    width: 80px;
    height: 2px;
    margin-right: 14px;
  }


  .project {
    width: 100%;            /* bigger images on tablet */
  }

  .contact {
    margin-top: 120px;
  }

  .contact p {
    width: 60%;
    font-size: 26px;
  }

  .contact a {
    font-size: 28px;
  }

  footer {
    padding: 20px 60px;
  }

  .footer {
    gap: 40px;
    font-size: 18px;
  }
}

/* =========================
   LAPTOP (1025px–1440px)
   ========================= */
@media (min-width: 1025px) and (max-width: 1440px) {

  nav {
    margin: 20px 80px;
    width: calc(100% - 160px);
  }

  .container {
    margin: 0 80px;
    width: calc(100% - 160px);
  }

  section {
    height: 120-130vh;
  }

  .text {
	position: absolute;
    top: 8%;
  }

  .text h2 {
    font-size: 92px;
  }

  .text p {
    font-size: 36px;
    margin-left: 40px;
  }

  .profile {
	position: absolute; 
	right: 0;
	top: 50%; 
	transform: translateY(-50%);
	width: 42vw;
  }

  .about {
    bottom: -4%;
    width: 45%;
    left: 18%;
    font-size: 20px;
	position: absolute;
  }

  .projects {
    margin-top: 320px;
  }

  .heading {
    top: -180px;
  }

  .heading h3 {
    font-size: 36px;
  }

  .project {
    width: 46vw;
  }

  .contact {
    margin-top: 160px;
  }

  .contact p {
    width: 48%;
    font-size: 28px;
  }

  .contact a {
    font-size: 30px;
  }

  footer {
    padding: 20px 80px;
  }

  .footer {
    gap: 60px;
    font-size: 20px;
  }
}

/* =========================
   LARGE DESKTOP (>= 1441px)
   ========================= */
@media (min-width: 1441px) {

  nav {
    margin: 20px 100px;
    width: calc(100% - 200px);
  }

  .container {
    margin: 0 100px;
    width: calc(100% - 200px);
  }

  section {
    height: 130vh; /* your original */
  }

  .text h2 {
    font-size: 100px;
  }

  .text p {
    font-size: 40px;
    margin-left: 60px;
  }

  .profile {
    width: 40vw;
  }

  .about {
    bottom: -5%;
    width: 40%;
    left: 20%;
    font-size: 20px;
  }

  .projects {
    margin-top: 400px;
  }

  .heading {
    top: -200px;
  }

  .heading h3 {
    font-size: 40px;
  }

  .project {
    width: 40vw;
  }

  .contact {
    margin-top: 200px;
  }

  .contact p {
    width: 40%;
    font-size: 30px;
  }

  .contact a {
    font-size: 30px;
  }

  footer {
    padding: 20px 100px;
  }

  .footer {
       gap: 70px;
    font-size: 20px;
  }
}