:root {
	/* Paleta basada en los colores corporativos del logo */
	--primary: #8e5bf3;
	--secondary: #c99bf8;
	--dark: #2d213f;
}
/* Evita scroll horizontal en móviles */
html,
body {
	overflow-x: hidden;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	scroll-behavior: smooth;
}

/* Navbar styling */
.navbar {
	background-color: rgba(255, 255, 255, 0.9);
	transition: background-color 0.3s ease;
	--bs-navbar-padding-y: 0px;
}

.navbar-brand img {
	height: 90px;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	/* Tus estilos CSS para tablets aquí */
	.navbar-brand img {
		height: 60px;
	}
}

.navbar-nav .nav-link {
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--dark);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--primary);
}

/* Hero section */
#hero {
	position: relative;
	height: 100vh;
	background-image: url("img/hero-bg.webp");
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-align: center;
}

#hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(45, 33, 63, 0.35);
}

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

#hero .btn-light {
	background-color: #fff;
	color: var(--primary);
	border: none;
}

#hero .btn-light:hover {
	background-color: var(--secondary);
	color: #fff;
}

/* Sections */
section {
	padding: 60px 0;
}

.section-title {
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 20px;
}

/* Services cards */
.card-service {
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

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

.card-service i {
	color: var(--primary);
}

/* Contact section */
#contacto .form-control {
	border-radius: 0.5rem;
}

#contacto .btn-primary {
	background-color: var(--primary);
	border: none;
}

#contacto .btn-primary:hover {
	background-color: var(--secondary);
}

/* Contact section layout and style */
/* Fondo suave para la sección de contacto */
#contacto {
	background: linear-gradient(to bottom, #f8f6fb 0%, #f2ecfa 100%);
}
/* Estilos de lista de información de contacto */
#contacto .contact-info ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
#contacto .contact-info li i {
	color: var(--primary);
}
#contacto .contact-info a {
	color: var(--dark);
}
#contacto .contact-info a:hover {
	color: var(--primary);
	text-decoration: underline;
}
/* Botón flotante de WhatsApp */
.whatsapp-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #25d366;
	color: #fff;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	text-decoration: none;
}
.whatsapp-button:hover {
	background-color: #1ebe5d;
	color: #fff;
}

/* Footer */
footer {
	background-color: var(--dark);
	color: #fff;
	padding: 20px 0;
	text-align: center;
}

footer a {
	color: yellow;
	text-decoration: none;
}

footer a:hover {
	color: rgb(205, 120, 205);
}

.justifica {
	text-align: justify;
}

#hero,
#sobre-mi,
#servicios,
#contacto {
	scroll-margin-top: 80px;
}

.tit_servicio {
	align-content: center;
}

#sobre-mi a {
	text-decoration: none;
	color: var(--primary);
}

#sobre-mi a:hover {
	color: var(--dark);
}
