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

body,
html {
  background: #000000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  color: wheat;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Navigation */
nav {
  position: fixed;
  z-index: 99;
  display: flex;
  background-color: #000000;
  justify-content: space-around;
  width: 100%;
  align-items: center;
  padding: 0 2rem;
}

nav h1 {
  padding: 15px;
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 40%;
  padding: 10px;
}

nav ul a {
  text-decoration: none;
  color: inherit;
}

nav ul li {
  list-style: none;
  border-radius: 50px;
  padding: 10px 20px;
  color: beige;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

nav ul li:hover {
  background-color: rgb(197, 178, 144);
  color: black;
}

/* Hero Section */
.view-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  padding-top: 80px;
  z-index: 2;
}

.himg {
  width: 30%;
  max-width: 400px;
  position: relative;
  padding-left: 10%;

}

.imgwrapper {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(197, 178, 144, 0.5);
  box-shadow: 0 25px 50px -12px rgba(197, 178, 144, 0.25);
  transform: perspective(1000px) rotateY(-15deg);
  transition: all 0.5s ease;
}

.imgwrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 35px 60px -10px rgba(197, 178, 144, 0.4);
}

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

.htext {
  width: 45%;
  text-align: right;
  position: relative;
  top: 50vh;
  left: 50vw;
}

.htext h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

.htext span {
  font-size: 1.5rem;
  display: block;
  opacity: 0.9;
}

/* Marquee */
.marquee {
  position: absolute;
  bottom: 10%;
  width: 100%;
}

.marquee svg {
  width: 100vw;
  height: 40vh;
}

.marquee svg text {
  font-size: 20px;
  fill: #cecece;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.marquee svg path {
  fill: none;
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 30;
}

/* Breaker Sections */
.breaker {
  width: 100%;
  height: 30%;
  overflow: hidden;
  margin-top: 1.5rem;
  position: relative;
}

.breaker .box {
  margin-top: 80px;
  border-top: 3px dotted wheat;
  border-bottom: 3px dotted wheat;
  width: 110%;
  position: absolute;
  height: 8vh;
  background-color: black;
}

.breaker .box-1 {
  transform: rotate(5deg);
}

.breaker .box-1 .marquee {
  display: flex;
  gap: 3rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.breaker .box-1 .marquee .text {
  display: flex;
  gap: 3rem;
  animation: marquee1 10s linear infinite both;
}

.breaker .box-1 .marquee .text p {
  width: -moz-max-content;
  width: max-content;
  padding-top: 10px;
  font-size: 1.3rem;
  font-weight: 1000;
}

.breaker .box-2 {
  transform: rotate(-5deg);
}

.breaker .box-2 .marquee {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.breaker .box-2 .marquee .text {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee2 10s linear infinite both;
}

.breaker .box-2 .marquee .text p {
  width: 20rem;
  text-align: center;
  padding-top: 10px;
  font-size: 1.3rem;
  font-weight: 1000;
}

/* About Section */
.about {
  width: 100%;
  padding: 5rem 0;
}

.about h1 {
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 3rem;
  font-size: 3rem;
}

.about .txt {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 60vw;
  margin: 0 auto;
}

.about .txt span {
  font-family: "Playwrite AU SA", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Skills Section */
.skills {
  padding: 5rem 2rem;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.skills h1 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.skills .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.skills .card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skills .card:hover {
  transform: translateY(-10px);
  background: rgba(197, 178, 144, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.skills .card::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  background: wheat;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.skills .card:hover::after {
  bottom: -50px;
  opacity: 1;
}

.skills .card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Projects Section */
.projects {
  padding: 5rem 2rem;
  background: #000;
  border-top: 1px solid rgba(245, 222, 179, 0.2);
}

.projects h1 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #0a0a0a;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(197, 178, 144, 0.1);
}

.project-img {
  height: 200px;
  background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
  position: relative;
  overflow: hidden;
}

.project-img::after {
  content: "View Project";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: wheat;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-img::after {
  opacity: 1;
}

.project-card h3 {
  padding: 1rem 1rem 0;
  font-size: 1.5rem;
}

.project-card p {
  padding: 0 1rem 1rem;
  color: #ccc;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  flex-wrap: wrap;
}

.tech-stack span {
  background: rgba(197, 178, 144, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
}

/* Footer */
footer {
  background: #0a0a0a;
  color: wheat;
  padding: 2rem 0 0;
  position: relative;
}

.footer-marquee {
  background: black;
  padding: 1rem;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid wheat;
  border-bottom: 1px solid wheat;
}

.footer-marquee p {
  display: inline-block;
  animation: marquee 20s linear infinite;
  padding-left: 100%;
  margin: 0;
  font-size: 1.2rem;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links img {
  width: 40px;
  height: 40px;
}

.social-links a:hover {
  transform: scale(1.2);
}

.copyright {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(245, 222, 179, 0.2);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Animations */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee2 {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about .txt {
    width: 80vw;
  }
  
  .htext h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav ul {
    width: 100%;
    margin-top: 1rem;
  }
  
  .hero-content {
    flex-direction: column;
    padding-top: 120px;
  }
  
  .himg, .htext {
    width: 90%;
    text-align: center;
  }
  
  .himg {
    margin-bottom: 2rem;
    max-width: 300px;
  }
  
  .htext {
    margin: 0 auto 2rem;
  }
  
  .about .txt {
    width: 90vw;
  }
  
  .about .txt span {
    font-size: 1.2rem;
  }
  
  .skills .container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
  
  .skills .card img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .htext h1 {
    font-size: 2.2rem;
  }
  
  .htext span {
    font-size: 1.2rem;
  }
  
  .marquee svg text {
    font-size: 16px;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
}