/* =========================================================
   GLOBAL BASE & LAYOUT
========================================================= */

/* Base / Body */
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background-color: #F5E6D3; /* Warm Sand */
    color: #222222; /* Deep Charcoal */
}

/* Site Header & Navigation */
.site-header {
    padding: 1rem 2rem;
    border-bottom: 2px solid #D9822B; /* Terracotta */
    background-color: #FAF5F0; /* Warm Off-White */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    color: #8E7CA5; /* Ashy Purple */
}

.site-nav {
    margin-top: 0.5rem;
}

.site-nav a {
    margin-right: 1.5rem;
    text-decoration: none;
    color: #4AC3B0; /* Teal */
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: #FF6F3C; /* Sunset Orange */
}

/* Main Content Wrapper */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: auto;
}

/* =========================================================
   REUSABLE COMPONENTS
========================================================= */

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background-color: #FF6F3C; /* Sunset Orange */
    color: #FAF5F0; /* Warm Off-White */
}

.btn.secondary {
    background-color: #4A3B2A; /* Dark Earth Brown */
    color: #FAF5F0;
}

.btn.secondary:hover {
    background-color: #8E7CA5; /* Ashy Purple */
}

.btn.disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

/* Reusable Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #4A3B2A; /* Dark Earth Brown */
}

.page-header h2 {
    color: #8E7CA5; /* Ashy Purple */
}

.page-header p {
    max-width: 700px;
    margin: auto;
    font-size: 1.1rem;
}

/* =========================================================
   HOME PAGE
========================================================= */

/* Home — Hero */
.home-hero {
    background: linear-gradient(
        135deg,
        #D9822B, /* Terracotta */
        #FF6F3C, /* Sunset Orange */
        #8E7CA5  /* Ashy Purple */
    );
    text-align: center;
    padding: 4rem 1rem;
    border-radius: 0 0 50% 50% / 20%;
    margin-bottom: 3rem;
    color: #FAF5F0; /* Warm Off-White */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.home-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home-hero p {
    font-size: 1.5rem;
    font-weight: 400;
}

/* Home — Intro */
.home-intro {
    max-width: 800px;
    margin: auto;
    padding: 2rem 1rem;
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Home — Section Cards */
.home-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 2rem;
}

.section-card {
    background-color: #FAF5F0; /* Warm Off-White */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222222;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 260px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.section-card h3 {
    margin-bottom: 0.5rem;
    color: #8E7CA5; /* Ashy Purple */
    font-size: 1.3rem;
}

.section-card p {
    margin-bottom: 1rem;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    background-color: #FFDFAF; /* Warm pop hover */
}

.section-card a {
    margin-top: 1rem;
    color: #FAF5F0;
    background-color: #FF6F3C; /* Sunset Orange */
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.section-card a:hover {
    background-color: #4AC3B0; /* Teal */
}

/* =========================================================
   PROJECTS PAGE
========================================================= */

/* Projects — Hero */
.projects-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-hero h2 {
    color: #8E7CA5; /* Ashy Purple */
}

.projects-hero p {
    max-width: 720px;
    margin: auto;
    font-size: 1.1rem;
}

/* Projects — Sections */
.projects-section {
    margin: 4rem 0;
    padding: 3rem 2.5rem;
    border-radius: 22px;
}

.projects-featured {
    background: linear-gradient(135deg, #3E2F23, #5B4A3A);
    color: #FAF5F0;
}

.projects-creative {
    background: linear-gradient(135deg, #6E5A74, #8E7CA5);
    color: #FAF5F0;
}

.projects-creative .project-card{
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.projects-infra {
    background-color: #EFE6DC;
    border: 2px solid #4A3B2A;
}

/* Projects — Section Header */
.section-header {
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.section-header h3 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Projects — Grid & Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #FAF5F0;
    padding: 2rem;
    border-radius: 14px;
    border: 1.5px solid #4A3B2A;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.project-card h4 {
    margin-top: 0;
    color: #8E7CA5;
}

.project-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #222222;
}

/* Project Preview (Static) */

.project-preview {
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 14px 14px 0 0;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card {
    padding-bottom: 3.5rem;
}

.project-tech {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-tech li {
    background: #8E7CA5;
    color: #FAF5F0;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}



/* =========================================================
   ABOUT PAGE
========================================================= */

/* ------------------------------
   About — Hero (Intro + Photo)
-------------------------------- */

.about-hero {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 4rem 2.5rem;
    background: linear-gradient(
        135deg,
        #F5E6D3, /* Warm Sand */
        #FAF5F0  /* Warm Off-White */
    );
    border-radius: 28px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.about-hero-text {
    flex: 1;
    min-width: 300px;
}

.about-hero-text h2 {
    color: #8E7CA5; /* Ashy Purple */
    margin-bottom: 1rem;
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.65;
}

/* Photo container stays beside text */
.about-hero-image {
    flex: 0.9;
    min-width: 260px;
    display: flex;
    justify-content: center;
}

/* Photo Placeholder */
.photo-placeholder {
    width: 260px;
    height: 320px;
    background-color: #4A3B2A; /* Earth Brown */
    color: #FAF5F0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ------------------------------
   About — Section Containers
-------------------------------- */

/* Base container */
.about-section {
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    margin-bottom: 3.5rem;
}

/* Section inner width */
.about-content {
    max-width: 760px;
    margin: auto;
}

/* Variants for visual rhythm */
.about-section-light {
    background-color: #FAF5F0; /* Warm Off-White */
}

.about-section-warm {
    background-color: #E6D5C3; /* Warm Clay */
}

.about-section-accent {
    background-color: #EFE6DA; /* Soft Accent */
}

/* ------------------------------
   About — Highlight Text
-------------------------------- */

.about-highlight {
    font-size: 1.15rem;
    font-weight: 600;
    color: #8E7CA5; /* Ashy Purple */
    margin-bottom: 1.5rem;
}

/* ------------------------------
   Music Database Page
--------------------------------*/

.project-overview {
    max-width: 820px;
    margin: 0 auto 3rem;
    padding: 2.5rem 2.5rem;
    border-radius: 20px;
    background-color: #FAF5F0; /* Warm Off-White */
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.project-overview:nth-of-type(2) {
    background-color: #EFE6DA; /* Slightly darker warmth */
}

.project-overview:nth-of-type(3) {
    background-color: #E6D5C3; /* Rich warm accent */
}

.project-overview h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #8E7CA5; /* Ashy Purple */
    font-size: 1.4rem;
}

.project-overview p {
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Tech Stack – Music Database */

.project-overview .tech-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-overview .tech-list li {
    background-color: #8E7CA5; /* Ashy Purple */
    color: #FAF5F0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Interactive Placeholder – Music Database */

.project-interactive {
    max-width: 900px;
    margin: 4rem auto;
}

.interactive-placeholder {
    background-color: #FAF5F0;
    border: 2px dashed #4A3B2A; /* Earth Brown */
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    color: #222222;
}

.interactive-placeholder p {
    max-width: 640px;
    margin: 0.75rem auto;
    line-height: 1.6;
}

.placeholder-note {
    margin-top: 1.5rem;
    font-weight: 600;
    color: #8E7CA5; /* Ashy Purple */
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background-color: #4A3B2A;
    color: #FAF5F0;
    padding: 2rem 1rem;
}

.footer-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.footer-name {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #8E7CA5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #FAF5F0; /* Warm white for legibility */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FF6F3C; /* Accent pop */
}

/* =========================================================
   MODALS (STATIC + INTERACTIVE)
========================================================= */

.project-modal,
#modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 15, 10, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.project-modal.active,
#modal-overlay:not(.modal-hidden) {
    display: flex;
}

.project-modal-content,
.modal-window {
    background: #FAF5F0;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: visible;
    padding: 2.5rem;
    position: relative;
}

.modal-close,
#modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #4A3B2A;
}

/* ------------------------------
   Certifications Page
--------------------------------*/

.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: #FAF5F0; /* Warm Off-White */
    border: 1.5px solid #4A3B2A; /* Earth Brown */
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.cert-card h3 {
    margin-top: 0;
    color: #8E7CA5; /* Ashy Purple */
}

.cert-org {
    font-weight: 600;
    font-size: 0.9rem;
    color: #4A3B2A;
    margin-bottom: 0.6rem;
}

.cert-desc {
    font-size: 0.95rem;
    color: #222222;
    line-height: 1.5;
}

.cert-tech {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}



/* =========================================================
   RESUME PAGE
========================================================= */

.resume-section {
    background-color: #FAF5F0;
    border: 1.5px solid #4A3B2A;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.resume-section h3 {
    color: #8E7CA5; /* Ashy Purple */
    font-size: 1.9rem;
    margin-top: 0;
    margin-bottom: 1.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(142,124,165,0.35);
    padding-bottom: 0.5rem;
}


.resume-project h4,
.resume-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #4A3B2A;
}


.resume-item p {
    margin-top: 0;
    line-height: 1.5;
}

.resume-project {
    margin-bottom: 2rem;
}

.resume-tech {
    font-size: 0.9rem;
    font-style: italic;
    color: #6B5E52;
    margin-bottom: 0.75rem;
}

.resume-project ul,
.resume-section ul {
    padding-left: 1.25rem;
}

.resume-project li,
.resume-section li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Skills */
.resume-skills {
    list-style: none;
    padding: 0;
}

.resume-skills li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Certifications */
.resume-certifications {
    list-style: none;
    padding: 0;
}

.resume-certifications li {
    margin-bottom: 1rem;
    line-height: 1.45;
}

/* Section subheaders (Completed / Upcoming) */
.resume-section h5 {
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #4A3B2A;
}


