
/* Tipografía refinada y base limpia */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Botones más modernos */
.btn,
.btn-primary {
    background-color: #e95c5c;
    border: none;
    font-weight: bold;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover,
.btn-primary:hover {
    background-color: #d24d4d;
}

/* Servicios con sombra sutil */
.service {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Iconos principales en rojo */
.iconbox i {
    color: #e95c5c;
}

/* Listas ordenadas */
.service ul {
    list-style: disc;
    padding-left: 1.5rem;
    text-align: left;
    margin-top: 1rem;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'ClashDisplay';
  src: url('../fonts/ClashDisplay-Variable.woff2') format('woff2'),
       url('../fonts/ClashDisplay-Variable.woff') format('woff'),
       url('../fonts/ClashDisplay-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}
/* Variables */
:root {
    --primary-color: #3a506b;
    --secondary-color: #5d5c61;
    --accent-color: #1d7d81;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --gray-color: #495057;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

#videoFondo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    background-size: cover;
    overflow: hidden;

}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);


}
header, nav {
  position: relative;
  z-index: 2;
}

.overlay {
  background: rgba(0, 0, 0, 0.55); /* antes 0.4 */
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  }

.container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container p{
    font-family: "clashdisplay"; 
    font-size: 1.6rem;

}

.logo-container h1 {
  color: white; /* antes: var(--primary-color) */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}


main section a {
    text-decoration: none;
    color: rgb(35, 34, 34);
    transition: color 0.3s ease;
}

main section a:hover {
    color: black;
}


ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.6rem;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

header,
main,
footer {
    position: relative;
    z-index: 3;
}

/* Header */
header {
    background-image: url(../img/pngegg.png);
    background-repeat: no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    padding-left: 20px;
}

.logo-container h1 {
    font-size: 2.5rem;
    color: #e0e0e0;
    margin-bottom: 0;
}

.tagline {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    margin-right: 40px;
}

nav ul li:last-child {
    margin-right: 5;
}

nav ul li a {
     color: white !important;
   font-weight: 600;
    font-size: 1.3rem;
    padding: 8px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
  color: #e95c5c !important;
  font-weight: 500;
}

nav li a,
nav .nav-link {
    font-size: 1.5rem; /* aumenta el tamaño (ajustable a tu gusto) */
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

nav li a:hover,
nav .nav-link:hover {
    color: #e95c5c;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding-right: 20px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.hero h2 {
    font-size: 2.5rem;
    color: #e95c5c;
    margin-bottom: 20px;
}

.hero .lead {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--gray-color);
}

/* Welcome Section */
.welcome {
    padding: 80px 0;
    background-color: white;
}

.welcome .container {
    max-width: 900px;
}

.welcome h2 {
    color: #e95c5c;
    text-align: center;
    margin-bottom: 30px;
}

.welcome p {
    font-size: 1.5rem;
    text-align: center;
}

.eco-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 15px 25px;
    background-color: var(--accent-color);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.eco-badge i {
    margin-right: 10px;
    font-size: 1.3rem
}

.eco-badge span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service:hover .iconbox i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.service hr,
.info-card hr {
    border: none;
    border-top: 10px solid #e95c5c;
    margin: 1rem auto;
    width: 80%;
}


/* Contact Section */

.contact {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #e95c5c;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact:hover .iconbox i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.info-card {
    flex: 1 1 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

info-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
}

.map {
    height: 200px;
    margin-top: 20px;
    background-color: #eee;
    border-radius: 8px;
}
.map-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Animación para tarjetas de contacto */
.info-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Animación de elevación al pasar el cursor */
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Íconos dentro de las tarjetas de contacto */
.info-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

/* Efecto animado del ícono al hacer hover */
.info-card:hover i {
    transform: scale(1.2) rotate(5deg);
}


/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    background-image: url(../img/pngegg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgb(227, 244, 186);
        width: 100%;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .welcome {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-top: 20px;
    }

    .footer-social a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero {
        padding: 50px 0;
    }

    .welcome p {
        font-size: 1.7rem;
    }

    .contact-info {
        flex-direction: column;
    }
}


/* Unificación de color rojo en botones y enlaces */
.btn,
.btn-primary {
    background-color: #e95c5c !important;
    border-color: #e95c5c !important;
    color: white !important;
}

.btn:hover,
.btn-primary:hover {
    background-color: #d24d4d !important;
    border-color: #d24d4d !important;
}

/* Íconos de contacto con color rojo uniforme */
.contact-info i {
    color: #e95c5c;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
}
