/*
Theme Name: mustikkacode

Theme URI: https://wordpress.org/themes/twentytwentytwo/
Author: the WordPress team
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 5.6
Text Domain: mustikkacode
 */

/* modern minimal reset (recommended) */
:root,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* Typography & elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: inherit;
}
p {
  margin: 0;
}

/* Lists, tables */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Images, media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Forms */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
}

/* Buttons: remove default appearance but keep accessibility */
button {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Utility */
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
}
section {
  padding-bottom: 150px;
}

.container {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* Colors */

.purple {
  color: #5f5fc3;
}

/* Berries */

.blueberry {
  position: absolute;
  opacity: 0.9;
  pointer-events: none;
}
.blueberry-mobile {
  display: none;
}

.blueberry-size1 {
  width: 12.5rem;
  top: 2rem;
  right: 25rem;
}
.blueberry-size2 {
  width: 20rem;
  left: 30rem;
  bottom: 5rem;
}
.blueberry-size3 {
  width: 25rem;
  right: 20rem;
  top: 15rem;
}
.blueberry-size4 {
  width: 25rem;
  left: 30rem;
  top: -8rem;
}
.blueberry-size5 {
  width: 25rem;
  right: 18rem;
  bottom: 21rem;
}
.blueberry-size6 {
  width: 25rem;
  right: 65rem;
  top: -20rem;
}
.blueberry-size7 {
  width: 25rem;
  right: 45rem;
  bottom: -5rem;
}

/* Scroll button */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 2px solid rgba(95, 95, 195, 1);
  font-size: 24px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 1s ease;
  z-index: 1;

  &:hover {
    border: none;
    background-color: rgba(95, 95, 195, 1);
  }
}

.scroll-top-btn.show {
  display: flex;
  opacity: 1;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Burger menu */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s ease;
  border-radius: 3px;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

/* Header */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  margin: 1rem 0 0 0;
}
.header .logo {
  height: 45px;
  width: 200px;
}
.logo img {
  width: 100%;
  height: 100%;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  font-family: 'Kodchasan', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
}

.main-nav a:hover {
  color: #b3c4ff;
}

/* Hero */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15)),
    url('./assets/img/blueberry.jpg') center/cover no-repeat;
  height: 100%;
}

.wrapper {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero h1 {
  font-size: clamp(3rem, 40vw, 25rem);
  font-family: 'Coiny', system-ui;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  line-height: 1;
}
.hero h4 {
  font-size: clamp(1.25rem, 3.5vw, 3rem);
  font-family: 'Coiny', system-ui;
  font-weight: 400;
  font-style: normal;
}
.wave {
  position: absolute;
  left: 0;
  bottom: -155px;
  width: 100%;
  height: 100%;
  background: url('/assets/img/gradient.png') bottom/cover no-repeat;
}

/* About*/
.about {
  height: 90%;
  position: relative;
  background: linear-gradient(rgba(141, 174, 208, 1), rgba(57, 102, 147, 0.75));
}

.about .container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  height: 100%;
  position: relative;
  overflow-x: hidden;
}

.about__info,
.about__services {
  width: 45%;
  text-align: start;
  z-index: 1;
  margin: 20px;
}

.about__services {
  align-self: flex-end;
}
.about__services h2 {
  text-align: end;
}

section h2 {
  font-size: 6rem;
  margin-bottom: 30px;
  padding-top: 20px;
  font-family: 'Coiny', system-ui;
  text-transform: uppercase;
}

section p {
  font-size: 1.5rem;
  font-family: 'Kodchasan', sans-serif;
}

/* Projects */
.projects {
  position: relative;
  background: linear-gradient(rgba(57, 102, 147, 0.75));
}
.projects h2 {
  z-index: 1;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}
.projects .container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  height: 100%;
}
.projects__pages,
.projects__info {
  width: 45%;
  text-align: start;
  z-index: 1;
}
.projects__pages {
}
.projects__info {
  align-self: center;
  margin: 20px;
}

/* Pricing */
.pricing {
  position: relative;
  background: linear-gradient(rgba(57, 102, 147, 0.75));
}
.pricing .container {
  width: 100%;
  position: relative;
  contain: layout;
}
.container h2 {
  z-index: 1;
}
.pricing h2 {
  text-align: right;
  position: relative;
  z-index: 1;
}
.pricing .cards {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.card {
  z-index: 1;
}
.card {
  background: rgba(111, 109, 109, 0.5);
  padding: 20px;
  border-radius: 20px;
  width: 20rem;
  height: 30rem;
  background: url("/assets/img/cardBg.svg");
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80%;
}
.card h3 {
  font-family: 'Kodchasan', sans-serif;
  font-size: 3.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 800;
}
.card ul {
  list-style: none;
  margin-bottom: 15px;
  font-family: 'Kodchasan', sans-serif;
}
.card li {
  margin: 5px 0;
  font-size: 1.25rem;
  text-align: start;
}
.price-info {
  align-self: flex-end;
}
.card .service {
  font-size: 1rem;
}
.card .price {
  font-size: 4rem;
  font-weight: bold;
}
.card .custom-price {
  font-size: 2rem;
  font-weight: bold;
}

/* Contact form */
.contact {
  position: relative;
  background: linear-gradient(rgba(57, 102, 147, 0.75));
  padding-bottom: 300px;
}
.contact .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.contact__info {
  align-self: flex-end;
  padding: 0 8.5rem 4.5rem 0;
}
.info-wrapper {
  text-align: start;
  position: relative;
}
.contact .logo {
  position: absolute;
  right: 3rem;
  bottom: -1rem;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
}
.contact label {
  display: flex;
  font-family: 'Kodchasan', sans-serif;
  flex-direction: column;
  text-align: start;
  font-size: 1.5rem;
  color: #fff;
  gap: 0.5rem;
}
.contact__form h2 {
  width: 150%;
  text-align: start;
}
input,
textarea {
  width: 100%;
  padding: 0.75rem 0.5rem;
  border: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.35);
  font-size: 16px;
  color: #000;
  resize: vertical;
  max-height: 300px;
  box-sizing: border-box;
}

textarea {
  min-height: 200px;
  text-indent: 10px;
  color: white;
}

.limit {
  font-size: 12px;
  color: #ddd;
  margin-top: 4px;
}

.contact button {
  padding: 12px 20px;
  border: none;
  background: rgba(217, 217, 217, 0.14);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: 0.3s;
  font-family: 'Kodchasan', sans-serif;
  width: 30%;
  align-self: flex-end;

  &:hover {
    background: rgba(95, 95, 195, 1);
  }
}

/* Footer */
footer {
  position: relative;
  width: 100%;
  height: 100px;
  background: linear-gradient(rgba(57, 102, 147, 0.75));
}
.vector {
  width: 100%;
  position: absolute;
  bottom: 0;
  object-fit: cover;
  display: block;
}
.privacy {
  font-family: 'Kodchasan', sans-serif;
  font-size: 1.25rem;
  height: 100%;
  color: white;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fade-in {
  opacity: 0;
  box-sizing: border-box;
  transform: translateY(15px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media */
@media (max-width: 1440px) {
  .contact {
    padding-bottom: 150px;
  }
}

/* 🖥️monitors */
@media (max-width: 1340px) {
  section h2 {
    font-size: 4.5rem;
  }
  section p {
    font-size: 1.375rem;
  }
  .projects h2 {
    padding: 0 1rem;
  }
}

/* 💻 laptops */
@media (max-width: 1280px) {
  section h2 {
    font-size: 3.95rem;
  }
  section p {
    font-size: 1.25rem;
  }
  .about {
    height: auto;
  }
  .contact label {
    font-size: 1.25rem;
  }
  footer {
    height: 80px;
  }
}

/* 📟tablets */
@media (max-width: 1100px) {
  .about h2 {
    margin-bottom: 0;
  }
  .about .container {
    flex-direction: column;
  }
  .about__info,
  .about__services {
    width: 75%;
  }
  .about__services h2 {
    text-align: end;
  }
  .projects__info {
    align-self: center;
  }
  .card .custom-price {
    font-size: 1.5rem;
  }
  .contact .contact__info {
    padding: 0 0 4.5rem 0;
  }
  footer {
    height: 70px;
  }
  .blueberry-size7 {
    display: none;
  }
}

/* smartphones */
@media (max-width: 940px) {
  .container {
    width: 100%;
  }
  .pricing .cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .blueberry-mobile {
    display: block;
  }
  .berry-1 {
    top: 25%;
    left: 70%;
  }
  .berry-2 {
    top: 45%;
    left: 10%;
  }
  .berry-3 {
    bottom: 5%;
    left: 65%;
  }
  .contact .container {
    flex-direction: column;
  }
  .contact__info {
    display: flex;
    width: 100%;
    padding: 0 0 2rem 0;
  }
  .contact__form h2 {
    width: 100%;
  }
  .contact__form {
    margin-bottom: 3rem;
  }
  .contact__form form {
    margin: 0 auto;
  }
  footer {
    padding-top: 5rem;
  }
  footer .vector {
    height: 100%;
  }
  .blueberry-size3 {
    right: 15rem;
    top: 5rem;
  }
  .blueberry-size4 {
    top: 0;
  }
  .burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: -102svh;
    right: 0;
    width: 100%;
    height: 0svh;
    background: #eeaeca;
    background: linear-gradient(90deg, #c087e3 0%, #666ff3 100%);
    padding-top: 120px;
    transition: 0.3s ease;
    z-index: 1500;
  }

  .main-nav.active {
    top: -16px;
    height: 100svh;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
}

/* smartphones */
@media (max-width: 768px) {
  section {
    padding-bottom: 75px;
  }
  .container h2 {
    font-size: 3rem;
  }
  .container p {
    font-size: 1rem;
  }
  .wave {
    bottom: -75px;
  }
  .projects h2 {
    font-size: 3rem;
  }
  .pricing .cards {
    gap: 40px;
  }
  .card {
    padding: 10px;
    width: 17rem;
    height: 25rem;
  }
  .card h3 {
    font-size: 2.25rem;
  }
  .card li {
    font-size: 1rem;
  }
  .card .price {
    font-size: 3rem;
  }
  .card .custom-price {
    font-size: 2rem;
  }
  .berry-1 {
    top: 30%;
    left: 70%;
  }
  .privacy p {
    font-size: 1rem;
  }
}

/* mobile*/
@media (max-width: 480px) {
  section {
    padding-bottom: 3rem;
  }

  .container h2 {
    font-size: 2.5rem;
    padding-bottom: 1rem;
  }
  .container p {
    font-size: 1rem;
  }
  .projects h2 {
    font-size: 2.5rem;
    padding-bottom: 1rem;
  }
  .privacy p {
    text-align: center;
  }
  .wave {
    bottom: -48px;
    height: 25%;
    background: url(/assets/img/gradient.png) bottom / cover no-repeat;
  }
  
  .projects
  .container{
      flex-direction: column;
  }
  
  .projects__info{
      width: 100%;
  }
  
   .projects__pages{
      margin: 0 auto;
      width: 55%;
  }
}




