:root {
  --bg: #FFFFFF;
  --text: #1F2937;
  --accent: #3B82F6;
  --card-bg: #FFFFFF;
  --border: #E5E7EB;
  --muted-text: #6B7280;
}

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --text: #1F2937;
  --accent: #3B82F6;
  --card-bg: #FFFFFF;
  --border: #E5E7EB;
  --muted-text: #6B7280;
}

.icon {
  cursor: pointer;
  height: 2rem;
  filter: invert(0);
  transition: filter 0.3s ease;
}

@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

p {
  color: var(--muted-text);
}

a,
.btn {
  transition: all 300ms ease;
}

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-between;
  align-items: center;
  height: 10vh;
}


#desktop-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#hamburger-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}


#desktop-nav.hidden,
#hamburger-nav.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}


#desktop-nav.visible,
#hamburger-nav.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--accent);
}


.nav-links a.active {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--accent);
}

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

a:hover {
  color: var(--accent);
}

.logo {
  font-size: 2rem;
  color: var(--text);
}

.logo:hover {
  cursor: default;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--bg);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.btn-color-1,
.btn-color-2 {
  border: var(--border) 0.1rem solid;
  color: var(--text);
}

.btn-color-2 {
  background: none;
}

.btn-color-1,
.btn-color-2:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-color-1:hover {
  background: var(--accent);
  color: white;
}

.btn-color-2:hover {
  border: var(--accent) 0.1rem solid;
  background: var(--text);
}

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--card-bg);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-links a:hover {
  color: var(--accent);
}

.menu-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

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

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}



section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 0.5rem;
  background: var(--card-bg);
  
  border: 0.08rem solid var(--border);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.section__pic-container img,
.about-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.section__text {
  align-self: center;
  text-align: center;

}

.section__text p {
  font-weight: 600;
  color: var(--muted-text);
}

.section__text__p1 {
  text-align: center;
  color: var(--muted-text);
  font-family: "Poppins", sans-serif;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.title {
  font-size: 3rem;
  font-family: "Anton", sans-serif;
  text-align: center;
  color: var(--text);
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.icon {
  cursor: pointer;
  height: 2rem;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

@media (max-width: 900px) {
  section {
    height: auto;
    
    margin: 0 2rem;
    padding-top: 3vh;
  }

  .section-container,
  .about-containers {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .section__pic-container {
    width: 220px;
    height: 220px;
    margin: 0;
  }

  .about-details-container {
    width: 100%;
    padding: 0 0.5rem;
  }

  .details-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }

  .text-container {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.25rem;
    text-align: left;
  }

  .title {
    font-size: 2.25rem;
  }
}

.contact-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}


.contact-info-section {
  flex: 0 0 38%;
  max-width: 38%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-intro {
  padding: 1.5rem 0 0.5rem;
}

.contact-intro h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem 0;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.02em;
}

.contact-intro p {
  color: var(--muted-text);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}


.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  background: var(--card-bg);
  padding: 1.25rem 1.5rem;
  border-radius: 0.875rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.contact-item i {
  font-size: 1.75rem;
  color: var(--text);
  flex-shrink: 0;
  width: 2.25rem;
  text-align: center;
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-text h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-text);
  margin: 0 0 0.2rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-text p,
.contact-text a {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
  transition: color 0.3s ease;
  word-break: break-word;
}

.contact-text a {
  text-decoration: none;
  font-weight: 500;
}

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


.contact-form-section {
  flex: 1;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: var(--text);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn i {
  font-size: 1rem;
}

.success-message {
  text-align: center;
  padding: 2rem;
  background: var(--accent);
  border-radius: 1rem;
  border: 2px solid var(--border);
  color: white;
  animation: slideIn 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.success-message i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.success-message h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

.success-message p {
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@media (max-width: 900px) {
  section {
    margin: 0 2rem;
  }

  .contact-container {
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0 0;
  }

  .contact-info-section {
    flex: unset;
    max-width: 100%;
    width: 100%;
  }

  .contact-details {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-item {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 200px;
  }

  .contact-form-section {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  section {
    margin: 0 1rem;
    padding-top: 3vh;
  }

  .contact-container {
    margin: 1.5rem 0 0;
    gap: 1.5rem;
  }

  .contact-details {
    flex-direction: column;
  }

  .contact-item {
    flex: unset;
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-intro,
  .contact-item {
    padding: 1.25rem;
  }

  .contact-form-section {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .success-message {
    padding: 1.5rem;
  }

  .success-message i {
    font-size: 2.5rem;
  }

  .success-message h3 {
    font-size: 1.25rem;
  }

  .success-message p {
    font-size: 0.95rem;
  }
}

footer {
  height: max-content;
  margin: 0 1rem;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  
  gap: 1rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-links a {
  color: var(--muted-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-text);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
}