/*
Theme Name: Jurika Legal Theme
Theme URI: (Aquí va la URL de tu sitio)
Author: Jurika Legal
Author URI: (Aquí va la URL de tu sitio)
Description: Tema personalizado para la firma legal Jurika Legal, basado en HTML/CSS limpio.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jurikalegal
*/

/* PALETA DE COLORES */
:root {
    --color-primary: #1C1C1C; /* Negro Carbón (Autoridad) */
    --color-accent: #A68B5B; /* Dorado Opaco (Exclusividad / CTA) */
    --color-white: #FFFFFF;
    --color-light-gray: #F7F7F7; /* Fondo sutil */
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-white);
}

/* TIPOGRAFÍA */
h1, h2, h3 {
    font-family: 'Playfair Display', serif; /* Serif para Títulos */
    color: var(--color-primary);
}

/* CONTENEDOR PRINCIPAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. NAVEGACIÓN (HEADER) */
header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
    padding: 10px 0; /* Ajustado a 10px para hacerlo compacto */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex; 
    align-items: center;
    text-decoration: none;
}

.logo .brand-text {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--color-primary);
}


nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 400;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--color-accent);
}

/* 2. SECCIÓN HERO */
.hero {
    background-color: var(--color-primary); /* Fondo negro */
    color: var(--color-white);
    height: 80vh; /* Altura de la vista */
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Imagen de fondo sutil o patrón si es necesario */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1759998084337-dee6ca953a50?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=686'); /* Imagen de alta resolución */
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Sutil overlay */
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    padding: 80px 0;
    z-index: 2;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25em;
    margin-bottom: 30px;
    font-weight: 300;
}

/* BOTONES CTA (Dorado Opaco) */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-accent);
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* 3. SECCIÓN DE PILARES/VALORES */
.pillars {
    padding: 80px 0;
    background-color: var(--color-light-gray);
}

.pillars-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 40px;
}

.pillar {
    flex-basis: 30%;
}

.pillar h3 {
    font-size: 1.5em;
    color: var(--color-accent);
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.pillar p {
    font-size: 0.95em;
}

.icon {
    font-size: 3em;
    color: var(--color-primary);
}

/* 4. SECCIÓN DE SERVICIOS/PRÁCTICA */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    padding: 30px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
    font-size: 1.8em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 5. FOOTER */
footer {
    background-color: var(--color-primary);
    color: var(--color-light-gray);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer h4 {
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.footer-nav a {
    color: var(--color-light-gray);
    text-decoration: none;
    margin: 0 10px;
}

.footer-nav a:hover {
    color: var(--color-accent);
}