@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --black: #111111;
  --dark: #1b1b1b;

  --white: #ffffff;

  --light: #f5f3ef;
  --light-2: #ebe7e0;

  --gray: #666666;

  --accent: #c00000;

  --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.15);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;

  background: var(--light);

  color: #111;

  overflow-x: hidden;

  line-height: 1.6;
}



body::before {
  content: "";

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);

  background-size: 6px 6px;

  pointer-events: none;

  z-index: -1;
}



img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: "Poppins", sans-serif;
}

input,
textarea,
button {
  outline: none;
}



section {
  position: relative;

  padding: 55px 10%;
}

.container {
  width: 100%;

  max-width: 1400px;

  margin: auto;
}



.section-title {
  margin-bottom: 60px;
}

.section-title span {
  display: block;

  color: var(--accent);

  font-size: 0.9rem;

  letter-spacing: 5px;

  margin-bottom: 10px;

  text-transform: uppercase;
}

.section-title h2 {
  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(3rem, 7vw, 7rem);

  line-height: 0.9;

  color: #938c7d;

  letter-spacing: 3px;
}



.about {
  background: var(--light);

  color: #111;
}

.artists {
  background: var(--white);

  color: #111;
}

.services {
  background: var(--light);

  color: #111;
}

.contact {
  background: var(--white);

  color: #111;
}

.portfolio {
  background: var(--black);

  color: white;
}



.btn-primary {
  background: var(--accent);

  color: white;

  padding: 18px 50px;

  border: none;

  display: inline-flex;

  justify-content: center;

  align-items: center;

  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-secondary {
  border: 2px solid white;

  color: white;

  padding: 18px 50px;

  display: inline-flex;

  justify-content: center;

  align-items: center;

  transition: 0.3s;
}

.btn-secondary:hover {
  background: white;

  color: black;
}



::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
}

::-webkit-scrollbar-thumb:hover {
  background: #a00000;
}



.dropdown {
  list-style: none;
}

.dropdown-btn {
  width: 100%;

  background: none;

  border: none;

  color: white;

  text-align: left;

  padding: 14px 20px;

  cursor: pointer;

  font-size: 15px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu {
  display: none;

  padding-left: 20px;
}

.dropdown-menu li a {
  display: block;

  padding: 10px 15px;

  font-size: 14px;

  color: #bbb;
}

.dropdown-menu li a:hover {
  color: white;
}



.dropdown.active .dropdown-menu {
  display: block;
}



.dropdown.active .dropdown-btn span {
  transform: rotate(360deg);
}


.services {
  position: relative;

  padding:
    90px
    clamp(24px, 8vw, 170px)
    110px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(192, 0, 0, 0.08),
      transparent 27%
    ),
    #050505;
}




.services .section-title {
  margin-bottom: 60px;
}

.services .section-title > span {
  display: block;

  margin-bottom: 7px;

  color: #e31b23;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.38em;
}

.services .section-title h2 {
  margin: 0;

  color: #9c968b;

  font-family:
    "Bebas Neue",
    sans-serif;

  font-size:
    clamp(
      66px,
      7vw,
      116px
    );

  font-weight: 400;

  line-height: 0.95;

  letter-spacing: 0.015em;
}


.services-subtitle {
  margin: 14px 0 0;

  color:
    rgba(
      255,
      255,
      255,
      0.38
    );

  font-size: 12px;

  letter-spacing: 0.03em;
}




.services-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    clamp(
      20px,
      2.5vw,
      34px
    );

  perspective: 1800px;
}




.service-flip-card {
  position: relative;

  min-width: 0;

  height:
    clamp(
      520px,
      52vw,
      690px
    );

  outline: none;

  cursor: pointer;

  perspective: 1600px;
}




.service-flip-card__inner {
  position: relative;

  width: 100%;
  height: 100%;

  transform-style:
    preserve-3d;

  transition:
    transform
    0.8s
    cubic-bezier(
      0.2,
      0.75,
      0.25,
      1
    );
}




.service-flip-card.is-flipped
.service-flip-card__inner {
  transform:
    rotateY(180deg);
}




.service-flip-card__face {
  position: absolute;

  inset: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.1
    );

  border-radius: 28px;

  backface-visibility:
    hidden;

  -webkit-backface-visibility:
    hidden;

  box-shadow:
    0
    24px
    60px
    rgba(
      0,
      0,
      0,
      0.34
    );
}




.service-flip-card__front {
  background: #101010;
}




.service-flip-card__front img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  filter:
    brightness(0.68)
    saturate(0.72);

  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}


.service-flip-card:hover
.service-flip-card__front img {
  transform: scale(1.035);

  filter:
    brightness(0.78)
    saturate(0.82);
}




.service-flip-card__shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(
        0,
        0,
        0,
        0.08
      )
      10%,

      rgba(
        0,
        0,
        0,
        0.16
      )
      38%,

      rgba(
        0,
        0,
        0,
        0.94
      )
      100%
    );

  pointer-events: none;
}




.service-flip-card__number {
  position: absolute;

  top: 23px;
  left: 24px;

  z-index: 4;

  color:
    rgba(
      255,
      255,
      255,
      0.65
    );

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 0.12em;
}




.service-flip-card__hint {
  position: absolute;

  top: 20px;
  right: 20px;

  z-index: 5;

  min-height: 39px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 0 13px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.16
    );

  border-radius: 100px;

  background:
    rgba(
      8,
      8,
      8,
      0.52
    );

  color: #fff;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.08em;

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}


.service-flip-card:hover
.service-flip-card__hint {
  border-color:
    rgba(
      225,
      0,
      20,
      0.65
    );

  background:
    rgba(
      192,
      0,
      0,
      0.8
    );
}




.service-flip-card__front-content {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 4;

  padding:
    34px
    30px
    36px;
}


.service-flip-card__front-content > span {
  display: block;

  margin-bottom: 8px;

  color: #ff3340;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.22em;
}


.service-flip-card__front-content h3 {
  margin: 0;

  color: #fff;

  font-family:
    "Bebas Neue",
    sans-serif;

  font-size:
    clamp(
      48px,
      4vw,
      68px
    );

  font-weight: 400;

  line-height: 0.9;

  letter-spacing: 0.025em;
}


.service-flip-card__front-content p {
  max-width: 310px;

  margin:
    16px
    0
    0;

  color:
    rgba(
      255,
      255,
      255,
      0.7
    );

  font-size: 13px;

  line-height: 1.65;
}




.service-flip-card__back {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding:
    clamp(
      30px,
      3vw,
      46px
    );

  transform:
    rotateY(180deg);

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(
        192,
        0,
        0,
        0.23
      ),
      transparent 33%
    ),
    linear-gradient(
      145deg,
      #1b1819,
      #0d0d0e 65%
    );

  color: #fff;
}




.service-flip-card__back::after {
  content: "";

  position: absolute;

  right: -80px;
  bottom: -80px;

  width: 230px;
  height: 230px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.05
    );

  border-radius: 50%;

  pointer-events: none;
}




.service-flip-card__back-number {
  position: absolute;

  top: 22px;
  right: 28px;

  color:
    rgba(
      255,
      255,
      255,
      0.035
    );

  font-family:
    "Bebas Neue",
    sans-serif;

  font-size: 100px;

  line-height: 1;

  pointer-events: none;
}




.service-flip-card__back-label {
  position: relative;

  z-index: 2;

  color: #ff3441;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.24em;
}




.service-flip-card__back h3 {
  position: relative;

  z-index: 2;

  margin:
    12px
    0
    16px;

  color: #fff;

  font-family:
    "Bebas Neue",
    sans-serif;

  font-size:
    clamp(
      52px,
      4vw,
      68px
    );

  font-weight: 400;

  line-height: 0.88;

  letter-spacing: 0.025em;
}




.service-flip-card__line {
  position: relative;

  z-index: 2;

  width: 42px;
  height: 3px;

  margin-bottom: 22px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #c00000,
      #ff3441
    );
}




.service-flip-card__back > p {
  position: relative;

  z-index: 2;

  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.65
    );

  font-size: 12px;

  line-height: 1.8;
}




.service-flip-card__back ul {
  position: relative;

  z-index: 2;

  display: grid;

  gap: 9px;

  margin:
    22px
    0;

  padding: 0;

  list-style: none;
}


.service-flip-card__back li {
  display: flex;

  align-items: center;

  gap: 9px;

  color:
    rgba(
      255,
      255,
      255,
      0.8
    );

  font-size: 11px;
}


.service-flip-card__back li i {
  width: 22px;
  height: 22px;

  display: grid;

  place-items: center;

  flex: 0 0 22px;

  border-radius: 50%;

  background:
    rgba(
      192,
      0,
      0,
      0.20
    );

  color: #ff3542;

  font-size: 8px;
}




.service-flip-card__button {
  position: relative;

  z-index: 3;

  min-height: 51px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  width: 100%;

  margin-top: 3px;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #c00000,
      #e9212e
    );

  color: #fff;

  font-size: 11px;
  font-weight: 800;

  text-decoration: none;

  box-shadow:
    0
    13px
    28px
    rgba(
      192,
      0,
      0,
      0.2
    );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.service-flip-card__button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0
    17px
    34px
    rgba(
      192,
      0,
      0,
      0.28
    );
}




.service-flip-card__return {
  position: relative;

  z-index: 4;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  margin:
    15px
    auto
    0;

  padding: 5px 7px;

  border: 0;

  background: transparent;

  color:
    rgba(
      255,
      255,
      255,
      0.45
    );

  font-family:
    "Poppins",
    sans-serif;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.14em;

  cursor: pointer;
}


.service-flip-card__return:hover {
  color: #fff;
}




.service-flip-card:focus-visible {
  border-radius: 28px;

  box-shadow:
    0
    0
    0
    3px
    rgba(
      255,
      44,
      57,
      0.48
    );
}




@media (max-width: 1000px) {

  .services {
    padding:
      75px
      28px
      85px;
  }


  .services-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .service-flip-card:last-child {
    grid-column:
      1 / -1;

    width:
      min(
        520px,
        100%
      );

    justify-self: center;
  }


  .service-flip-card {
    height: 600px;
  }

}




@media (max-width: 650px) {

  .services {
    padding:
      64px
      15px
      70px;
  }


  .services .section-title {
    margin-bottom: 36px;
  }


  .services .section-title h2 {
    font-size:
      clamp(
        58px,
        17vw,
        76px
      );
  }


  .services-grid {
    grid-template-columns:
      1fr;

    gap: 20px;
  }


  .service-flip-card,
  .service-flip-card:last-child {
    grid-column: auto;

    width: 100%;

    height:
      min(
        610px,
        155vw
      );
  }


  .service-flip-card__front-content {
    padding:
      27px
      22px
      29px;
  }


  .service-flip-card__front-content h3 {
    font-size:
      clamp(
        48px,
        15vw,
        64px
      );
  }


  .service-flip-card__back {
    padding:
      31px
      24px;
  }


  .service-flip-card__back h3 {
    font-size:
      clamp(
        50px,
        15vw,
        64px
      );
  }

}




@media (max-width: 390px) {

  .service-flip-card {
    height: 560px;
  }


  .service-flip-card__hint {
    top: 14px;
    right: 14px;

    min-height: 35px;

    padding:
      0
      10px;

    font-size: 8px;
  }


  .service-flip-card__number {
    top: 18px;
    left: 17px;
  }


  .service-flip-card__back {
    padding:
      27px
      20px;
  }


  .service-flip-card__back > p {
    font-size: 11px;
  }


  .service-flip-card__back li {
    font-size: 10px;
  }

}
