﻿/* Content/site.css - custom styles inspired by Weebix landing theme (single-page) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Open+Sans:wght@400;600&display=swap');

:root {
    --accent: #0069ff;
    --muted: #6b7280;
    --bg: #ffffff
}

html, body {
    height: 100%;
    font-family: 'Open Sans',system-ui,Arial;
    background: var(--bg);
    color: #111827
}

.site-container {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: 260px;
    background: #ffffff;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 28px;
    box-shadow: 2px 0 18px rgba(2,6,23,0.06);
    display: flex;
    flex-direction: column;
    align-items: center
}

    .sidebar .profile {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        overflow: hidden;
        border: 6px solid #fff;
        box-shadow: 0 8px 26px rgba(2,6,23,0.06)
    }
    .sidebar .profile img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .sidebar h1 {
        font-family: 'Poppins';
        margin: 12px 0 0;
        font-size: 1.2rem
    }

    .sidebar p.role {
        color: var(--muted);
        margin: 6px 0 14px
    }

.nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

    .nav-vertical a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 8px 12px;
        border-radius: 8px;
        color: var(--muted);
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-vertical a i {
        width: 26px;
        text-align: center;
        font-size: 1.05rem;
    }

    .nav-vertical .nav-label {
        font-size: 0.95rem;
        line-height: 1;
    }

        .nav-vertical a:hover, .nav-vertical a.active {
            background: rgba(0,105,255,0.08);
            color: var(--accent);
        }

.main {
    margin-left: 320px;
    padding: 48px;
    flex: 1
}

.hero {
    /* Reduce vertical whitespace: smaller min-height and some padding */
    min-height: 50vh;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .hero h2 {
        font-family: 'Poppins';
        font-size: 2.6rem;
        margin: 0 0 8px
    }

    .hero h3 {
        color: var(--muted);
        margin: 0 0 14px
    }

.lead {
    color: var(--muted);
    max-width: 720px
}

.cta {
    margin-top: 18px
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none
}

.btn-muted {
    background: #f1f5f9;
    color: var(--accent);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.04);
    margin-bottom: 20px
}

.carousel-item {
    padding: 12px
}

/* Keep carousel controls in their default positions but use black chevrons */
.carousel-control-prev,
.carousel-control-next {
    background: transparent;
    width: auto;
    height: auto;
    box-shadow: none;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path fill-rule='evenodd' d='M4.646 14.354a.5.5 0 0 1 0-.708L10.293 8 4.646 2.354a.5.5 0 1 1 .708-.708l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708 0z'/></svg>");
}

.img-fluid.rounded {
    border-radius: 8px
}

.tags .badge {
    margin-right: 6px
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: all 520ms cubic-bezier(.2,.9,.2,1)
}

    .reveal.revealed {
        opacity: 1;
        transform: none
    }

@media(max-width:900px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 12px
    }

    .main {
        margin-left: 0;
        padding: 18px
    }

    .nav-vertical {
        flex-direction: row;
        margin-left: auto
    }
    /* On small screens, make hero more compact */
    .hero { min-height: 40vh; padding: 12px 0; }
    .nav-vertical .nav-label { display: none; }
}
/* Accessibility */
a:focus {
    outline: 3px solid rgba(0,105,255,0.12);
    outline-offset: 3px
}
/* Skill bars */
.skill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

    .skill .bar {
        flex: 1;
        height: 10px;
        background: #eef2ff;
        border-radius: 999px;
        margin-left: 12px;
        overflow: hidden
    }

        .skill .bar > span {
            display: block;
            height: 100%;
            width: 0;
            background: var(--accent);
            transition: width 900ms ease
        }
