/* CV.JOFTRA - Light & Clean theme */
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-soft: #eff6ff;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg-body);
    overflow-x: hidden;
}

/* Navbar - light */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.navbar .navbar-nav .nav-link {
    color: var(--text) !important;
}

.navbar .navbar-toggler {
    border-color: var(--border);
    color: var(--text);
}

.navbar .navbar-toggler-icon {
    filter: none;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-soft);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-soft);
}

/* Hero - light with image overlay */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}

.hero-img-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1, .hero .lead {
    color: var(--text) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.hero .lead {
    color: var(--text-muted) !important;
}

.hero-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Page hero - light */
.page-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 8rem 0 4rem;
    color: var(--text);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-weight: 700;
    color: var(--text);
}

.page-hero .lead {
    color: var(--text-muted);
}

/* Cards */
.hover-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--bg-card);
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.card-body .card-title {
    color: var(--text);
}

.content-section {
    padding: 3rem 0;
    background: var(--bg-body);
}

.content-section .lead,
.content-section ul,
.content-section ol {
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-section ul li,
.content-section ol li {
    margin-bottom: 0.5rem;
}

/* Image blocks */
.img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact */
.contact-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn-primary {
    font-weight: 600;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* Footer - soft dark */
footer.bg-dark {
    background: var(--text) !important;
    color: #f1f5f9;
}

footer a.text-white-50:hover {
    color: #fff !important;
}

/* Section alt background */
.section-alt {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero .display-4 {
        font-size: 2rem;
    }
    .page-hero {
        padding: 6rem 0 3rem;
    }
}
