body {
    background-color: #f5f5f5;
    color: #333333;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

nav {
    background-color: #564d4f;
    color: #f5f5f5;
}

.nav-link{
    color: #f5f5f5;
}

.navbar{
    background-color: #564d4f;
    border-bottom: 6px solid #d1d1f0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.resume-main-section {
    background-color: #564d4f;
    border: 3px solid #ccb7a3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* Section spacing */
.resume-section {
    margin-bottom: 2.5rem;
}

.resume-section:last-child {
    margin-bottom: 0;
}

/* Section divider */
.resume-section-border {
    border-bottom: 3px solid #d1d1f0;
    padding-bottom: 1rem;
}

/* TEXT COLORS (this is the important part) */
.resume-main-section h2,
.resume-main-section h3,
.resume-main-section h4,
.resume-main-section h5,
.resume-main-section p,
.resume-main-section li {
    color: #f5f5f5;
}

/* Links */
.resume-main-section a:not(.btn)  {
    color: #f5f5f5 ;
    text-decoration: none;
    font-weight: 500;
}

.resume-main-section a:not(.btn):hover {
    color: #d1d1f0 ;
    text-decoration: underline;
}

/* Project items */
.resume-item {
    margin-bottom: 2rem;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-item-title {
    margin-bottom: 0.35rem;
    color: #f5f5f5;
}

/* Tech stack line */
.resume-tech {
    font-style: italic;
    color: #ccb7a3;
    margin-bottom: 0.6rem;
}

/* Lists */
.resume-main-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.resume-main-section li {
    margin-bottom: 0.45rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #564d4f;
    text-align: center;
    color: #f5f5f5;
}

/* Hero Section */
.hero-section {
    background-color: #564d4f;
    color: #f5f5f5;
    min-height: 500px;
    border: 4px solid #ccb7a3;
}

.cta-section {
    background-color: #564d4f;
    color: #f5f5f5;
    min-height: 100px;
    max-width: 900px;
    border: 4px solid #ccb7a3;
}

.hero-image-frame {
    border: 4px solid #ccb7a3;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}


.hero-name {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-title {
    font-size: clamp(1.3rem, 4vw, 2.8rem);
    font-weight: 400;
    color: #d1d1f0;
    margin-top: 6px;
}
.about-hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 400;
    color: #d1d1f0;
    margin-top: 6px;
}

.hero-text {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
}

.about-hero-section{
    background-color: #564d4f;
    color: #f5f5f5;
    min-height: 500px;
    border: 4px solid #ccb7a3;
}
.about-main-section {
    background-color: #564d4f;
    color: #f5f5f5;
    min-height: 500px;
    border: 4px solid #ccb7a3;
}

p {
    text-indent: 2em;
    font-size: clamp(1.1rem, 2.1vw, 1.2rem);
    color:#f5f5f5;
}
h2.about-title{
    color: #d1d1f0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.skill-card {
    color: #564d4f;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    border: 2px solid #ccb7a3;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
/*contact stuff */
.contact-shell {
    background-color: #564d4f;
    border: 3px solid #ccb7a3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.contact-shell h2,
.contact-shell h3,
.contact-shell h4 {
    color: #f5f5f5;
}

.contact-card {
    background-color: rgba(209, 209, 240, 0.08);
    border: 2px solid #d1d1f0;
    border-radius: 8px;
}

.contact-text {
    color: #f5f5f5;
    text-indent: 0;
    font-size: 1.05rem;
}

.contact-card a {
    text-decoration: none;
}

.contact-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d1f0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.contact-input {
    background-color: #f5f5f5;
    color: #333333;
    border: 2px solid #ccb7a3;
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
}

.contact-input:focus {
    border-color: #d1d1f0;
    box-shadow: 0 0 0 0.2rem rgba(209, 209, 240, 0.2);
}

.contact-form textarea.contact-input {
    resize: vertical;
}

.contact-alert {
    border-radius: 8px;
    padding: 0.9rem 1rem;
    text-indent: 0;
    font-weight: 500;
}

.contact-alert-success {
    background-color: #dff3e3;
    border: 2px solid #8bc79a;
    color: #234b2c;
}

.contact-alert-error {
    background-color: #f8dfdf;
    border: 2px solid #d48b8b;
    color: #5a2222;
}
/*Portfolio stuff */
.portfolio-shell {
    background-color: #564d4f;
    border: 3px solid #ccb7a3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.portfolio-shell h2,
.portfolio-shell h3,
.portfolio-shell h4,
.portfolio-shell h5 {
    color: #f5f5f5;
}

.portfolio-shell-text {
    color: #f5f5f5;
    text-indent: 0;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.portfolio-side-panel {
    background-color: rgba(209, 209, 240, 0.08);
    border: 2px solid #d1d1f0;
}

.portfolio-panel-title {
    color: #d1d1f0;
}

.portfolio-panel-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.portfolio-panel-list li {
    color: #f5f5f5;
    text-indent: 0;
    margin-bottom: 0.45rem;
}

.portfolio-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #d1d1f0;
    text-indent: 0;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.portfolio-subtitle {
    color: #d1d1f0;
}

.portfolio-tech {
    color: #ccb7a3;
    text-indent: 0;
    font-style: italic;
    font-size: 1rem;
}

.portfolio-tag {
    display: inline-block;
    background-color: #d1d1f0;
    color: #564d4f;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.featured-left {
    background-color: #564d4f;
    height: 100%;
}

.featured-right {
    background-color: #f5f5f5;
    height: 100%;
    border-left: 3px solid #ccb7a3;
}

.portfolio-light-heading {
    color: #564d4f !important;
}

.portfolio-light-text {
    color: #564d4f !important;
    text-indent: 0;
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    line-height: 1.75;
}

.portfolio-info-box {
    background-color: #ffffff;
    border: 2px solid #ccb7a3;
    border-radius: 8px;
    padding: 1rem;
}

.portfolio-light-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.portfolio-light-list li {
    color: #564d4f !important;
    text-indent: 0;
    margin-bottom: 0.45rem;
    line-height: 1.65;
}

.saga-media-grid {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.saga-icon-slot,
.saga-shot-slot {
    min-width: 0;
}

.portfolio-image-placeholder {
    background-color: rgba(245, 245, 245, 0.08);
    border: 2px dashed #ccb7a3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    min-height: 140px;
}

.portfolio-image-placeholder span {
    color: #f5f5f5;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    text-indent: 0;
}

.portfolio-image-placeholder.tall {
    min-height: 240px;
}

.portfolio-image-placeholder.wide {
    min-height: 180px;
}

.small-project-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.small-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.small-project-image {
    margin-bottom: 1rem;
}

.portfolio-card-link {
    color: #f5f5f5;
    font-weight: 600;
    text-decoration: none;
}

.portfolio-card-link:hover {
    color: #d1d1f0;
    text-decoration: underline;
}

@media (max-width: 1199.98px) {
    .featured-right {
        border-left: none;
        border-top: 3px solid #ccb7a3;
    }
}

@media (max-width: 767.98px) {
    .saga-media-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-image-placeholder.tall,
    .portfolio-image-placeholder.wide,
    .portfolio-image-placeholder {
        min-height: 180px;
    }
}
/* Gallery */
.gallery-shell {
    background-color: #564d4f;
    border: 3px solid #ccb7a3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.gallery-shell h2,
.gallery-shell h3,
.gallery-shell h4,
.gallery-shell h5 {
    color: #f5f5f5;
}

.gallery-shell-text {
    color: #f5f5f5;
    text-indent: 0;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.75;
}

.gallery-side-panel {
    background-color: rgba(209, 209, 240, 0.08);
    border: 2px solid #d1d1f0;
}

.gallery-panel-title {
    color: #d1d1f0;
}

.gallery-panel-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.gallery-panel-list li {
    color: #f5f5f5;
    text-indent: 0;
    margin-bottom: 0.45rem;
    line-height: 1.65;
}

.gallery-card {
    background-color: #564d4f;
    border: 3px solid #ccb7a3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.gallery-image-frame {
    border: 3px solid #ccb7a3;
    border-radius: 8px;
    overflow: hidden;
    background-color: #4d4547;
}

.gallery-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.gallery-card-title {
    color: #d1d1f0;
    margin-bottom: 0.5rem;
}

.gallery-card-caption {
    color: #f5f5f5;
    text-indent: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.gallery-code-block {
    background-color: #f5f5f5;
    color: #564d4f;
    border: 2px solid #ccb7a3;
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.6;
}

.gallery-code-block code {
    color: #564d4f;
    font-family: Consolas, Monaco, monospace;
}

@media (max-width: 767.98px) {
    .gallery-image {
        height: 260px;
    }
}

/* CTA Buttons */
.btn-cta {
    background-color: transparent;
    color: #d1d1f0;
    border: 2px solid #d1d1f0;
    padding: 12px 24px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-cta:hover {
    background-color: #d1d1f0;
    color: #564d4f;
    border-color: #d1d1f0;
}

.navbar-nav .nav-link {
    color: #f5f5f5;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #d1d1f0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .hero-image {
        max-width: 450px;
    }

    .hero-text {
        margin: 0;
    }
}