/* Fuente base para todo el cuerpo */
body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 18pt;
  padding-top: 80px;
}

/* Fuente para todos los títulos */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 20pt;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */
.custom-navbar {
  background-color: white;
  border-bottom: 2px solid #e0e0e0;
  padding: 10px 20px;
}

.logo-navbar {
  height: 65px;
}

.custom-navbar .nav-link {
  color: #891789;
  font-weight: 600;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #e28bff;
}

.icono-red {
  width: 30px;
  height: auto;
}

/* HERO GENERAL */
.hero {
  position: relative;
  background-image: url("../imagenes/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 125vh;
  color: #760177;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

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

.btn-hero {
  background-color: #ffffff;
  color: #760177;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero:hover {
  background-color: #760177;
  color: white;
  border-color: white;
  transform: scale(1.05);
}

/* Pantallas muy grandes (4K y superiores) */
@media screen and (min-width: 2560px) {
  .hero-img {
    background-size: contain;
    background-position: center;
    height: 100vh;
  }
}

/* Mobile Small (hasta 576px) */
@media screen and (max-width: 576px) {
  .hero-img {
    background-position: center;
  }
}

/* Mobile Medium (hasta 768px) */
@media screen and (min-width: 577px) and (max-width: 768px) {
  .hero-img {
    background-position: center;
  }
}

/* Mobile Large (hasta 992px) */
@media screen and (min-width: 769px) and (max-width: 992px) {
  .hero-img {
    background-position: center;
  }
}

/* PROYECTOS */
.proyectos {
  padding-top: 10px;
}

.fondo-portada {
  background-color: #891789;
  color: white;
}

.fondo-menu {
  background-color: #760177;
  color: white;
}

.proyectos h4 {
  margin-top: 20px;
}

.proyectos p {
  color: white;
}

.fondo-texto {
  background-color: #891789;
  padding: 2rem;
  display: flex;
  align-items: center;
  min-height: 100%;
  flex: 1;
}

.caja-blanca {
  background-color: white;
  padding: 2rem;
}

.img-ajustada {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

#proyectos {
  scroll-margin-top: 100px;
  scroll-behavior: smooth;
}

/* Invitación de boda */
.video-invitacion {
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease-in-out both;
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fondo-invitacion {
  background-color: #760177;
}


/* SERVICIOS */

.card-text {
  font-size: 14pt;
  color: black;
}

.card:hover img {
  transform: scale(1.1);
}

.card {
  border-radius: 1rem;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  max-width: 200px;
  height: auto;
}

#servicios {
  scroll-margin-top: 100px;
  scroll-behavior: smooth;
}

/* SOBRE MI */
.fondo-sobremi {
  background-color: #891789;
  color: white;
}

#sobremi {
  scroll-margin-top: 100px;
  scroll-behavior: smooth;
}

/* Botones morados personalizados */
.btn-morado {
  background-color: white;
  color: #760177;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-morado:hover {
  background-color: #891789;
  color: white;
}


@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FORMULARIO */
.contacto {
  padding: 60px 0;
}

/* FOOTER */

.footer {
  background-color: #891789;
  color: white;
  padding: 20px 0;
  overflow-x: hidden;
}

.redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.redes-icono {
  color: white;
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.redes-icono:hover {
  color: #e0b3e0;
  transform: scale(1.2);
}