@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Raleway:wght@300;400;600;700&display=swap");

body {
  font-family: "Raleway", sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #f5f5f5;
  min-height: 100vh;
  background-attachment: fixed;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
}

.hero-section {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23333"/><path d="M0 0L100 100M100 0L0 100" stroke="%23d4af37" stroke-width="1" opacity="0.2"/></svg>');
  background-size: 200px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
}

.barber-icon {
  position: relative;
  z-index: 2;
  background: rgba(61, 47, 47, 0.7);
  border: 2px solid #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(5px);
}

.barber-pole {
  height: 80px;
  width: 30px;
  background: linear-gradient(
    red 0%,
    red 33%,
    white 33%,
    white 66%,
    blue 66%,
    blue 100%
  );
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  animation: rotatePole 5s linear infinite;
}

@keyframes rotatePole {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}

.service-card {
  background: linear-gradient(145deg, #2c2c2c 0%, #1f1f1f 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: #d4af37;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #d4af37;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.social-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  z-index: -1;
}

.social-btn:hover::before {
  height: 100%;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.testimonial-card {
  background: linear-gradient(145deg, #2c2c2c 0%, #1f1f1f 100%);
  border-left: 4px solid #d4af37;
}

.footer {
  background: rgba(28, 28, 28, 0.95);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  height: 250px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.floating-btn {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.price-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #d4af37;
  color: #1a1a1a;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
