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

:root {
  --bg-main: #fff8ef;
  --bg-soft: #f7eadc;
  --bg-card: #ffffff;

  --text-dark: #3b2417;
  --text-medium: #6f4a35;
  --text-light: #8a6a55;

  --brown-dark: #5a341f;
  --brown-medium: #8b5e3c;

  --gold: #c99642;
  --gold-light: #e4c27a;

  --border-soft: #ead8c5;
  --white: #ffffff;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

header {
  width: 100%;
  padding: 20px 8%;
  background-color: rgba(255, 248, 239, 0.9);

  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h2 {
  font-size: 20px;
  color: var(--brown-dark);
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav ul li a {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  font-size: 15px;
  color: var(--text-medium);
  font-weight: 500;
}

nav ul li a:hover {
  text-decoration: underline;
  color: var(--gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo span {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
  color: var(--white);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;

  box-shadow: 0 8px 20px rgba(90, 52, 31, 0.25);
}

.logo h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--brown-dark);
  letter-spacing: 0.5px;
}

main {
  width: 100%;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  padding: 140px 8% 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  background:
    radial-gradient(
      circle at 20% 35%,
      rgba(255, 255, 255, 0.75),
      transparent 30%
    ),
    radial-gradient(
      circle at 78% 45%,
      rgba(142, 88, 52, 0.25),
      transparent 38%
    ),
    linear-gradient(135deg, #f7eadc 0%, #f1dcc8 45%, #ead0b8 100%);
}
.hero-image {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 25px 60px rgba(90, 52, 31, 0.25);
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-content {
  max-width: 560px;
}

.hero-content h2 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--brown-dark);
}

.hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  line-height: 0.95;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-subtitle::after {
  content: "";
  width: 100px;
  height: 2px;
  background-color: var(--gold);
  display: block;
}

.hero-text {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-medium);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 400;
  transition: 0.3s ease;
}

.primary-btn {
  background-color: var(--brown-dark);
  color: var(--white);
}

.secondary-btn {
  border: 1px solid var(--brown-dark);
  color: var(--brown-dark);
}

.primary-btn:hover {
  background-color: var(--brown-medium);
}

.secondary-btn:hover {
  background-color: var(--gold);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--brown-dark);
  cursor: pointer;
}

.about {
  padding: 100px 8%;
  background-color: var(--bg-main);
}

.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  color: var(--brown-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-medium);
  line-height: 1.7;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-cards {
  display: grid;
  gap: 20px;
}

.about-card {
  background-color: var(--bg-card);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 15px 35px rgba(90, 52, 31, 0.08);
}

.about-card h4 {
  color: var(--brown-dark);
  margin-bottom: 10px;
  font-size: 18px;
}

.about-card p {
  color: var(--text-medium);
  line-height: 1.6;
}
.projects {
  padding: 100px 8%;
  background-color: var(--bg-soft);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background-color: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(90, 52, 31, 0.1);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(90, 52, 31, 0.16);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.project-content p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 18px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.project-tags span {
  font-size: 13px;
  color: var(--brown-dark);
  background-color: var(--bg-soft);
  padding: 7px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
}

.project-link {
  text-decoration: none;
  color: var(--gold);
  font-weight: 500;
}

.project-link:hover {
  color: var(--brown-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.skills {
  padding: 100px 8%;
  background-color: var(--bg-main);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.skill-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 22px;
  border: 2px solid var(--border-soft);
  box-shadow: 0 15px 35px rgba(90, 52, 31, 0.08);
  transition: 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(90, 52, 31, 0.14);
}

.skill-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.skill-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

.contact {
  padding: 100px 8%;
  background-color: var(--bg-soft);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  color: var(--brown-dark);
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 25px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-links a {
  text-decoration: none;
  color: var(--brown-dark);
  border: 1px solid var(--brown-dark);
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  transition: 0.3s ease;
}

.contact-links a:hover {
  background-color: var(--brown-dark);
  color: var(--white);
}

.contact-form {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: 24px;
  border: 2px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(90, 52, 31, 0.1);

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border-soft);
  border-radius: 14px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background-color: var(--bg-main);
  outline: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form button {
  border: none;
  padding: 15px 28px;
  border-radius: 40px;
  background-color: var(--brown-dark);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--brown-medium);
  
}

footer {
  padding: 35px 8%;
  background-color: var(--brown-dark);
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo span {
  width: 38px;
  height: 38px;
  background-color: var(--gold);
  color: var(--brown-dark);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 17px;
}

.footer-logo p {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: 0.3s ease;
}

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

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  background-color: #25d366;
  color: white;
  text-decoration: none;
  font-size: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  z-index: 999;

  transition: 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}
@media (max-width: 900px) {
  header {
    padding: 18px 6%;
  }

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

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

  .hero {
    min-height: auto;
    flex-direction: column;
    text-align: center;
    padding: 60px 6%;
    gap: 45px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 56px;
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-text {
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 350px;
    height: 350px;
  }
  .about {
    padding: 80px 6%;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-title h2 {
    font-size: 44px;
  }

  .projects {
    padding: 80px 6%;
  }

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

  .skills {
    padding: 80px 6%;
  }

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

  .contact {
    padding: 80px 6%;
  }

  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .logo {
    justify-content: center;
  }

  .logo span {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .logo h2 {
    font-size: 22px;
  }

  nav ul {
    gap: 14px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .hero {
    padding: 50px 5%;
  }

  .hero-content h2 {
    font-size: 20px;
  }

  .hero-content h1 {
    font-size: 44px;
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 13px;
    letter-spacing: 0.8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-subtitle::after {
    width: 50px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .hero-image {
    width: 280px;
    height: 280px;
    outline: 8px solid rgba(201, 150, 66, 0.12);
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;

    width: 100%;
    background-color: var(--bg-main);

    flex-direction: column;
    align-items: center;
    gap: 18px;

    padding: 25px 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 15px 35px rgba(90, 52, 31, 0.15);

    display: none;
  }

  .nav-links.active {
    display: flex;
  }
  .about {
    padding: 70px 5%;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .about-text h3 {
    font-size: 32px;
  }

  .about-card {
    padding: 22px;
  }

  .projects {
    padding: 70px 5%;
  }

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

  .project-card img {
    height: 200px;
  }

  .project-content h3 {
    font-size: 26px;
  }

  .skills {
    padding: 70px 5%;
  }

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

  .contact {
    padding: 70px 5%;
  }

  .contact-info h3 {
    font-size: 32px;
  }

  .contact-form {
    padding: 25px;
  }

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

.footer-links {
  justify-content: center;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 18px;
    font-size: 24px;
  }
}
}
