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

body {
    font-family: 'open sans', sans-serif;
    line-height: 1.6;
}

.contenedor {
    padding: 60px 20px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.contenedor a {
   text-align: center;
   color: rgb(153, 0, 255);
   text-decoration: none;
}

.contenedor a:hover {
    text-decoration: underline;
}

.titulo {
    color: #000000;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header & Navigation */
.red {
    color: rgb(96, 96, 228);
    padding: 3px;
}

header {
    width: 100%;
    min-height: 630px;
    background: #bc4e9c;
    background: linear-gradient(to right, hsla(205, 79%, 9%, 0.664), hsla(205, 79%, 9%, 0.2)), url(../img/portada-valentina3.jpeg);
    background-size: 50% auto;
    background-attachment: scroll;
    background-position: center 30%;
    background-repeat: repeat-x;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px 0 15px;
    flex-wrap: wrap;
    margin: 0;
    flex-shrink: 0;
    background: transparent;
    border: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-links li {
    padding: 0;
    margin: 0;
    border: none;
}

.nav-links a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    text-decoration: underline;
    color: #ffd700;
}

header .textos-header {
    display: flex;
    flex: 1;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px 20px 80px 20px;
    margin: 0;
    min-height: 350px;
}

.textos-header h1 {
    font-size: 80px;
    font-family: "Lobster Two", sans-serif;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.textos-header h2 {
    font-size: 26px;
    font-weight: 200;
    color: #fff;
    font-family: "Delius", cursive;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
}

h1 {
    color: black;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}

h2 {
    color: black;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    font-family: "Delius", cursive;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    flex-shrink: 0;
}

/* Quote Section */
.quote-section {
    padding: 40px 20px;
    text-align: center;
    background: #f9f9f9;
}

.quote-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.quote-section .highlight {
    font-style: italic;
    color: #a72ecc;
    font-weight: 600;
}

/* Services */
main .sobre-nosotros {
    padding: 30px 20px 60px 20px;
}

.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.imagen-about-us {
    width: 48%;
}

.sobre-nosotros .contenido-textos {
    width: 100%;
    text-align: justify;
}

.contenido-textos h3 {
    margin-bottom: 15px;
    margin-top: 25px;
    color: #333;
}

.contenido-textos h3:first-child {
    margin-top: 0;
}

.contenido-textos p {
   font-size: 16px;
   line-height: 1.8;
   color: #555;
}

.contenido-textos h3 span {
    background: #4d0686;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 35px;
    height: 35px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 10px;
    font-weight: 600;
}

.contenido-textos p {
    padding: 0 0 20px 0;
    font-weight: 300;
}

/* Gallery */
.portafolio {
    background: #f2f2f2;
}

.galeria-port {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.imagen-port {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    border-radius: 8px;
}

.imagen-port img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.imagen-port:hover img {
    transform: scale(1.05);
}

.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(273, 91%, 27%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

/* Regla modificada para la imagen del icono */
.hover-galeria img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hover-galeria p {
    color: #fff;
    margin-top: 10px;
    font-weight: 600;
}

.imagen-port:hover .hover-galeria {
    transform: scale(1);
}

.mas-decoraciones {
    text-align: center;
    margin-top: 40px;
}

.mas-decoraciones a {
    color: #6c95d3;
    text-decoration: none;
    transition: 0.3s;
}

.mas-decoraciones a:hover {
    color: #4d0686;
    text-decoration: underline;
}

/* Clients Testimonials */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.cards .card {
    background: #4d0686;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.cards .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
    margin-bottom: 15px;
}

.cards .card > .contenido-texto-card {
    color: #fff;
}

.cards .card > .contenido-texto-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.cards .card > .contenido-texto-card p {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
}

/* Services Gallery */
.about-services {
    background: #f2f2f2;
    padding-bottom: 30px;
}

.servicio-cont {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.servicio-ind {
    width: 100%;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.servicio-ind img,
.servicio-ind video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}

.servicio-ind h3 {
    margin: 15px 0 10px 0;
    color: #333;
    font-size: 18px;
}

.servicio-ind p {
    font-weight: 400;
    text-align: justify;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
#contacto {
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#contacto h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 10px;
}

#contacto p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

form {
    display: grid;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

form input,
form textarea,
form select {
    padding: 12px 15px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'open sans', sans-serif;
    transition: 0.3s;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

form button {
    padding: 14px 30px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 10px;
}

form button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #414141;
    padding: 60px 20px 30px 20px;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
}

.content-foo {
    text-align: center;
}

.content-foo h4 {
    color: #fff;
    border-bottom: 3px solid #af20d3;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.content-foo a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.content-foo a:hover {
    color: #fff;
    text-decoration: underline;
}

.content-foo p {
    color: #ccc;
    margin: 5px 0;
}

.content-foo p a {
    color: #ccc;
}

.titulo-final {
    text-align: center;
    font-size: 16px;
    margin: 30px 0 0 0;
    color: #9e9797;
}

/* WhatsApp Button */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.float:hover {
    background-color: #1ab152;
    transform: scale(1.1);
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: scale(1.1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    header {
        background-size: auto;
    }
}

@media screen and (max-width: 768px) {
    header {
        min-height: 500px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }

    .navbar {
        padding: 8px 12px 0 12px;
        background: transparent;
        border: none;
    }

    .menu-toggle {
        display: flex;
        margin-right: 20px;
    }

    .nav-links {
        position: absolute;
        top: 50px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
    }

    .nav-links.active {
        max-height: 300px;
    }

    .nav-links li {
        padding: 15px 20px;
        margin: 0;
        border: none;
    }

    header .textos-header {
        min-height: 320px;
        padding: 15px 15px 80px 15px;
    }

    .textos-header h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .textos-header h2 {
        font-size: 16px;
        line-height: 1.6;
        padding-bottom: 15px;
    }

    .titulo {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .contenedor {
        padding: 40px 15px;
    }

    .servicio-cont {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .galeria-port {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .imagen-port {
        height: auto;
    }

    .imagen-port img {
        height: 200px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .cards .card {
        padding: 25px 15px;
    }

    .quote-section h2 {
        font-size: 20px;
    }

    form {
        gap: 12px;
    }

    .contenedor-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .float {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 20px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    header {
        min-height: 420px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }

    .navbar {
        padding: 5px 8px 0 8px;
        background: transparent;
        border: none;
    }

    .nav-links {
        top: 45px;
    }

    .nav-links li {
        padding: 15px 20px;
        margin: 0;
        border: none;
    }

    .textos-header h1 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .textos-header h2 {
        font-size: 13px;
        line-height: 1.5;
        padding: 0 5px 15px 5px;
    }

    header .textos-header {
        min-height: 280px;
        padding: 12px 12px 70px 12px;
    }

    .titulo {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .contenedor {
        padding: 30px 10px;
        width: 100%;
    }

    .servicio-ind {
        padding: 15px;
    }

    .contenido-textos h3 {
        font-size: 16px;
    }

    .contenido-textos p {
        font-size: 14px;
    }

    .galeria-port {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .imagen-port img {
        height: 150px;
    }

    .quote-section h2 {
        font-size: 16px;
        line-height: 1.4;
    }

    #contacto {
        padding: 40px 15px;
    }

    #contacto h2 {
        font-size: 24px;
    }

    form {
        gap: 10px;
    }

    form input,
    form textarea,
    form select {
        padding: 10px 12px;
        font-size: 13px;
    }

    form button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .cards .card > .contenido-texto-card p {
        font-size: 12px;
    }

    .float {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 15px;
        font-size: 20px;
    }
}

