@font-face {
  font-family: "Raleway";
  src: local("Raleway Bold Italic"), local("Raleway-BoldItalic"),
    url("public/fonts/dehinted-Raleway-BoldItalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: local("Raleway Regular"), local("Raleway-Regular"),
    url("public/fonts/dehinted-Raleway-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: local("Raleway Bold"), local("Raleway-Bold"),
    url("public/fonts/dehinted-Raleway-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: local("Raleway Italic"), local("Raleway-Italic"),
    url("public/fonts/dehinted-Raleway-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

:root {
  --br-1: clamp(4rem, -4.7449rem + 38.8664vw, 16rem);   
  --br-2: clamp(6rem, -7.1174rem + 58.2996vw, 24rem);  
  --br-3: clamp(1.5rem, -1.7794rem + 14.5749vw, 6rem);
  --br-4: clamp(2rem, -2.3725rem + 19.4332vw, 8rem); 
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Raleway;
  font-weight: normal;
  font-style: normal;
  background: #e3883e;
  overflow-x: hidden;
  min-width: 360px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('public/img/background.jpg') no-repeat center center;
  z-index: -1;
  pointer-events: none;
  background-size: auto;
  background-repeat: initial;
}


.viewport {
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
}

.content {
  position: relative;
  background: white;
  color: black;
  padding: clamp(1rem, 0.2713rem + 3.2389vw, 2rem) clamp(1rem, 0.2713rem + 3.2389vw, 2rem) 3rem ;
  margin: clamp(1rem, 0.2713rem + 3.2389vw, 2rem);
  max-width: clamp(20.5rem, 0.4595rem + 89.0688vw, 48rem);
  border-radius: var(--br-1) var(--br-2) var(--br-3) var(--br-4);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.2);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

p {
  position: relative;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.logo {
  display: block;
  width: clamp(6.25rem, 2.6063rem + 16.1943vw, 11.25rem);
  margin: 2rem auto clamp(2rem, 0.5425rem + 6.4777vw, 4rem) auto;
}

.enough {
  letter-spacing: 2px;
}

.hastagh {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: #e3883e;
}

.engine-link {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  text-wrap: nowrap;
  padding-inline: 0.5rem;
  border-radius: 1rem;
  border-inline: 0.5rem solid #e3883e;
  color: inherit;
  font-weight: bold;
  font-style: italic;
}

.engine-link::after {
  content: attr(data-hover-label);
  position: fixed;
  inset: 0;
  color: white;
  background-color: #761db7;
  font-size: clamp(1rem, 0.8269rem + 0.7692vw, 1.75rem);
  line-height: 1.5;
  font-weight: bold;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  white-space: pre;
}

.engine-link.whatsapp {
  border-inline: 0.5rem solid #25d366;
}

.engine-link.phone {
  border-inline: 0.5rem solid #6a48e6;
}

.engine-link.email {
  border-inline: 0.5rem solid #f0802d;
}

.engine-link.whatsapp::after {
  background-color: #25d366;
}

.engine-link.phone::after {
  background-color: #6a48e6;
}

.engine-link.email::after {
  background-color: #f0802d;
}

.services-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  margin-block-start: 1.5rem;
  transition: grid-template-rows 0.4s ease;
}

.services-content {
  background: #6a48e6;
  border-radius: 1rem;
  color: white;
  font-weight: bold;
  line-height: 1.8;
  overflow: hidden;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 24px 16px;
  justify-content: center;
  text-align: center;
}

.services-list span {
  white-space: nowrap;
}

.services-toggle {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  text-wrap: nowrap;
  padding-inline: 0.5rem;
  border-radius: 1rem;
  border-inline: 0.5rem solid #6a48e6;
  color: inherit;
  font-weight: bold;
  font-style: italic;
  cursor: pointer;
}

.services-toggle .arrow {
  position: relative;
  display: inline-block;
  width: 18px;
  top: 4px;
  color: #e3883e;
  transform-origin: center;
  transition: transform 0.3s ease, scale 0.3s ease;
}

.services-toggle .arrow svg {
  width: 17px;
  height: 17px;
}

@media (hover: hover) and (pointer: fine) {
  .services-toggle:hover .arrow {
    scale: 1.3;
  }
}

#toggle-services:checked + label .arrow {
  transform: translateY(-4px) rotate(180deg);
}

#toggle-services:checked + label + .services-wrapper {
  grid-template-rows: 1fr;
  margin-block-end: 1.5rem; 
}


.no-margin {
  margin-block-end: 0;
}

.easter-egg {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(0, 0, 0, 0.3); 
  text-underline-offset: 3px;
  transition: text-decoration-color .3s ease;
}

.easter-egg.light {
  text-decoration-color: rgba(255, 255, 255, 0.3); 
}

.easter-egg:hover {
   text-decoration-color: #f0802d; 
   text-decoration-style: initial;
}

.easter-egg.light:hover {
   text-decoration-color: #a48cf5; 
   text-decoration-style: initial;
}

.easter-whisper {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #e3883e;
  pointer-events: none;
  user-select: text;
  z-index: 0;
  opacity: 0.02;
}

a:focus-visible {
  outline: 1px solid #e3883e;
  outline-offset: 2px;
  border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .engine-link:hover::after {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 854px) {
  .content:hover {
    animation: br-pulse 100s infinite ease-in-out;
  }
}

@keyframes br-pulse {
  0% {
    border-radius: var(--br-1) var(--br-2) var(--br-3) var(--br-4);
  }

  10% {
    border-radius: 35% 28% 30% 25%;
  }

  20% {
    border-radius: 40% 30% 35% 28%;
  }

  30% {
    border-radius: 28% 35% 32% 30%;
  }

  40% {
    border-radius: 32% 38% 28% 35%;
  }

  50% {
    border-radius: 25% 40% 30% 33%;
  }

  60% {
    border-radius: 30% 25% 34% 32%;
  }

  70% {
    border-radius: 38% 32% 25% 30%;
  }

  80% {
    border-radius: 30% 35% 35% 28%;
  }

  90% {
    border-radius: 28% 30% 30% 35%;
  }

  100% {
    border-radius: var(--br-1) var(--br-2) var(--br-3) var(--br-4);
  }
}

