/*
Theme Name: Jesus Palafox
Theme URI: https://jesuspalafox.com
Author: Jesus Palafox
Author URI: https://jesuspalafox.com
Description: Custom theme for Jesus Palafox Portfolio
Version: 1.0
Text Domain: jp
*/

* { box-sizing: border-box; }
body { margin: 0; background: #0A1F12; }
[data-theme] { 
    --serif: 'Spectral', Georgia, serif; 
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif; 
    --mono: 'IBM Plex Mono', monospace; 
}
[data-theme="light"] { 
    --bg: #F3F4F1; --bg2: #FFFFFF; --bg3: #E9ECE6; --ink: #0A1F12; 
    --ink2: #566159; --line: #DDE2DA; --gold: #178A3C; 
    --gold-soft: rgba(32,168,74,0.10); --gold-btn: #20A84A; --on-gold: #FFFFFF; 
}
[data-theme="dark"] { 
    --bg: #0A1F12; --bg2: #102A18; --bg3: #07160C; --ink: #EAF1EA; 
    --ink2: #8DA393; --line: #1E3826; --gold: #4FD37A; 
    --gold-soft: rgba(79,211,122,0.14); --gold-btn: #20A84A; --on-gold: #FFFFFF; 
}
@keyframes jp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes jp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes jp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes jp-floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@media (max-width: 560px) {
  [data-hero-stat="r"] { right: 6px !important; top: 14px !important; }
  [data-hero-stat="l"] { left: 6px !important; bottom: 14px !important; }
}

/* Bilingual Display Logic */
body[data-lang="es"] [data-lang-en] { display: none !important; }
body[data-lang="en"] [data-lang-es] { display: none !important; }

/* Image classes for standard WordPress tags */
.jp-wp-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
