/* --- DISEÑO MODERNO Y EFECTOS VISUALES --- */
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #fffafc 60%, #fbeee6 100%);
    color: #4a235a;
    min-height: 100vh;
}

/* Header y logo */
.header-logo {
    font-size: 2.4rem;
    font-weight: bold;
    color: #e8b7d4;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #fff, 0 0px 24px #d4af37;
    transition: transform 0.3s, color 0.3s;
    cursor: pointer;
    animation: logoPop 1.2s cubic-bezier(.68,-0.55,.27,1.55) 1;
    filter: drop-shadow(0 2px 8px #d4af37);
}
@keyframes logoPop {
    0% { transform: scale(0.7); color: #d4af37; }
    60% { transform: scale(1.15); color: #a678b4; }
    100% { transform: scale(1); color: #e8b7d4; }
}

/* Navbar */
.navbar {
    background: rgba(248,225,244,0.85);
    border-bottom: 2px solid #e8b7d4;
    box-shadow: 0 4px 24px rgba(166,120,180,0.10);
    backdrop-filter: blur(12px);
    border-radius: 0 0 24px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeInDown 1s;
}
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.nav-link {
    color: #a678b4 !important;
    font-weight: 500;
    position: relative;
    transition: color 0.2s, transform 0.2s;
    overflow: hidden;
    padding-bottom: 6px;
}
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #a678b4 100%);
    border-radius: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}
.nav-link:hover {
    color: #d4af37 !important;
    transform: scale(1.08);
    text-shadow: 0 2px 12px #e8b7d4;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fbeee6 60%, #e8b7d4 100%);
    padding: 70px 0 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-img {
    max-width: 450px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(232,183,212,0.2);
    border: 3px solid #d4af37;
    animation: imgFadeIn 1.2s;
}
@keyframes imgFadeIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}
.hero-text {
    font-size: 2.1rem;
    color: #a678b4;
    margin-top: 24px;
    font-weight: 600;
    text-shadow: 0 2px 12px #fff;
    animation: fadeInUp 1.2s;
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Servicios */
.servicios {
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(232,183,212,0.12);
    padding: 32px;
    margin: 48px 0;
    animation: fadeIn 1.2s;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.servicio {
    color: #d4af37;
    font-weight: 500;
    font-size: 1.15rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    transition: color 0.2s, transform 0.2s;
}
.servicio:hover {
    color: #a678b4;
    transform: scale(1.07);
}

/* Portafolio */
.modal-content {
    background: rgba(0,0,0,0.92) !important;
    border: none !important;
    box-shadow: 0 0 32px #000 !important;
}
.modal-body img#imgAmpliada {
    animation: zoomInImg 0.4s;
}
@keyframes zoomInImg {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}
.btn-close-white {
    filter: invert(1);
}
#flechaIzq, #flechaDer {
    transition: background 0.2s, transform 0.2s;
}
#flechaIzq:hover, #flechaDer:hover {
    background: #d4af37 !important;
    color: #fff !important;
    transform: scale(1.15);
}
.portafolio-img {
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(166,120,180,0.14);
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #e8b7d4;
    filter: drop-shadow(0 2px 8px #d4af37);
    cursor: pointer;
}
.portafolio-img:hover {
    transform: scale(1.18) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(212,175,55,0.28);
    border-color: #d4af37;
    z-index: 2;
}

/* Contacto */
.form-control:focus {
    border-color: #e8b7d4;
    box-shadow: 0 0 0 0.2rem rgba(232,183,212,0.25);
}
.btn-enviar {
    background: linear-gradient(90deg, #a678b4 0%, #e8b7d4 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(166,120,180,0.10);
}
.btn-enviar:hover {
    background: linear-gradient(90deg, #d4af37 0%, #a678b4 100%);
    color: #fff;
    transform: scale(1.05);
}

/* Redes sociales */
.social-icon {
    font-size: 3rem;
    margin: 24px;
    color: #a678b4;
    transition: color 0.2s, transform 0.2s, filter 0.2s;
    filter: drop-shadow(0 2px 8px #e8b7d4);
}
.social-icon:hover {
    color: #d4af37;
    transform: scale(1.18) rotate(-8deg);
    filter: drop-shadow(0 2px 16px #d4af37);
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #fbeee6 0%, #e8b7d4 100%);
    color: #a678b4;
    padding: 22px 0 10px 0;
    text-align: center;
    font-size: 1.08rem;
    border-top: 2px solid #e8b7d4;
    box-shadow: 0 -2px 12px rgba(232,183,212,0.10);
}
.footer .mini-social {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #a678b4;
    transition: color 0.2s, transform 0.2s;
}
.footer .mini-social:hover {
    color: #d4af37;
    transform: scale(1.2);
}
/* --- FIN DISEÑO MODERNO --- */