/************ TABLE OF CONTENTS ***************

GRS Constructions New Template 2025
Created by: Paul Palomino

Reset
Global Settings
Navigation
Sections: Hero, About, Service, Contact
Video Gallery
Footer
Buttons
Responsive

**********************************************/


/*** 
====================================================================
	Reset
====================================================================
***/

:root {
    --primary-color: #2c3e50;  
    --primary-color-rgb: 44, 62, 80;        
    --secondary-color: #7F7F7F; 
    --secondary-color-rgb: 127, 127, 127; 
	--tertiary-color: #EFB810; 
    --tertiary-color-rgb: 239, 184, 16;
	--backup-color: #C52D2F;   
	--backup-color-rgb: 197, 45, 47; 
    --loader-visible: flex; /* El loader se muestra */
    --content-opacity: 0.5; /* Contenido semiopaco */
    --content-pointer-events: none; /* Desactiva  */   
}

.primary-color {
    background-color: rgba(var(--primary-color-rgb), 1);
}

.primary-color:hover {
    background-color: rgba(var(--primary-color-rgb), 0.8);
}

.secondary-color {
    background-color: rgba(var(--secondary-color-rgb), 1);
}

.secondary-color:hover {
    background-color: rgba(var(--secondary-color-rgb), 0.8);
}

.tertiary-color {
    background-color: rgba(var(--tertiary-color-rgb), 1);
}

.tertiary-color:hover {
    background-color: rgba(var(--tertiary-color-rgb), 0.8);
}

.bg-primary-color {
    --bs-bg-opacity: 1;
    background-color: var(--primary-color) !important;
}

.bg-secondary-color {
    --bs-bg-opacity: 1;
    background-color:  var(--secondary-color) !important;
}

.bg-tertiary-color {
    --bs-bg-opacity: 1;
    background-color:  var(--tertiary-color) !important;
}

.xs-bg-primary {
    background-color: rgba(var(--primary-color-rgb), 0.8);
}

.xs-bg-secondary {
    background-color: rgba(var(--secondary-color-rgb), 0.8);
}

.xs-bg-tertiary {
    background-color: rgba(var(--tertiary-color-rgb), 0.8);
}

.color-black{
	color: #000 !important;
}

.color-white{
	color: #FFF !important;
}

.lnk-color-white{
	color: #FFF !important;
}

.lnk-color-white:hover{
	color: var(--primary-color) !important;
}

/*** 
====================================================================
	Global Settings
====================================================================
***/

body { 
    font-family: 'Lato', sans-serif; 
    margin: 0; padding: 0; 
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500; 
    font-family: 'Montserrat', sans-serif;
}

a{
	text-decoration:none;
	cursor:pointer;
}

textarea {
    resize: none;
}


.gap-120 {
    clear: both;
    height: 120px !important;
}

.gap-100 {
    clear: both;
    height: 100px !important;
}

.gap-80 {
    clear: both;
    height: 80px !important;
}

.gap-60 {
    clear: both;
    height: 60px !important;
}

.gap-50 {
    clear: both;
    height: 50px !important;
}

.gap-40 {
    clear: both;
    height: 40px !important;
}

.gap-30 {
    clear: both;
    height: 30px !important;
}

.gap-20 {
    clear: both;
    height: 20px !important;
}

.gap-15 {
    clear: both;
    height: 15px !important;
}

.gap-10 {
    clear: both;
    height: 10px !important;
}

.gap--10 {
    clear: both;
    height: -10px !important;
}

.gap--20 {
    clear: both;
    height: -20px !important;
}

.gap--30 {
    clear: both;
    height: -30px !important;
}

.gap--40 {
    clear: both;
    height: -40px !important;
}

.overlay { 
    background: rgba(0, 0, 0, 0.35); 
    padding: 45px;
}

.extra-spacing {
    margin-top: 70px;
    margin-bottom: 70px;
}

body.toggle-active .navbar-nav .nav-link.active::after {
    display: none;
}

body.toggle-active .navbar-nav .nav-link.active::before {
    content: "\f061"; /* Código de la flecha derecha de FontAwesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    display: inline-block;
}

/*** 
====================================================================
	Navigation
====================================================================
***/

.navbar { 
    background: transparent; 
    transition: background 0.3s; 
}

.navbar .navbar-nav .nav-link {
    color: #FFF;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease-in-out;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3), 
                 -1px -1px 3px rgba(0, 0, 0, 0.3);    
}

.navbar .navbar-nav .nav-link.active {
    position: relative;
}

.navbar .navbar-nav .nav-link.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFF;
    margin-top: 5px;
    border-radius: 2px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3), 
                 -1px -1px 3px rgba(0, 0, 0, 0.3);       
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.navbar-collapse.show .nav-link.active::after {
    display: none;
}

.navbar-collapse.show .nav-link.active::before {
    content: "\f061"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    margin-right: 8px;
}

.navbar.scrolled .navbar-collapse.show .nav-item .nav-link.active {
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.7);
}

.navbar.scrolled { 
    background:  var(--primary-color); 
}

.navbar-toggler {
    border: 1px solid #FFF !important;
    box-shadow: 0px 0px 3px rgba(255, 255, 255, 0.7);
    outline: none !important;
    margin-right: 10px !important;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1); 
}

.navbar-toggler:focus, .navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

/*** 
====================================================================
	Sections: Hero, About, Service, Contact
====================================================================
***/

.hero-section {
    background: url('../images/home/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #FFF;
    text-align: left;
    background-attachment: fixed;
    /*filter: brightness(60%);*/
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 6%;
}

.hero-section h1 {
	position: relative;
    color: #FFFFFF !important;
	font-size: 60px;
	line-height: 1.8em;
	font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3), 
                 -1px -1px 3px rgba(0, 0, 0, 0.3);       
}

.hero-section h2 {
	position:relative;
    color: #FFFFFF !important;
	font-size:30px;
	line-height:1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3), 
                 -2px -2px 3px rgba(0, 0, 0, 0.3);       
}

.hero-section button{
    margin-top:5px;
}

.gallery-section {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;    
}

.owl-carousel img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.owl-nav { display: none; }
.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.owl-dot {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}
.owl-dot.active { background: #fff; }

.custom-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-nav button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 20px;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.custom-nav button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.about-section { 
    background:  var(--primary-color); 
    color: #FFF; 
    padding: 100px 30px 120px; 
    position: relative;
}

.about-section h2 {
    color: #FFF;    
}

.about-section .row {
    margin: 0; /* Elimina márgenes en la fila */
    height: 100%;
}

.about-section .row>* {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 48%; /* Ocupa la mitad del container */
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about2-section {
    background-color: #cac9c9;
    padding: 50px 0;
}

.about2-section .row {
    margin: 0; /* Elimina márgenes en la fila */
}

.about2-section .row>* {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.contact-section { 
    background:  var(--secondary-color); 
    color: #FFF; 
    padding: 100px 0 120px; 
    position: relative;
}

.contact-section .row {
    margin: 0; /* Elimina márgenes en la fila */
    height: 100%;
}

.contact-section .row>* {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.contact-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 48%; /* Ocupa la mitad del container */
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo para los inputs */
.contact-form .form-control {
    border-radius: 10px;
    padding-left: 40px;
}

/* Iconos dentro de los inputs */
.contact-form .input-group-text {
    background: #f8f9fa;
    border-radius: 10px 0 0 10px;
}

#contactForm{
    margin-left: 10px;
    margin-right: 10px;
}

.spacer-hero-section {
    height: 25vh;    
    background: url('../images/home/hero.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.spacer-section {
    height: 140px;
    background: url('../images/home/hero.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.fixed-size {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.text-justify {
    text-align: justify;
}


/*** 
====================================================================
	Video Gallery
====================================================================
***/

.project-section {
    background: url('../images/home/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
}

.video-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.plyr__video-embed {
    aspect-ratio: 16 / 9;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;    
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-title-overlay {
    position: absolute;
    top: 10px;
    left: 15px;
    right: 15px;
    font-size: 17px;
    margin-top: 0.5rem;
    color: #FFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(197, 45, 47, 0.9);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
}

.play-button i {
    font-size: 17px;
    color: #f0efef;
}

/*** 
====================================================================
	Footer
====================================================================
***/

#footer {
    font-family: 'Montserrat';	
    padding: 0 0 30px 0;
    font-size: 14px;
    color: #fff !;
    background: var(--primary-color);
    border-top: 5px solid var(--backup-color);  
}

#footer .links-sociales a {
    color: #fff !important;
    font-size: 32px;
    padding: 4px 0 4px 16px;
    display: inline-block;
    line-height: 1px;
    transition: 0.3s;
}

#footer .links-sociales a:hover {
    color: var(--tertiary-color) !important;
}

#footer .links-sociales a:first-child {
    border-left: 0;
}

#footer .copyright {
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding-top: 30px;
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-weight: 600;
    color: #fff;
}

#footer .credits a {
    color: var(--tertiary-color)!important;
}

#footer .credits a:hover {
    color: #fff !important;
}

/*** 
====================================================================
	Buttons
====================================================================
***/

.btn-hero {
    background-color: rgba(212, 212, 212, 0.9);
    backdrop-filter: blur(10px);
    color: #424242;
    font-size: 1.4rem;
    padding: 15px 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-contact {
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    color: #FFF;
    font-size: 1.4rem;
    padding: 15px 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.btn-contact:hover {
    background-color: rgba(212, 212, 212, 0.9);
    color: #424242;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/*** 
====================================================================
	Responsive
====================================================================
***/

.modal-header {
    background-color: #C52D2F;
    color: #fff;
    border-bottom: 1px solid #444;
}

.btn-close {
    filter: invert(1);
    transform: scale(1.5); 
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 1920px) {
    .hero-section {
        padding-left: 12%;
        padding-right: 12%;
    }

    .overlay{
        padding: 60px;
    }    
}

@media (max-width: 767px) { 
    .navbar-nav {
        padding: 25px 0 20px 30px;
    }

    .overlay{
        padding: 35px;
    }

    .hero-section {
        padding-bottom: 25%;
    }

    .hero-section h1 {
        font-size: 38px;
        line-height: 1.3em;
    }
    
    .hero-section h2 {
        font-size: 22px;
        line-height: 1.2em;
    }

    .hero-section button{
        font-size: 1.2rem;
        padding: 12px 45px;
    }
    
    .about-section {
        padding: 50px 0;
    }

    .about-section .row {
        flex-direction: column; /* Cambia el orden de los elementos en columna */
    }

    .about-image {
        position: relative; /* Elimina el absolute */
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .about-section .col-md-6 {
        width: 100%;
        max-width: 100%;
    }    

    #videoModalIframe {
        height: 60vh;
    }    
}

@media (max-width: 480px) {    

    .overlay{
        padding: 30px;
    }

    .hero-section h1 {
        font-size: 30px;
        line-height: 1.1em;
    }
    
    .hero-section h2 {
        font-size: 18px;
        line-height: 1em;
    }

    .hero-section button{
        font-size: 1rem;
        padding: 10px 40px;
    }        
}