@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Bebas+Neue&display=swap');

:root {
  --bg: #0f0f0f;
  --text: #e9e9e9;
  --accent: #d3e97a;
  --max-width: 1100px;
  --base-font: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Manrope', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--base-font);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Bebas Neue', Arial, sans-serif;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

a {
  color: var(--text);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background-color: #0a0a0a;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  margin: 0 10px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
  transform: scale(1.05);
}

.main-nav a.active {
  background: rgba(211, 233, 122, 0.08);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  align-items: center;
  justify-content: space-evenly;
  gap: 2rem;
  transition: background 0.5s ease;
}

.hero:hover {
  background: rgba(20, 20, 20, 0.85);
}

.hero .intro {
  max-width: 500px;
}

.hero .intro h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.3rem);
  margin-bottom: 16px;
  line-height: 90%;
}

.hero .intro span {
  font-weight: bold;
  display: inline-block;
}

.hero .intro p {
  font-family: "Manrope", sans-serif;
  color: #C7C7C7;
  font-size: 18px;
  line-height: 150%;
  margin-bottom: 40px;
}

.hero .buttons {
  display: flex;
  gap: 1rem;
  width: 300px;
  flex-wrap: wrap;
  align-items: center;
}

.buttons .cir {
  border-radius: 50%;
  padding: 6px;
  margin-left: 85px;
  display: flex;
}

.hero .btn {
  background: var(--accent);
  padding: 14px 20px;
  color: #000;
  border-radius: 30px;
  width: 160px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

.social-btn {
  background: #111;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: #333;
  transform: scale(1.1);
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 35px;
  transition: all 0.4s ease-in-out;
}

.hero-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.1);
}

/* Project Section */
.project-section {
  padding: 2rem;
  background-color: #0a0a0a;
  transition: background 0.5s ease;
}

.project-section:hover {
  background: rgba(20, 20, 20, 0.85);
}

.project-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.project-section p {
  margin-bottom: 2rem;
  color: #aaa;
}

.project-card {
  display: flex;
  gap: 2rem;
  background-color: #111;
  padding: 1.5rem;
  border-radius: 12px;
  flex-wrap: wrap;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 2rem;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.05);
}

.project-image {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.project-image .badge {
  position: absolute;
  top: -12px;
  left: 0;
  background-color: #2a2a2a;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #ccc;
}

.project-image img {
  margin: 60px auto;
  max-width: 400px;
  border-radius: 10px;
  display: block;
  transition: all 0.4s ease-in-out;
}

.project-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.1);
}

.project-details {
  flex: 1;
  min-width: 250px;
}

.project-details h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.project-details p {
  color: #bbb;
  margin-bottom: 1.25rem;
}

.project-info .info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: #999;
  line-height: 150%;
}

.info-row :first-child {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.project-links {
  margin-top: 48px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.btn {
  color: var(--accent);
  position: relative;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}

.btn img {
  margin-left: 4px;
  position: absolute;
}

.btn:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(211, 233, 122, 0.3);
}

.btn-outline {
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background: black;
  padding: 2rem;
  text-align: center;
  transition: background 0.5s ease;
}

.about:hover {
  background: rgba(20, 20, 20, 0.85);
}

.about h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 8vw, 4.3rem);
  margin-bottom: 16px;
  color: white;
}

.about-gif {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  margin: 0 auto 2rem auto;
  transition: all 0.4s ease-in-out;
}

.about-gif:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.1);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  margin-block: auto;
  gap: 2rem;
  justify-content: center;
  text-align: left;
}

.about_me {
  max-width: 704px;
  color: #c7c7c7;
  font-family: "Manrope", sans-serif;
}

.about_me h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 1rem;
  color: white;
}

.about_me p {
  font-size: 18px;
  line-height: 150%;
}

.about_me a {
  text-decoration: underline;
  color: var(--accent);
  font-weight: bold;
}

/* Contact Section */
.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #0d0d0d;
  color: white;
  padding: 4rem 2rem;
  transition: background 0.5s ease;
}

.contact:hover {
  background: rgba(20, 20, 20, 0.85);
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 280px;
  margin-bottom: 2rem;
}

.contact-left h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-left a {
  color: var(--accent);
  text-decoration: none !important;
}

.social-icons {
  margin: 1.5rem 0;
  font-size: 1.8rem;
}

.social-icons a {
  margin-right: 1rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px var(--accent));
}

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 40px;
}

footer {
  font-size: 16px;
  color: #777;
  text-align: center;
  width: 100%;
  margin-top: 30px;
}

.contact-right form {
  display: flex;
  flex-direction: column;
}

.contact-right input,
.contact-right textarea {
  background-color: #1a1a1a;
  border: none;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  color: white;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-right input:hover,
.contact-right textarea:hover {
  border: 1px solid var(--accent);
  background-color: #212121;
  box-shadow: 0 0 8px rgba(211, 233, 122, 0.2);
}

.contact-right button {
  background-color: var(--accent);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  color: black;
  font-weight: bold;
  cursor: pointer;
  width: fit-content;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.contact-right button:hover {
  background-color: #c4dd63;
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(211, 233, 122, 0.25);
}

.mobile-img {
  display: none;
  max-width: 343px;
  max-height: 400px;
  border-radius: 50%;
  object-fit: contain;
  padding: 41px;
  transition: all 0.4s ease-in-out;
}

.mobile-img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .project-card {
    flex-direction: column;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about_me {
    text-align: center;
  }

  .contact {
    flex-direction: column;
  }

  .contact-left h1 {
    text-align: center;
  }

  .contact-right button {
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  nav {
    text-align: center;
    display: none;
    flex-direction: column;
    background-color: black;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
  }

  .project-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
  }
}

@media (max-width: 480px) {

  .hero .intro h1,
  .about h1,
  .contact-left h1 {
    font-size: 2rem;
  }

  .project-section h2,
  .about_me h2 {
    font-size: 1.5rem;
  }

  .btn,
  .contact-right button {
    width: 100%;
    text-align: center;
  }

  .hero .intro p,
  .about_me p {
    font-size: 16px;
  }

  .project-links {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .mobile-img {
    display: block;
  }

  .about-gif {
    max-width: 250px;
  }
}