@charset "UTF-8";
/*-----------------------------------------------------------------------------------

    Theme Name: Cerrajero Guanarteme
    Theme URI: https://ardanaz.com
    Description: Estilos para Cerrajero Guanarteme
   

-----------------------------------------------------------------------------------*/

:root {
  --primary-color: #EE4B2B; 
  --text-color: #FFFFFF;
  --background-color: #1a1a1a; 
  --font-family-base: 'Arial', 'Helvetica', sans-serif;
  --max-width: 960px;
}

body {
  margin: 0; 
  font-family: var(--font-family-base);
  font-size: 16px; 
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.hero {
  position: relative;
  background-image: url('fachada.jpg'); 
  background-size: cover;
  background-position: center;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  padding: 50px 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

h1, .h1 {
  font-size: calc(1.8rem + 2.5vw); 
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-color); 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 4rem;
  }
}

.hero p.direccion {
  font-size: calc(1rem + 0.8vw);
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
@media (min-width: 1200px) {
  .hero p.direccion {
    font-size: 1.8rem;
  }
}

.telefono {
  font-size: calc(1.5rem + 1.5vw);
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  background-color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.telefono:hover {
  background-color: #CC4024;
}


h2, .h2 {
  font-size: calc(1.5rem + 1vw);
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 2.5rem;
  }
}

h3, .h3 {
  font-size: calc(1.3rem + 0.6vw);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.8rem;
  }
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  max-width: 700px; 
  margin-left: auto;
  margin-right: auto;
}

.seccion-espacio {
  padding: 40px 0; 
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 30px;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .servicios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.servicio-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.servicio-item h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.servicio-item p {
  font-size: 1rem;
}