/*
Theme Name: davidcenteno
Theme URI: 
Author: cere_alex
Author URI: 
Description: 
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 5.6
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo
Tags: 

davidcenteno is distributed under the terms of the GNU GPL.
*/

/*

INDICE
----------------------------
    - BS COMMON
    - WEB VARIABLES
        - Text
        - Background Images
        - Background Gradient
    - WEB
        - Header
        - Navbar
        - Rotating Text

*/

:root {
    --color-primario: 65, 204, 188;
    --color-secundario: 255, 165, 82;
    --color-terciario: 65, 204, 188;
    --color-cuaternario: 65, 204, 188;

    --bs-nav-link-font-size: 1rem;
}

html {
    margin-top: 0px !important;
}

#wpadminbar {
    opacity: 0.1;
}

#wpadminbar:hover {
    opacity: 1;
}


/* BS COMMON */

.bg-body-black{
    --bs-bg-opacity: 0;
    background-color: rgba(var(--color-primario), var(--bs-bg-opacity)) !important;
    mix-blend-mode: multiply;
}

.navbar {
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0.5rem;
    --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);
    --bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-brand-padding-y: 0.3125rem;
    --bs-navbar-brand-margin-end: 1rem;
    --bs-navbar-brand-font-size: 1.25rem;
    --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-toggler-padding-y: 0.25rem;
    --bs-navbar-toggler-padding-x: 0.75rem;
    --bs-navbar-toggler-font-size: 1.25rem;
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e);
    --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);
    --bs-navbar-toggler-border-radius: var(--bs-border-radius);
    --bs-navbar-toggler-focus-width: 0.25rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}

.btn {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 2px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s 
        ease-in-out, background-color .15s 
        ease-in-out, border-color .15s 
        ease-in-out, box-shadow .15s 
        ease-in-out;
    text-transform: uppercase;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(var(--color-primario), 0);
    --bs-btn-border-color:  rgba(var(--color-primario), 1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(var(--color-primario), 1);
    --bs-btn-hover-border-color: rgba(var(--color-primario), 1);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(var(--color-primario), 1);
    --bs-btn-active-border-color: rgba(var(--color-primario), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(var(--color-secundario), 0);
    --bs-btn-border-color:  rgba(var(--color-secundario), 1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(var(--color-secundario), 1);
    --bs-btn-hover-border-color: rgba(var(--color-secundario), 1);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(var(--color-secundario), 1);
    --bs-btn-active-border-color: rgba(var(--color-secundario), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}


/* WEB VARIABLES */

/* Text */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

h1.special-h1 {
    font-size: 2rem;
}

body, p, li, input, button {
    font-family: 'Lato', sans-serif;
}

/* Background Images */

.bg-img-cover-norepeat-center {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Background Gradient */

.background-gradient-black {
    position: relative;
}

.background-gradient-black:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 100%);
}

/* Misc */
.width-dec {
    opacity: 1;
    width: 5rem;
    margin-top: 1rem;
    background-color: rgba(var(--color-secundario), 1);
    border: 2px rgba(var(--color-secundario), 1) solid;
}

/* WEB */
/* Header */

.site-header {
    border-bottom: 5px solid rgba(var(--color-primario, 1)); /* ancho, estilo, color */
}

/* Navbar */

.navbar {
    transition: all 0.4s ease-in-out;
}

.custom-logo {
  height: 60px; /* ajusta a tu gusto */
  width: auto;
  display: inline-block;
}

.custom-logo-footer {
  height: 100px; /* ajusta a tu gusto */
  width: auto;
  display: inline-block;
}

#nav.active.bg-body-nav {
    --bs-bg-opacity: 0;
    background-color: rgba(255, 255, 255, var(--bs-bg-opacity)) !important;
    mix-blend-mode: multiply;
}

#nav.bg-body-nav {
    --bs-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--bs-bg-opacity)) !important;
    mix-blend-mode: multiply;
}

#nav.navbar {
    --bs-emphasis-color-rgb: 0, 0, 0!important;
}


#nav.active.navbar {
    --bs-emphasis-color-rgb: 255, 255, 255!important;
}

#nav .nav-link {
    font-size: 0.9rem;
    transition: all 0.4s ease-in-out;

}

#nav.active .nav-link {
    font-size: 1rem;
    transition: all 0.4s ease-in-out;
}

#nav.active .custom-logo {
    filter: invert(1) brightness(10);
    width: 10rem;
    height: fit-content;
    transition: all 0.4s ease-in-out;
}

#nav .custom-logo {
    filter: invert(0) brightness(1);
    width: 5rem;
    height: fit-content;
    transition: all 0.4s ease-in-out;
}

.current_page_item {
    border: 2px rgba(var(--color-secundario, 1)) solid;
}
.current-menu-item {
    border: 2px rgba(var(--color-secundario, 1)) solid;
}

.site-header li {
    position: relative;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
    margin-left: .5rem !important;
    margin-right: .5rem !important;
}

.site-header li::before {
  content: "";
  position: absolute;
  height: 0%;
  width: 100%;
  bottom: 0;
  left: 0;
  background-color: rgba(var(--color-secundario, 1));
  z-index: -1;
  transition: all 0.3s;
}

.site-header li:hover::before {
  height: 100%;
}

/* Rotating Text */

#rotatingText {
    opacity: 1; /* Start with opacity 0 */
    transition: opacity 0.5s ease-in-out; /* Transition for opacity change */
    font-weight: 700;
    font-size: 3rem;
    width: 100%;
    display: block;
}

.fade-in {
    opacity: 1!important;
}

.fade-out {
    opacity: 0!important;
}

label.form-label {
    font-size: 0.8rem;
}

/* SUBSCRIPTION PAGE */

.card-text ul {
    list-style: none;
    padding: 0;
}

.card-text ul li {
    font-size: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.card-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em; /* adjust vertical alignment */
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFA552' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/><path d='m10.97 4.97-.02.022-3.473 4.425-2.093-2.094a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

.card-title-wrapper {
    min-height: 6rem; /* adjust to your desired height */
    display: flex;
    align-items: center; /* vertical center if titles are shorter */
    justify-content: center; /* optional: horizontal center */
    text-align: center;
}

.starred-service {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(var(--color-secundario), 1);
    width: 3rem;
    height: 3rem;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.starred-service svg {
    position: absolute;
    left: 70%;
    top: 30%;
    transform: translate(-50%, -50%);
}

.starred-service path {
    fill: black;
}

.nav-submenu-services.nav-underline .nav-link.active {
    font-weight: 700;
    color: rgba(var(--color-secundario), 1);
    border-bottom-color: currentcolor;
}

.nav-submenu-services.nav-underline .nav-link {
    color: rgba(var(--color-primario), 1);
    font-size: 0.8rem;
}

.single-services section:nth-child(odd) {
    background-color: rgba(245, 245, 245, 1);
}

.page-id-31 section:nth-child(odd) {
    background-color: rgba(245, 245, 245, 1);
}

.step-step > div {
    position: relative;
}

.step-step > .content > span {
    position: absolute;
    font-size: 10rem;
    top: -5rem;
    left: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    z-index: -1;
    opacity: 0.5;
    color: rgba(var(--color-secundario), 1);
}

.step-step > .content:nth-child(odd) > span {
    color: rgba(var(--color-primario), 1);
}

.img-special .left img {
    width: 120%;
    height: 500px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.img-special .right img {
    width: 120%;
    height: 500px;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.timeline i {
    position: absolute;
    font-size: 4rem;
    top: 5%;
    left: -5%;
    transform: translate(50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    z-index: -1;
    opacity: 0.5;
    color: rgba(var(--color-secundario), 1);
}

.page-template-page-inner ul {
    margin-bottom: 1rem;
}