@font-face {
    font-family: 'Albert';
    src: url('../fonts/albert.ttf') format('truetype');
    font-style: normal;
}

* {
    letter-spacing: -0.05em;
    font-family: 'Albert';
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFF9F3;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sky {
    background: linear-gradient(180deg, #28A4DA -55.74%, #28C8DA 68.35%, #FFF9F3 96.89%);
    width: 100%;
    padding-bottom: 40px;
}

.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 35px 20px 60px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 36px;
    color: #FFF9F3;
    font-style: italic;
    font-weight: 900;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: flex-end;
}

.menu-text {
    display: flex;
    gap: 25px;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: #FFF9F3;
    font-style: italic;
    font-weight: 600;
}

.menu-social {
    display: flex;
    gap: 25px;
    align-items: center;
}

.social {
    width: 25px;
}

.portfolio-main {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF9F3;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.aboot {
  color: #FF4766;
}

.portfolio-text {
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.portfolio-main h1 {
    font-size: 144px;
    font-style: italic;
    font-weight: 900;
}

.portfolio-main h3 {
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
}

.portfolio {
    cursor: pointer;
    font-style: italic;
    font-weight: 900;
    font-size: 32px;
    border-radius: 1000px;
    padding: 12px 36px;
    color: #FFF9F3;
    background-color: #24314F;
    margin-top: 40px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.images .column img {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    cursor: pointer;
}

.worked-with {
    background-color: #24314F;
    padding: 40px 20px;
    margin-top: 100px;
}

.worked-with-1 {
    text-align: center;
    color: #FFF9F3;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
}

.worked-with-1 img {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
}

.footer {
    font-style: italic;
    text-align: center;
    color: #24314F;
    font-size: 20px;
    font-weight: 800;
    margin: 30px 0;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger-menu span {
    width: 30px;
    height: 4px;
    background-color: #FFF9F3;
    border-radius: 5px;
}

/* news layout fix */
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin: 80px auto;
}

.news-card {
  background: #24314F;
  color: #FFF9F3;
  border-radius: 20px;
  overflow: hidden;
  flex: 1 1 calc(33.333% - 40px);
  max-width: calc(33.333% - 40px);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content .date {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.news-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.news-content a {
  color: #FFF9F3;
}

.news-content p {
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .news-card {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
  }
}

@media (max-width: 600px) {
  .news-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.article {
  margin: 80px auto;
  max-width: 800px;
}

.article-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
}

.article p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #24314F;
}

/* about, contact, etc */
.about-us {
  margin: 100px 0;
  text-align: center;
  color: #24314F;
}

.about-us h2 {
  font-size: 36px;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 20px;
}

.about-us p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.our-team {
  margin: 100px 0;
  text-align: center;
}

.our-team h2 {
  font-size: 36px;
  font-style: italic;
  font-weight: 900;
  color: #24314F;
  margin-bottom: 40px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.team-card {
  background: #24314F;
  color: #FFF9F3;
  border-radius: 20px;
  padding: 20px;
  max-width: 250px;
  text-align: center;
}

.team-card img {
  width: 75%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact {
  margin: 100px 0;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  font-style: italic;
  font-weight: 900;
  color: #24314F;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  font-size: 16px;
  border: 2px solid #24314F;
  border-radius: 10px;
  font-family: 'Albert';
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  padding: 15px;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  background: #24314F;
  color: #FFF9F3;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.9;
}

.our-contacts {
  background: #24314F;
  color: #FFF9F3;
  padding: 60px 20px;
  text-align: center;
}

.our-contacts h2 {
  font-size: 32px;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 20px;
}

.our-contacts p {
  font-size: 18px;
  margin: 8px 0;
}

.team-card .desc {
  font-size: 14px;
  line-height: 1.4;
  color: #d9d9d9;
  margin-top: 8px;
}

.large-text {
  font-size: 20px;
  line-height: 1.6;
}

.office-photos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.small-img {
  border-radius: 15px;
  width: 45%;
  height: auto;
}

.team-social {
  margin-top: 8px;
}

.team-social a {
  margin-right: 10px;
  text-decoration: none;
  color: #FFF9F3;
}

/* responsive tweaks */
@media (max-width: 1024px) {
  .header {
    padding: 20px 15px 30px;
  }

  .logo {
    font-size: 28px;
  }

  .menu {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .menu-text {
    gap: 15px;
    font-size: 16px;
  }

  .menu-social {
    gap: 12px;
  }

  .social {
    width: 20px;
  }

  .portfolio-main h1 {
    font-size: 76px;
  }

  .portfolio-main h3 {
    font-size: 26px;
  }

  .portfolio {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .menu-text,
  .menu-social {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .menu.open .menu-text,
  .menu.open .menu-social {
    display: block;
    position: absolute;
    top: 50px;
    right: 20px;
    background-color: #24314F;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
  }

  .menu.open .menu-text a {
    display: block;
    margin: 10px 0;
    font-size: 18px;
    text-align: right;
    color: #FFF9F3;
  }

  .menu.open .menu-social {
    margin-top: 15px;
    text-align: right;
  }

  .menu.open .menu-social img {
    margin-left: 10px;
    width: 20px;
  }
}

@media (max-width: 480px) {
  .portfolio {
    width: 100%;
  }

  .portfolio-main h1 {
    font-size: 28px;
  }

  .portfolio-main h3 {
    font-size: 16px;
  }

  .worked-with-1 {
    font-size: 18px;
  }

  .footer {
    font-size: 16px;
  }
}
