/*
Theme Name: MyPortfolio Child
Template: astra
*/
.projects-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; padding:0; }
.project-card img{ width:100%; height:180px; object-fit:cover; display:block; }
.project-card h2{ margin:10px 0 6px; font-size:1.1rem; }
.project-single img{ max-width:100%; height:auto; }
a:focus{ outline:3px solid #005fcc; outline-offset:2px; }
.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

.small-hero {
    padding: 60px 0 40px;
    /* background: #f7f8fb; */
    text-align: left;
}

.small-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}


/* GLOBAL */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.7;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

a {
    color: #0066ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
}

.btn-primary {
    background: #0066ff;
    color: #ffffff !important;
    padding: 12px 26px;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
    text-decoration: none !important;
}

.btn-primary:hover {
    background: #0047b5;
    box-shadow: 0 10px 30px rgba(0, 71, 181, 0.35);
}

.btn-secondary {
    background: #f5f5f5;
    color: #1a1a1a !important;
    padding: 12px 24px;
    border: 1px solid #dddddd;
    text-decoration: none !important;
}

.btn-secondary:hover {
    background: #eaeaea;
}

.btn-link {
    padding: 8px 0;
    color: #0066ff;
}

/* SECTION TITLES */

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-intro {
    max-width: 1100px;
    margin-bottom: 32px;
    color: #555;
}

/* HERO */

.hero-section {
    /* background: #f7f8fb; */
    border: 1px solid #0066ff ;
    border-radius: 0 0 8px 8px;
    padding: 100px 0 80px;
    border-top:none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: #e5edff;
    color: #0047b5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 3.2vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-title .accent {
    color: #0066ff;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 18px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

/* Hero photo */

.hero-photo {
    display: flex;
    justify-content: center;
}

.photo-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #c8d9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: #0047b5;
    box-shadow: 0 14px 40px rgba(0,0,0,0.15);
}

/* SERVICES */

.services-section {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    border: 1px solid #eeeeee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.96rem;
    color: #555;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #d5e3ff;
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

/* FEATURED PROJECTS */

.featured-projects {
    padding: 80px 0;
    /* background: #f7f8fb; */
    border: 1px solid #0066ff ;
    border-radius: 8px;
}

.projects-grid .project-card h3 {
    margin-top: 10px;
    margin-bottom: 6px;
}

.project-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

.project-tech {
    font-size: 0.9rem;
    color: #0066ff;
    margin-bottom: 6px;
}

.project-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.section-cta {
    margin-top: 30px;
}

/* EXPERIENCE / EDUCATION */

.experience-section {
    padding: 80px 0;
}

.experience-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #e0e0e0;
}

.timeline li {
    padding-left: 18px;
    margin-bottom: 24px;
    position: relative;
}

.timeline li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #0066ff;
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 4px;
}

.timeline h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.timeline-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 6px;
}

/* ABOUT BOTTOM */

.about-bottom {
    padding: 70px 0 90px;
        border: 1px solid #0066ff ;
    border-radius: 8px 8px 0 0;
    border-bottom:none;
    /* background: #f7f7f7; */
}

.about-bottom-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.about-bottom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* PROJECT ARCHIVE & SINGLE */

.projects-archive-header {
    margin-bottom: 24px;
}

.projects-archive-header h1 {
    font-size: 2rem;
}

.projects-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.single-project-main {
    padding: 60px 0;
}

.single-project-main h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* CONTACT FORM 7 BASIC STYLING */

body.page-contact .wpcf7 form .wpcf7-form-control {
    width: 100%;
    max-width: 600px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    margin-bottom: 14px;
    font: inherit;
}

body.page-contact .wpcf7 textarea.wpcf7-form-control {
    min-height: 140px;
}

body.page-contact .wpcf7-submit {
    width: auto;
    max-width: none;
    background: #0066ff;
    color: #fff;
    border: 0;
    padding: 10px 26px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

body.page-contact .wpcf7-submit:hover {
    background: #0047b5;
}

main{
    padding:0 !important;
}
/* RESUME PAGE */

body.page-resume .site-main {
    padding: 60px 0;
}

body.page-resume h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

body.page-resume .btn-primary {
    margin-bottom: 20px;
}

/* SKIP LINK ACCESSIBILITY */

.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

/* RESPONSIVE */

@media (max-width: 800px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-photo {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-section {
        padding-top: 70px;
    }
}

/* GLOBAL PAGE LAYOUT FIXES */
/* .page-projects,
.page-contact,
.page-resume,
.single-project-main {
    padding-top: 80px;
    padding-bottom: 100px;
    background: #f7f8fb;
}

.page-projects .container,
.page-contact .container,
.page-resume .container,
.single-project-main .container {
    width: min(92%, 1100px);
    margin: 0 auto;
} */

/* Make hero sections match homepage width */
.hero-section.small-hero .container {
    width: min(92%, 1100px);
}

/* Titles */
.page-projects h1,
.page-contact h1,
.page-resume h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Subtitles */
.page-projects p,
.page-contact p,
.page-resume p {
    font-size: 1.05rem;
    color: #666;
}

/* Add spacing under hero */
.small-hero + section {
    margin-top: 40px;
}


/* CONTACT FORM CLEAN LOOK  */
body.page-contact .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 600px;
}

body.page-contact .wpcf7-form-control {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #dbe3f0;
    background: #fff;
    font-size: 1rem;
}

body.page-contact textarea.wpcf7-form-control {
    min-height: 150px;
}

body.page-contact .wpcf7-submit {
    align-self: flex-start;
    background: #0066ff;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 6px;
}

body.page-contact .wpcf7-submit:hover {
    background: #004fcc;
}


/* RESUME CONTENT IMPROVEMENTS */
.resume-content {
    max-width: 720px;
    margin-top: 40px;
    line-height: 1.8;
}

.resume-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
}

.resume-content h3 {
    font-size: 1.25rem;
    margin-top: 20px;
}

.resume-content p,
.resume-content li {
    font-size: 1.05rem;
    color: #444;
}

/* Resume download button */
.resume-content .btn-primary {
    margin-bottom: 26px;
}


/* SINGLE PROJECT PAGE DESIGN */
.single-project-main {
    background: #f7f8fb;
}

.single-project-main .hero-section {
    padding-bottom: 50px;
}

.single-project-main .project-thumb img {
    border-radius: 16px;
    width: 100%;
    height: auto;
}

.single-project-main .project-content {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.single-project-main .project-links {
    margin-top: 32px;
    display: flex;
    gap: 20px;
}

/* PROJECT ARCHIVE WIDTH + SPACING */
.projects-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 30px;
}

.projects-grid-archive .card {
    border-radius: 18px;
    padding: 24px;
}

.projects-grid-archive .project-thumb img {
    border-radius: 16px;
    height: 180px;
    width: 100%;
    object-fit: cover;
}
/* body.page-template-resume-page .ast-container,
body.page-template-contact-page .ast-container,
body.page-template-projects-page .ast-container,
body.single-project .ast-container
{
    display:block;
} */

.site-content > .ast-container {
    display: block !important;
}

/* === PROJECT LISTING CARDS (PROJECTS PAGE) === */

.project-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.project-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.project-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card-body {
    padding: 24px 26px;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-card-excerpt {
    color: #555;
    font-size: 1rem;
    margin-bottom: 18px;
}

.project-card-buttons {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}


/* === SINGLE PROJECT HERO WITH BACKGROUND IMAGE === */

.project-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 100px;
    position: relative;
}

.project-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* dark overlay for readability */
}

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

.project-hero h1 {
    color: #fff;
}

.project-hero p {
    color: #eaeaea;
}

/* === SINGLE PROJECT CONTENT SECTION === */

.single-project-main .project-content {
    margin-top: 30px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    line-height: 1.8;
}
.single-project-main {
    background: #ffffff !important;
}



.site-content,
.site-content #primary,
.site-content #primary > .ast-container {
    background-color: #ffffff !important;
}


.page-projects .small-hero {
    background: url('https://rojayarinze.com/wp-content/uploads/2025/11/puzzle-pieces-connected-stockcake.jpg') no-repeat center top / cover !important;
    color:#FFF !important;
}
.page-projects .small-hero h1
{
    color:#FFF !important;
}
.page-projects .small-hero p
{
    color:#FFF !important;
}
/* Make Contact Page hero the same width as other pages */
.page-contact .hero-section {
    width: min(92%, 1200px) !important;
    margin: 0 auto !important;
}


