/* Journalist Theme Styles */
body {
    font-family: var(--font-family);
    color: var(--journalist-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--journalist-dark);
}

.eyebrow {
    font-family: var(--font-family);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--journalist-secondary);
}

.section-title {
    font-weight: 700;
    font-size: 2.25rem;
}

.hero-name {
    font-weight: 800;
    color: var(--journalist-dark);
}

.btn-primary {
    background-color: var(--journalist-primary);
    border-color: var(--journalist-primary);
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--journalist-secondary);
    border-color: var(--journalist-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 18, 43, 0.3);
}

.btn-outline-primary {
    color: var(--journalist-primary);
    border-color: var(--journalist-primary);
}

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

.btn-outline-dark:hover {
    background-color: var(--journalist-dark);
    border-color: var(--journalist-dark);
}

.text-primary {
    color: var(--journalist-primary) !important;
}

.bg-primary {
    background-color: var(--journalist-primary) !important;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--journalist-dark) !important;
    line-height: 1.2;
}

.navbar-brand img {
    max-height: 46px;
}

.navbar-subtitle {
    font-family: var(--font-family);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--journalist-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-link {
    font-weight: 600;
    color: var(--journalist-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--journalist-secondary) !important;
}

/* Hero */
.hero-portfolio {
    background: linear-gradient(180deg, var(--journalist-accent) 0%, #ffffff 100%);
}

.hero-portrait {
    width: 340px;
    height: 340px;
    max-width: 80vw;
    max-height: 80vw;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 45px rgba(17, 17, 17, 0.2);
    background: var(--journalist-accent);
}

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

.hero-portrait i {
    font-size: 7rem;
    color: var(--journalist-primary);
    opacity: 0.4;
}

/* Stats band */
.stats-portfolio {
    background: var(--journalist-dark);
    padding: 40px 0;
}

/* Sections */
.section-padding {
    padding: 90px 0;
}

.page-header-band {
    background: var(--journalist-primary);
    color: #fff;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.transform-scale:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(17, 17, 17, 0.12);
}

/* Timeline (Education & Experience) */
.timeline-item {
    position: relative;
    padding: 0 0 28px 28px;
    border-left: 2px solid var(--journalist-accent);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--journalist-secondary);
}

.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline-year {
    display: inline-block;
    font-weight: 700;
    color: var(--journalist-primary);
    margin-bottom: 4px;
}

.timeline-text {
    margin-bottom: 0;
    color: var(--journalist-text);
}

/* Skills */
.skill-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
}

.skill-percent {
    font-weight: 700;
    color: var(--journalist-secondary);
}

.skill-bar {
    background: var(--journalist-accent);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.skill-bar-fill {
    background: var(--journalist-secondary);
    height: 100%;
    border-radius: 6px;
}

/* Projects */
.project-card {
    display: flex;
    flex-direction: column;
}

/* Gallery */
.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Footer */
.site-footer {
    background-color: var(--journalist-dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.site-footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: var(--font-family);
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--journalist-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--journalist-primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--journalist-secondary);
    color: white;
    transform: translateY(-3px);
}
