@charset "utf-8";
/* CSS Document */
/* --- ESTILOS PROFESIONALES GILBYTES --- */

body {
	font-family: 'Poppins', sans-serif;
	margin: 0;
	background: #f4f4f4;
	color: #666;
	text-align: center;
}

/* HEADER */
.header {
  background: #FFF;
  color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-img {
	height: 100px;
}

.nav-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 90%;
	margin: auto;
	color: #003057;
}

.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.nav a {
  color: #003057;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

/* HERO */
.hero {
	height: 90vh;
	background: url('img/hero.jpg') center/cover no-repeat;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-top: 80px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
	position: relative;
	color: white;
	max-width: auto;
	animation: 70vh;
}
/* Buttons */
.btn{display:inline-block;padding:10px 18px;border-radius:8px;text-decoration:none;font-weight:700}
.btn-primary{background:var(--accent);color:#fff}
.btn-ghost{background:transparent;border:2px solid rgba(255,255,255,0.12);color:#fff}

.btn-primary {
  display: inline-block;
  background: #0059d6;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #003c99;
}

/* SECCIONES */
.section {
  padding: 10px 5%;
}

.section-title {
	font-size: 32px;
	text-align: center;
	color: #003057;
	margin-bottom: 40px;
	font-weight: 700;
	animation: fadeInUp 1s ease;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* CARDS */
.card, .project-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: transform 0.3s;
  text-align:justify
}

.card:hover, .project-card:hover {
  transform: translateY(-10px);
}

.card img, .project-card img {
  width: 100%;
  border-radius: 10px;
}

/* TESTIMONIOS */
.t-card {
  background: #e3ebff;
  padding: 15px;
  border-left: 5px solid #003b99;
  border-radius: 6px;
  font-style: italic;
}

/* FORMULARIO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.form input, .form textarea, .form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* WHATSAPP BUTTON */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 15px 18px;
  border-radius: 50px;
  font-size: 26px;
  color: white;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}

/* FOOTER */
.footer {
  text-align: center;
  background: #002f6c;
  color: white;
  padding: 20px;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav { display: none; flex-direction: column; background: #002f6c; padding: 10px; }
  .nav.active { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { height: 70vh; }
}
.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #0D6EFD;
  box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}

.clientes {
  padding: 60px 20px;
  background: #f8f9fb;
  text-align: center;
}

.clientes h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1f2933;
}

.carousel {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  gap: 60px;
  animation: scroll 25s linear infinite;
}

.carousel-track img {
  height: 70px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
