/*
Theme Name: ACDP Final Mobile
Theme URI: https://acdp-arquitectos.com
Author: ACDP
Description: Tema limpio y 100% Responsive.
Version: 5.0
*/

/* --- 1. RESET Y BASES --- */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent: #d4af37; /* Dorado */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    background: var(--bg-color); 
    color: var(--text-color); 
    overflow-x: hidden; /* Evita que la pantalla se mueva a los lados en celular */
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 2. HEADER / MENÚ (FLOTANTE) --- */
#acdp-header {
    position: absolute; /* Flota sobre la imagen */
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.logo { 
    font-weight: 700; 
    font-size: 1.5rem; 
    color: #fff; 
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Sombra para leerse mejor */
}

/* Menú de WordPress */
.main-navigation ul { display: flex; gap: 30px; margin: 0; padding: 0; }
.main-navigation a { 
    color: #fff; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.main-navigation a:hover { color: var(--accent); }

/* --- 3. CLASES PARA TUS BLOQUES (HERO) --- */
.module-hero { 
    height: 100vh; /* Altura pantalla completa */
    width: 100%;
    position: relative; 
    background: #000; 
    overflow: hidden; 
}

.hero-bg { 
    position: absolute; 
    top: 0; left: 0;
    width: 100%; height: 100%; 
    object-fit: cover; 
    opacity: 0.7; /* Oscurece imagen para que el texto resalte */
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem); /* Texto gigante que se adapta */
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #f4f4f4;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.btn-hero {
    border: 1px solid #fff;
    padding: 15px 40px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.btn-hero:hover { background: #fff; color: #000; }

/* --- 4. FOOTER --- */
#acdp-footer { 
    background: #111; 
    color: #666; 
    padding: 60px 20px; 
    text-align: center; 
    font-size: 0.8rem; 
}

/* --- 5. CORRECCIÓN MÓVIL (MUY IMPORTANTE) --- */
@media (max-width: 768px) {
    #acdp-header {
        padding: 20px;
        flex-direction: column; /* Pone logo arriba y menú abajo */
        background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); /* Sombra para que se lea */
    }
    
    .logo { margin-bottom: 15px; }
    
    .main-navigation ul {
        gap: 15px;
        flex-wrap: wrap; /* Permite que los links bajen si no caben */
        justify-content: center;
    }
    
    .main-navigation a { font-size: 0.75rem; }

    .module-hero {
        height: 100dvh; /* Altura especial para móviles modernos */
    }
}