/*
Theme Name: Valgroup Services
Theme URI: https://valgroupservices.com
Author: Valgroup Services
Author URI: https://valgroupservices.com
Description: Tema WordPress a medida para Valgroup Services - Líderes en estructuras, acabados y pintura profesional.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valgroup-services
Tags: construction, renovation, painting, sheetrock, flooring
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #000000;
  --bg-light: #111111;
  --gold: #d4af37;
  --gold-light: #e5c158;
  --text: #ffffff;
  --text-muted: #cccccc;
  --gray: #333333;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray);
  z-index: 1001;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-socials {
  display: flex;
  gap: 15px;
}

.top-phone a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s;
}

.top-phone a:hover {
  color: var(--gold);
}

.top-phone i {
  margin-right: 5px;
}

.top-socials a {
  color: var(--text-muted);
  font-size: 16px;
  transition: color 0.3s;
}

.top-socials a:hover {
  color: var(--gold);
}

.top-lang {
  color: var(--text-muted);
  font-size: 14px;
}

.top-lang a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.top-lang a:hover,
.top-lang a.active {
  color: var(--gold);
}

.header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.79);
  padding: 15px 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.header-phone a {
  color: var(--gold);
  font-size: 16px;
  font-weight: bold;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 130px;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 20px;
  color: var(--text);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 24px;
  color: #fff;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: #000;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s;
}

.btn:hover {
  background: #333;
}

section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  padding-top: 30px;
  color: var(--gold);
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}

.about {
  background: #fff;
  padding-top: 30px;
  padding-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.about h2 {
  color: #000;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #000;
  text-transform: uppercase;
}

.about-text p {
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}

.about-images {
  position: relative;
}

.about-images .carousel-inner {
  border-radius: 10px;
  overflow: hidden;
}

.about-images .carousel-inner img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.services {
  background: var(--bg-dark);
  padding-top: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.service-card h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  overflow: hidden;
}

.carousel-inner > .item {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.carousel-inner > .active {
  display: block;
  position: relative;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.carousel-control.left {
  left: 10px;
}

.carousel-control.right {
  right: 10px;
}

.carousel-control:hover {
  background: rgba(212, 175, 55, 0.8);
  color: #fff;
}

.carousel-control i {
  line-height: 40px;
}

.projects {
  background: #fff;
}

.projects h2 {
  color: #000;
  padding-top: 30px;
}

.projects-subtitle {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.projects-subtitle p {
  margin-bottom: 10px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.project-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.project-item:hover img {
  transform: scale(1.05);
}

.contact {
  background: #fff;
  text-align: center;
  padding-bottom: 60px;
}

.contact h2 {
  color: #000;
}

.contact .section-subtitle {
  color: #333;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-info {
  text-align: left;
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.info-shape {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-shape.accent-color {
  background: var(--gold);
}

.info-shape a {
  color: #fff;
}

.info-shape i {
  color: #fff;
  font-size: 20px;
}

.info-icon {
  font-size: 20px;
  color: #fff;
}

.info-content p {
  color: #000;
  font-size: 16px;
  margin: 0;
}

.info-content a {
  color: #000;
}

.info-content a:hover {
  color: var(--gold);
}

.contact-form {
  text-align: left;
  max-width: 500px;
  width: 100%;
}

.contact-form .form-control,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 16px;
  background: #fff;
  color: #000;
}

.contact-form textarea.form-control,
.wpcf7-form textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .btn,
.wpcf7-form input[type="submit"] {
  background: var(--gold);
  color: var(--bg-dark);
  padding: 18px 40px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  width: 100%;
}

.contact-form .btn:hover,
.wpcf7-form input[type="submit"]:hover {
  background: var(--gold-light);
}

.page-hero {
  min-height: 50vh;
  padding-top: 125px;
}

.page-hero .hero-content h1 {
  font-size: 42px;
}

.simple-section {
  background: #fff;
  color: #000;
  text-align: left;
}

.simple-section h2 {
  color: #000;
  text-align: left;
}

.simple-section p,
.simple-section li {
  color: #333;
}

.simple-section ul {
  padding-left: 20px;
  margin-top: 10px;
}

#footer {
  background: var(--bg-light);
  padding: 30px 0;
  border-top: 1px solid var(--gray);
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.bottom-bar-content {
  color: var(--text-muted);
}

.bottom-bar-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.bottom-bar-menu a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.bottom-bar-menu a:hover {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-images .carousel-inner img {
    max-height: 350px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    width: 120px;
    height: 120px;
  }

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

  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 400px;
  }

  .bottom-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
