/* RESET Y ESTILOS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a0f1a;
    color: #f4f0ea;
    overflow-x: hidden;
}

h1, h2, h3, .logo-circle, .btn-contacto, .btn-outline {
    font-family: 'Cinzel', serif;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(30, 16, 30, 0.9);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-circle {
    width: 45px;
    height: 45px;
    border: 1px solid #d4af37;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 16px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #f4f0ea;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #d4af37;
}

.btn-contacto {
    background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
    color: #1a0f1a;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.menu-hamburguesa {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-hamburguesa span {
    width: 25px;
    height: 2px;
    background-color: #d4af37;
}

/* SECCIÓN HERO */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle, rgba(16,37,35,0.8) 0%, rgba(30,16,30,0.95) 100%);
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #f9f6f0;
}

.hero p {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #c5b358;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline {
    border: 1px solid #d4af37;
    padding: 10px 25px;
    color: #f4f0ea;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
    background-color: #d4af37;
    color: #1a0f1a;
}

/* SECCIÓN DE TARJETAS DE SERVICIOS */
.servicios-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.card-servicio {
    background-color: #2b132b;
    color: #f4f0ea;
    width: 280px;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.card-servicio:hover {
    transform: translateY(-5px);
}

.card-destacada {
    background-color: #102523;
    border-top: 3px solid #d4af37;
    box-shadow: 0 10px 25px rgba(16,37,35,0.5);
}

.card-servicio .icono {
    font-size: 24px;
    color: #d4af37;
}

.card-servicio h3 {
    font-size: 16px;
    letter-spacing: 1px;
}

/* SECCIÓN PORTAFOLIO / GALERÍA CON SOPORTE PNG */
.portafolio-section {
    background-color: #ffffff;
    padding: 40px 50px;
}

.galeria-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.galeria-item {
    background-color: #1a0f1a;
    width: 220px;
    height: 140px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d4af37;
    overflow: hidden;
    position: relative;
}

/* Estilo estricto para que la imagen PNG se adapte perfectamente a la caja */
.img-png {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cambia a 'contain' si tu PNG es un logotipo o gráfico y no quieres que se recorte */
}

.contacto-box {
    background-color: #2b132b;
    flex-direction: column;
    gap: 10px;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-weight: bold;
}

.placeholder-dorado-small {
    width: 80%;
    height: 35px;
    background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
    border-radius: 4px;
}

/* FOOTER */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: #221022;
    padding: 40px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #d4af37;
    text-decoration: none;
    border: 1px solid #d4af37;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.footer-links {
    font-size: 11px;
    color: #888;
    word-spacing: 5px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    .menu-hamburguesa {
        display: flex;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .portafolio-section {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 15px 20px;
    }
    .card-servicio {
        width: 100%;
        max-width: 320px;
    }
    .galeria-item {
        width: 100%;
        max-width: 320px;
    }
}