@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&display=swap');

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

a {
    color: black;
    text-decoration: none;
}

body {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 0 20px;
    margin-top: 100px;
}

.logo {
    font-family: "Caprasimo", serif;
    font-weight: 400;
    font-size: clamp(22px, 5vw, 30px);
}

header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    display: flex;
    list-style: none;
    text-transform: uppercase;
    gap: 20px;
    font-weight: 700;
    color: #2C2825;
}

.header-wrap {
    position: fixed;
    background-color: white;
    width: 100%;
    left: 0;
    top: 0;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.container {
    text-align: center;
}

.hero {
    padding-top: 30px;
}

.hero img {
    margin-top: 30px;
    width: 100%;
    border-radius: 20px;
}

.main {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.main b {
    color: #575757;
    font-weight: 700;
}

.btn {
    padding: 7px 15px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 14px;
    width: 120px;
    height: 35px;
    background: #FFC800;
    border: none;
    border-radius: 5px;
}

.images-index {
    display: flex;
    justify-content: space-between;
    margin: 150px 0px 50px 0px;
}

.container.index-we-do h1 {
    margin: 40px;
    font-size: clamp(32px, 6vw, 50px);
}

.container.index-we-do p {
    font-size: 17px;
    margin: 40px;
}

.container.index-we-do img {
    margin: 50px 0px;
}

@media (max-width: 768px) {
    .images-index img {
        width: 24%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        flex: 0 0 24%;
    }

    .header-wrap {
        width: 100%;
        padding: 15px 10px;
        box-sizing: border-box;
    }

    header nav ul {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    header nav ul li {
        text-align: center;
        flex: 1 1 auto;
    }

}

/* =========================================================
   JS PRACTICE STYLES (not used in main project)
   =========================================================

.box {
  width: 100px;
  height: 100px;
  background: red;
  transition: transform 0.4s ease;
}

.box.active {
  transform: translateX(200px) scale(1.2) rotate(10deg);
}

.card {
  width: 150px;
  height: 100px;
  background: #ddd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.photo {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.photo.fade {
  opacity: 0;
}

.slider {
  width: 300px;
  height: 6px;
  background: #ccc;
  position: relative;
}

.thumb {
  width: 20px;
  height: 20px;
  background: red;
  border-radius: 50%;
  position: absolute;
  top: -7px;
  left: 0;
  cursor: pointer;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

.overlay.active {
  display: flex;
}

.overlay.active .modal {
  transform: scale(1);
}

========================================================= */