@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: white;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.background-blur {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index:-1;
}

.header-area {
  background: #111a;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 2px solid #990000;
  position: relative;
}

.logo {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 200px;
}

.logo img { width: 100%; height: auto; border-radius: 8px; }

.contact-info {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border: 2px solid #990000;
  border-radius: 8px;
  padding: 10px 15px;
  color: white;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  z-index: 2;
}

.contact-info span { display: block; }

@media (max-width: 768px) {
  .contact-info { position: static; transform: none; margin-top: 10px; text-align: center; }
}

header h1 {
  font-size: 3.5rem;
  background: linear-gradient(90deg,#990000,white,#990000);
  -webkit-background-clip: text;
  color: transparent;
  background-size: 300%;
  animation: glisten 6s linear infinite;
  opacity: 0.85;
  margin: 0;
}

header .slogan { font-size: 1.2rem; color: #ddd; margin-top: 0.15em; }

@keyframes glisten {0%{background-position:0%;}100%{background-position:300%;}}

nav {
  background: #000c;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 30px;
  border-bottom: 2px solid #990000;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 6px 14px;
  border-radius: 6px;
}

nav a:hover { background: #990000; }

.container, .description-box, .grid, .wrapper, form { }

.title-wrapper { text-align: center; margin: 40px 0; }

.section-title {
  display: inline-block;
  font-size: 2.8rem;
  color: transparent;
  background: linear-gradient(90deg,#990000,white,#990000);
  -webkit-background-clip: text;
  background-size: 300%;
  animation: glisten 6s linear infinite;
  padding: 5px 15px;
  border-radius: 6px;
}

.grid { max-width: 1000px; margin: 50px auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }

.box {
  background: #000a;
  border: 2px solid #990000;
  border-radius: 12px;
  padding: 40px 10px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  transition: .2s;
}

.box:hover { transform: scale(1.03); background: #111c; }

.box a {
  color: white;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.box a:hover { text-decoration: underline; }

.wrapper { max-width: 1000px; margin: 60px auto; display: flex; gap: 30px; justify-content: center; }

.card {
  background: #000a;
  border: 2px solid #990000;
  border-radius: 12px;
  padding: 25px;
  width: 250px;
  text-align: center;
  transition: .2s;
}

.card:hover { transform: scale(1.05); background: #111c; }

.description-box {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #000a;
  border: 2px solid #990000;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
}

form {
  max-width: 500px;
  margin: 80px auto;
  background: #111c;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #990000;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: #222;
  border: 1px solid #990000;
  color: white;
  border-radius: 8px;
}

button {
  width: 100%;
  padding: 10px;
  background: #990000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

button:hover { opacity: .8; }

#successMessage { display: none; text-align: center; margin-top: 15px; padding: 12px; background: #009900; border-radius: 8px; font-weight: bold; }

.wave-wrapper {
  opacity: 0;
  transform: translateY(30px);
  animation: waveAppear 0.6s forwards;
}

.wave-wrapper:nth-child(1) { animation-delay: 0.1s; }
.wave-wrapper:nth-child(2) { animation-delay: 0.2s; }
.wave-wrapper:nth-child(3) { animation-delay: 0.3s; }
.wave-wrapper:nth-child(4) { animation-delay: 0.4s; }
.wave-wrapper:nth-child(5) { animation-delay: 0.5s; }
.wave-wrapper:nth-child(6) { animation-delay: 0.6s; }
.wave-wrapper:nth-child(7) { animation-delay: 0.7s; }
.wave-wrapper:nth-child(8) { animation-delay: 0.8s; }
.wave-wrapper:nth-child(9) { animation-delay: 0.9s; }

@keyframes waveAppear {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.home-box {
  padding: 25px 20px;
  max-width: 700px;
  margin: 50px auto;
}

footer {
  background: #111a;
  color: white;
  text-align: center;
  padding: 8px 0;
  margin-top: 24px;
  border-top: 2px solid #990000;
}

footer nav a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

footer nav a:hover { text-decoration: underline; }

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 20px;
  box-sizing: border-box;
}

.services-image {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

.services-text {
  flex: 1 1 50%;
  color: #fff;
  line-height: 1.6;
}

.services-text h2 {
  margin-top: 0;
  font-size: 1.9rem;
  color: #fff;
}

.services-text p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
}

.contact-now-wrapper {
    text-align: center;
    margin: 40px 0;
}

.contact-now-btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid red;
    color: #fff;
    background-color: red;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-now-btn-outline:hover {
    background-color: darkred;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

.pricing-images-wrapper {
    display: flex;
    justify-content: center; /* CENTER images like original */
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pricing-images-wrapper .pricing-image {
    width: 300px;
    height: 200px;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-images-wrapper .pricing-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .services-container {
    flex-direction: column;
    gap: 18px;
  }

  .services-image, .services-text {
    flex: none;
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  /* Templates page: show only first 3 blocks */
  body.templates-page .grid .box:nth-child(n+4) {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px;
  }

  .pricing-images-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .pricing-images-wrapper .pricing-image {
    width: 90%;
    height: auto;
  }

  .wrapper {
    flex-direction: column;
    align-items: center;
  }
}
