/* Box-model reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:white; /* light grey page background */
  font-family: sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --color-primary:    #346efb;
  --color-grey:       #9e9e9e;
  --color-grey-light: #c4c4c4;
  --radius-pill:      50px;
  --fs-sm:            1rem;
  --fs-md:            1.25rem;
  --fs-lg:            2rem;
  --fs-xl:            3rem;
  --spacing:          1rem;
  --max-width:        1200px;
}

/* Navbar container */
.navbar {
  /* max-width: 1200px; */
  margin: var(--spacing) 15px;
  padding-left: 30px;
  padding-right: 30px;
  background: #f8f6f6;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

/* Logo */
.navbar__logo img {
  height: 60px;
  display: block;
}

/* Nav links */
.navbar__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: calc(var(--spacing) * 3);
}

.navbar__links a {
  text-decoration: none;
  color: var(--color-grey);
  font-size: 20px;
  font-weight: 500;
  transition: color 0.2s;
}

/* Active & hover state */
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-primary);
}

.navbar__btn {
  /* make the text a bit bigger */
  font-size: 1.125rem;    /* ~18px instead of 16px */

  /* add more “pill” padding */
  padding: 0.8em 2em;     /* taller & wider button */

  /* everything else stays the same */
  text-decoration: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: filter 0.2s;
}


.navbar__btn:hover {
  filter: brightness(0.9);
}

/* HERO SECTION */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem var(--spacing);
  margin: var(--spacing);
  background: #fff;
  border-radius: var(--radius-pill);
}

/* NEW: two‐column flex for text + profile */
.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing);
}

/* left side */
.hero__container {
  max-width: 900px;
}

.hero__greeting {
  margin-bottom: 1rem;
}

.hero__greeting img {
  height: 70px;
}

.hero__intro {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero__highlight {
  color: var(--color-primary);
  text-decoration: underline;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__description {
  color: rgb(139, 123, 123);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero__buttons {
  display: flex;
  gap: calc(var(--spacing) * 1.5);
}

/* BUTTON STYLES */
.btn {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8em 2em;
  border-radius: var(--radius-pill);
  transition: filter 0.2s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.9);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* right side: profile image */
.hero__image img {
  padding-left: 20px;
  display: flex;
  width: 600px;       
  max-width: 70%;
  height: auto;
  border-radius: var(--radius-pill);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
  }
  .hero__image {
    margin-top: var(--spacing);
  }
}


@media (max-width: 768px) {
  /* Stack hero content */
  .hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hero__image img {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    margin-top: 1rem;
    border-radius: var(--radius-pill);
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__intro {
    font-size: 1.5rem;
  }

  .hero__description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  
}

/* Hamburger icon */
.navbar__toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Hide "Contact me" desktop button on mobile */
.navbar__desktop-btn {
  display: inline-block;
}

.navbar__mobile-btn {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar__toggle {
    display: block;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: 80px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
  }

  .navbar__links.show {
    display: flex;
  }

  .navbar__btn {
    margin-top: 1rem;
  }

  .navbar__desktop-btn {
    display: none;
  }

  .navbar__mobile-btn {
    display: block;
    text-align: center;
    margin-top: 1rem;
  }
  
}

