/*
 Theme Name:   OceanWP Child (Vega Parquet)
 Theme URI:    https://oceanwp.org/
 Description:  Tema hijo para Vega Parquet con diseño minimalista, paleta cálida y estructura corporativa.
 Author:       Antigravity
 Author URI:   https://antigravity.ai
 Template:     oceanwp
 Version:      1.0.5
 Text Domain:  oceanwp-child
*/

/* ------------------------------------------------------------------------- *
 *  PALETA DE COLORES Y VARIABLES GLOBALES
 * ------------------------------------------------------------------------- */
:root {
    --brand-wood: #D4A373; /* Tono madera suave */
    --brand-wood-dark: #A67C52;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --accent: #E9EDC9;
}

/* ------------------------------------------------------------------------- *
 *  TIPOGRAFÍA Y CUERPO (Minimalismo sofisticado)
 * ------------------------------------------------------------------------- */
body, p, li, a {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    color: var(--text-main);
    line-height: 1.7;
    font-size: 1.25rem !important; /* Tamaño aumentado por segunda vez para máxima legibilidad */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
}

body {
    background-color: var(--bg-light);
}

/* ------------------------------------------------------------------------- *
 *  CABECERA (HEADER)
 * ------------------------------------------------------------------------- */
#site-header {
    background-color: var(--bg-white) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#site-header .menu-link {
    color: var(--text-main) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

#site-header .menu-link:hover {
    color: var(--brand-wood) !important;
}

/* ------------------------------------------------------------------------- *
 *  BOTONES GLOBALES
 * ------------------------------------------------------------------------- */
.theme-button, input[type="submit"], button, .button {
    background-color: var(--brand-wood) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(212, 163, 115, 0.2) !important;
}

.theme-button:hover, input[type="submit"]:hover, button:hover, .button:hover {
    background-color: var(--brand-wood-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 163, 115, 0.3) !important;
}

/* ------------------------------------------------------------------------- *
 *  BLOG Y TARJETAS DE PORTFOLIO
 * ------------------------------------------------------------------------- */
.blog-entry-inner, .portfolio-entry-inner {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.blog-entry-inner:hover, .portfolio-entry-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.blog-entry-title a {
    color: #111111 !important;
    font-size: 22px;
}

.blog-entry-title a:hover {
    color: var(--brand-wood) !important;
}

/* ------------------------------------------------------------------------- *
 *  FOOTER
 * ------------------------------------------------------------------------- */
#footer-widgets {
    background-color: #222222 !important;
    color: #DDDDDD !important;
    padding: 60px 0 !important;
}

#footer-widgets h4.widget-title {
    color: #FFFFFF !important;
    font-family: 'Playfair Display', serif !important;
    border-bottom: 2px solid var(--brand-wood);
    display: inline-block;
    padding-bottom: 10px;
}

#footer-widgets a {
    color: #BBBBBB !important;
}

#footer-widgets a:hover {
    color: var(--brand-wood) !important;
}

#footer-bottom {
    background-color: #1A1A1A !important;
    border-top: 1px solid #333333 !important;
}

/* ------------------------------------------------------------------------- *
 *  CUSTOM FRONT PAGE (NATIVE)
 * ------------------------------------------------------------------------- */
.vp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.vp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.vp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
@media (max-width: 768px) {
    .vp-grid-2 { grid-template-columns: 1fr; gap: 40px; }
}

/* Hero Section */
.vp-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 40px 20px;
}
.vp-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.vp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.vp-hero-title {
    color: #ffffff !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}
.vp-hero-subtitle {
    color: #f0f0f0 !important;
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
}
.vp-btn-large {
    padding: 16px 36px !important;
    font-size: 1.1rem;
    border-radius: 30px !important;
}

/* Lamett Section */
.vp-lamett-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}
.vp-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--brand-wood-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.vp-lamett-text h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    line-height: 1.2;
}
.vp-lamett-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.vp-lamett-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}
.vp-btn-outline {
    background-color: transparent !important;
    color: var(--brand-wood-dark) !important;
    border: 2px solid var(--brand-wood-dark) !important;
    box-shadow: none !important;
    border-radius: 30px !important;
}
.vp-btn-outline:hover {
    background-color: var(--brand-wood-dark) !important;
    color: #ffffff !important;
}

/* Services Section */
.vp-services-section {
    padding: 80px 0 100px;
    background-color: var(--bg-light);
}
.vp-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-inline: auto;
}
.vp-section-header h2 {
    font-size: 2.5rem;
}
.vp-section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.vp-service-card {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}
.vp-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.vp-service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--brand-wood-dark) !important;
}
.vp-service-card p {
    color: var(--text-muted);
}
.vp-center {
    text-align: center;
}

/* ------------------------------------------------------------------------- *
 *  SUBPAGES (EMPRESA, TRABAJOS, CONTACTO)
 * ------------------------------------------------------------------------- */
.vp-page-header {
    background-color: var(--brand-wood-dark);
    padding: 25px 0;
    text-align: center;
    color: white;
}
.vp-page-title {
    color: white !important;
    font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
    margin: 0;
}
.vp-page-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9) !important;
    margin-top: 15px;
    font-weight: 300;
}
.vp-page-content {
    padding: 80px 20px;
}
.vp-lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--brand-wood-dark);
}
.vp-mt-40 { margin-top: 40px; }
.vp-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 20px;
}
.vp-list li { margin-bottom: 10px; }
.vp-rounded-img { border-radius: 12px; max-width: 100%; height: auto; }

/* Contact Page */
.vp-contact-list { list-style: none; padding: 0; }
.vp-contact-list li {
    margin-bottom: 25px;
    position: relative;
}
.vp-contact-list li strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--brand-wood-dark);
    display: block;
    margin-bottom: 5px;
}
.vp-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

/* Portfolio Page */
.vp-portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}
.vp-portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.vp-portfolio-img img { width: 100%; height: 250px; object-fit: cover; }
.vp-img-placeholder { width: 100%; height: 250px; background: #EEE; }
.vp-portfolio-info { padding: 25px; }
.vp-portfolio-info h3 { margin-bottom: 10px; }
.vp-portfolio-info h3 a { color: #111 !important; font-size: 1.4rem; text-decoration: none; }
.vp-portfolio-info h3 a:hover { color: var(--brand-wood-dark) !important; }
.vp-excerpt p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* ------------------------------------------------------------------------- *
 *  SINGLE ARTICLE (PORTFOLIO)
 * ------------------------------------------------------------------------- */
.vp-single-header {
    background-color: var(--brand-wood-dark);
    padding: 30px 0 20px;
    text-align: center;
    color: white;
}
.vp-single-title {
    color: white !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}
.vp-meta-date {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vp-single-hero {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.vp-container-narrow {
    max-width: 900px;
    margin: 0 auto;
}
.vp-mb-40 { margin-bottom: 40px; }
.vp-single-content {
    font-size: 1.15rem;
    line-height: 1.8;
}
.vp-single-content img {
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ------------------------------------------------------------------------- *
 *  CUSTOM FOOTER
 * ------------------------------------------------------------------------- */
.vp-site-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 80px 0 0 0;
    margin-top: 60px;
    font-family: 'Inter', sans-serif;
}
.vp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .vp-footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.vp-footer-brand p {
    color: #a0a0a0;
    max-width: 300px;
    font-size: 1rem;
}
.vp-footer-contact h3, .vp-footer-social h3 {
    color: white !important;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}
.vp-footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vp-footer-contact li {
    margin-bottom: 15px;
    color: #a0a0a0;
    font-size: 1rem;
}
.vp-footer-contact a {
    color: var(--brand-wood) !important;
    text-decoration: none;
    transition: color 0.3s;
}
.vp-footer-contact a:hover {
    color: white !important;
}
.vp-social-icons {
    display: flex;
    gap: 15px;
}
.vp-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    color: white !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.vp-social-icons a:hover {
    background-color: var(--brand-wood);
    transform: translateY(-3px);
}
.vp-footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* ------------------------------------------------------------------------- *
 *  PORTFOLIO FILTERS
 * ------------------------------------------------------------------------- */
.vp-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.vp-filter-btn {
    background-color: transparent !important;
    border: 1px solid #eaeaea !important;
    color: var(--text-muted) !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}
.vp-filter-btn:hover {
    border-color: var(--brand-wood) !important;
    color: var(--brand-wood-dark) !important;
    transform: translateY(-2px);
}
.vp-filter-btn.active {
    background-color: var(--brand-wood-dark) !important;
    border-color: var(--brand-wood-dark) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(166, 124, 82, 0.3) !important;
}
.vp-portfolio-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
