/* randyStyle.css */

/* =========================
   Base
========================= */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    color: #172033;
}

section {
    padding: 50px 20px;
}

/* =========================
   Buttons
========================= */

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #172033;
}

/* =========================
   Top Navigation
========================= */

.site-navbar-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e6edf5;
    box-shadow: 0 2px 12px rgba(23, 32, 51, 0.04);
}

.site-navbar {
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    border-radius: 50%;
    object-fit: cover;
}

.brand-text {
    color: #172033;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.site-navbar .nav-link {
    color: #344054 !important;
    font-weight: 650;
    margin-left: 18px;
}

.site-navbar .nav-link:hover {
    color: #0d6efd !important;
}

.site-navbar .project-link {
    background: #0d6efd;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 8px 16px !important;
}

.site-navbar .project-link:hover {
    background: #0b5ed7;
    color: #ffffff !important;
}

/* =========================
   Welcome / Home Page
========================= */

.welcome-page {
    padding: 56px 0 80px;
    background: #f7f9fc;
}

.hero-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.hero-content {
    padding: 24px 0;
}

.hero-label,
.section-label {
    color: #0d6efd;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.hero-content h1 {
    color: #172033;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero-description {
    color: #4d5b6c;
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 24px;
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-skills span {
    background: #ffffff;
    color: #2d3a4a;
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.hero-btn:hover {
    text-decoration: none;
}

.hero-btn.primary {
    background: #0d6efd;
    color: white;
}

.hero-btn.primary:hover {
    background: #0b5ed7;
    color: white;
}

.hero-btn.secondary {
    background: white;
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

.hero-btn.secondary:hover {
    background: #eef5ff;
    color: #0b5ed7;
}

.hero-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(23, 32, 51, 0.18);
}

.featured-section {
    width: min(1180px, calc(100% - 32px));
    margin: 72px auto 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.featured-card {
    background: white;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.featured-card h2 {
    color: #172033;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.featured-card p {
    color: #526173;
    line-height: 1.7;
    margin-bottom: 16px;
}

.featured-card a {
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
}

.featured-card a:hover {
    color: #0b5ed7;
    text-decoration: none;
}

/* =========================
   About Page
========================= */

.about-page {
    background: #f7f9fc;
    padding: 64px 0 84px;
}

.about-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.about-hero {
    max-width: 920px;
    margin: 0 auto 56px;
    text-align: center;
}

.about-hero h1 {
    color: #172033;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 22px;
}

.about-summary {
    color: #4d5b6c;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto 18px;
}

.about-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.about-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.about-card {
    background: #ffffff;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.about-card img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 18px;
}

.about-card h2 {
    color: #172033;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-card p {
    color: #526173;
    line-height: 1.7;
    margin: 0;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-detail-card {
    background: #ffffff;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.about-detail-card h2 {
    color: #172033;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-detail-card p {
    color: #526173;
    line-height: 1.75;
}

.about-detail-card a {
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
}

.about-detail-card a:hover {
    color: #0b5ed7;
    text-decoration: none;
}

.about-skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-skill-list span {
    background: #f7f9fc;
    color: #2d3a4a;
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-strengths-grid {
        grid-template-columns: 1fr;
    }

    .about-details {
        grid-template-columns: 1fr;
    }
}


/* =========================
   Images / Icons
========================= */

.image-container1 img {
    width: 100%;
    height: auto;
}

.icon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.icon {
    flex: 0 1 auto;
    margin: 5px;
}

.icon img {
    max-width: 100%;
    height: auto;
}

/* =========================
   Contact
========================= */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

/* =========================
   Timer
========================= */

.timer {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    height: 30px;
}

/* =========================
   Sticky Utility
========================= */

.sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
/* =========================
   Footer
========================= */

.footer {
    background-color: #172033;
    color: #ffffff;
    padding: 34px 0 22px;
}

.footer-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-start;
}

.footer-left {
    max-width: 520px;
}

.footer-brand {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-description {
    color: #c9d4e3;
    line-height: 1.7;
    margin: 0;
}

.footer-right {
    text-align: right;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 16px;
    font-weight: 600;
}

.footer-links a:hover {
    color: #8bbcff;
    text-decoration: none;
}

.footer-copy {
    color: #c9d4e3;
    margin: 0;
    font-size: 0.95rem;
}

.footer-stats {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #c9d4e3;
    font-size: 0.92rem;
}

.footer-stats strong {
    color: #ffffff;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-navbar .nav-link {
        margin-left: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-navbar .project-link {
        display: inline-block;
        margin-top: 8px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content .col-md-6 {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-content .col-md-6.text-right {
        text-align: left !important;
    }
    @media (max-width: 768px) {
        .footer-content {
            flex-direction: column;
        }

        .footer-right {
            text-align: left;
        }

        .footer-links a {
            display: inline-block;
            margin-left: 0;
            margin-right: 14px;
            margin-bottom: 8px;
        }

        .footer-stats {
            flex-direction: column;
            gap: 8px;
        }
    }
}

/* =========================
   Contact Page
========================= */

.contact-page {
    background: #f7f9fc;
    padding: 64px 0 84px;
}

.contact-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.contact-intro {
    padding-top: 24px;
}

.contact-intro h1 {
    color: #172033;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-intro p {
    color: #4d5b6c;
    font-size: 1.08rem;
    line-height: 1.8;
}

.contact-info-box {
    background: #ffffff;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    padding: 24px;
    margin-top: 28px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.contact-info-box p {
    margin-bottom: 12px;
    color: #526173;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.contact-form-card h2 {
    color: #172033;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.contact-form-card label {
    color: #344054;
    font-weight: 700;
}

.contact-form-card .form-control {
    border-radius: 10px;
    border: 1px solid #d9e2ef;
    padding: 12px 14px;
}

.contact-form-card .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.contact-success {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eaf7ee;
    color: #1f7a3f;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Portfolio Page
========================= */

.portfolio-page {
    background: #f7f9fc;
    padding: 64px 0 84px;
}

.portfolio-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.portfolio-hero {
    max-width: 880px;
    margin: 0 auto 48px;
    text-align: center;
}

.portfolio-hero h1 {
    color: #172033;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 18px;
}

.portfolio-hero p {
    color: #4d5b6c;
    font-size: 1.08rem;
    line-height: 1.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e1e7f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.project-image {
    background: #eef3f9;
    min-height: 360px;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.placeholder-image img {
    filter: grayscale(20%);
}

.project-content {
    padding: 34px;
}

.project-status {
    display: inline-block;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.project-status.active {
    background: #eaf7ee;
    color: #1f7a3f;
}

.project-status.planned {
    background: #eef5ff;
    color: #0d6efd;
}

.project-status.idea {
    background: #fff7df;
    color: #8a6400;
}

.project-content h2 {
    color: #172033;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.project-content p {
    color: #526173;
    line-height: 1.75;
    margin-bottom: 18px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tech span {
    background: #f7f9fc;
    color: #2d3a4a;
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 650;
}

.project-points {
    padding-left: 20px;
    margin-bottom: 24px;
}

.project-points li {
    color: #526173;
    margin-bottom: 8px;
    line-height: 1.55;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.project-note {
    color: #667085;
    font-weight: 700;
    background: #f7f9fc;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    padding: 10px 14px;
}

@media (max-width: 900px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image,
    .project-image img {
        min-height: 260px;
    }
}