@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

.frame {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 56px;
    align-items: center;
    gap: 24px;
    padding: 0px 24px;
    position: relative;
    background-color: #ffffff;
    border: none;
    border-bottom: 1px solid #e2e2e2;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 100%;
}

.frame .div-wrapper {
    position: relative;
    width: auto;
    height: 14px;
    display: flex;
    align-items: center;
}

.frame .text-wrapper {
    position: relative;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    color: #000000;
    font-size: 12px;
    letter-spacing: 3.00px;
    line-height: normal;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.frame .text-wrapper a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.frame .text-wrapper a:hover {
    color: #1877f2;
}

.frame .div {
    display: flex;
    align-items: center;
    padding: 0px 24px;
    position: relative;
    flex: 1;
    align-self: stretch;
    flex-grow: 1;
    border-left-width: 1px;
    border-left-style: solid;
    border-color: #a0a0a04d;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
}

.frame .div-wrapper-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0px 24px 0px 0px;
    position: relative;
    flex: 0 0 auto;
}

.frame .text-wrapper-2 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #000000;
    font-size: 12px;
    letter-spacing: 3.00px;
    line-height: normal;
    white-space: nowrap;
}

.frame .div-wrapper-3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0px 24px;
    position: relative;
    flex: 0 0 auto;
    border-left-width: 1px;
    border-left-style: solid;
    border-color: #a0a0a04d;
}

.frame .menu-links {
    display: flex;
    align-items: center;
    padding: 0px 24px;
    position: relative;
    flex: 1;
    align-self: stretch;
    flex-grow: 1;
    border-left-width: 1px;
    border-left-style: solid;
    border-color: #a0a0a04d;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
}

.frame .menu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0px 24px;
    position: relative;
    flex: 0 0 auto;
    border-left-width: 1px;
    border-left-style: solid;
    border-color: #a0a0a04d;
}

.frame .menu-item:first-child {
    border-left: none;
    padding: 0px 24px 0px 0px;
}

.frame .menu-text {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #000000;
    font-size: 12px;
    letter-spacing: 3.00px;
    line-height: normal;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.menu-text:hover {
    color: #1877f2;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 6px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: transparent;
    margin-left: 10px;
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: #000000;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger span:nth-child(1) {
    width: 70%;
    align-self: flex-end;
}

.hamburger span:nth-child(2) {
    width: 100%;
}

.hamburger span:nth-child(3) {
    width: 85%;
    align-self: flex-end;
}

.hamburger:hover span:nth-child(1),
.hamburger:hover span:nth-child(3) {
    width: 100%;
}

.hamburger.active {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger.active span {
    width: 100%;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
    .frame {
        padding: 0px 16px;
    }
    
    .frame .div {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        border-top: 1px solid #e2e2e2;
        z-index: 1000;
        padding: 0;
        transform: translateY(-20px);
        opacity: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .frame .div.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .frame .div-wrapper-2,
    .frame .div-wrapper-3 {
        width: 100%;
        padding: 16px 24px;
        border-left: none;
        border-bottom: 1px solid #a0a0a04d;
        justify-content: flex-start;
        transition: background-color 0.2s ease;
    }
    
    .frame .div-wrapper-2:hover,
    .frame .div-wrapper-3:hover {
        background-color: rgba(0,0,0,0.02);
    }
    
    .frame .menu-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media screen and (max-width: 480px) {
    .frame {
        padding: 0px 12px;
        min-height: 48px;
    }
    
    .frame .text-wrapper {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .frame .text-wrapper-2 {
        font-size: 10px;
        letter-spacing: 2px;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    padding: 60px 30px 30px;
}

.sidebar.active {
    transform: translateX(-100%);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2001;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.sidebar-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.sidebar-close span {
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #000000;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.sidebar-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sidebar-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sidebar-close:hover span {
    width: 26px;
    background-color: #333;
}

.sidebar-menu {
    margin-top: 30px;
}

.sidebar-menu-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
    transition: all 0.3s ease;
}

.sidebar-menu-item:hover {
    transform: translateX(10px);
}

.sidebar-menu-item-text {
    position: relative;
    width: fit-content;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #000000;
    font-size: 14px;
    letter-spacing: 2.00px;
    line-height: normal;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sidebar-menu-item:hover .sidebar-menu-item-text {
    color: #1877f2;
    font-weight: 600;
}

.menu-list {
    display: flex;
    width: 100%;
    list-style: none;
}

.sidebar-menu-list {
    list-style: none;
}

/* Always show menu-links on desktop */
.menu-links {
    display: flex;
    align-items: center;
    padding: 0px 24px;
    position: relative;
    flex: 1;
    align-self: stretch;
    flex-grow: 1;
    border-left-width: 1px;
    border-left-style: solid;
    border-color: #a0a0a04d;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
}

/* Hide sidebar and overlay on desktop */
.sidebar, .sidebar-overlay {
    display: none;
}

@media screen and (max-width: 768px) {
    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }
    
    /* Hide horizontal menu on mobile */
    .menu-links {
        display: none;
    }
    
    /* Show sidebar and overlay on mobile when active */
    .sidebar.active {
        display: block;
        transform: translateX(-100%);
    }
    
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    /* Make sidebar visible but off-screen by default on mobile */
    .sidebar {
        display: block;
        right: -80%;
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        display: block;
        opacity: 0;
        visibility: hidden;
    }
}

/* Content styling */
.content {
    max-width: 95%;
    margin: 40px auto;
    padding: 0 20px;
}

.content h2 {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

.content p {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}



/* More specific welcome message styling */
.right-column .content-after-border .welcome-message {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: #646464;
    letter-spacing: 0.3px;
}

.right-column .content-after-border .welcome-message a {
    color: #646464;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px dotted #646464;
}

.right-column .content-after-border .welcome-message a:hover {
    text-decoration: none;
    border-bottom: 1px solid #646464;
}


.all-content-text {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}


ul.welcome-message {
    list-style: disc;
    margin: 0 0 2em;
    padding-left: 20px;
}

ul.welcome-message li {
    margin-bottom: 10px;
}

/* Skill Bars */
.skillbar-container {
    position: relative;
    min-height: auto;
    transition: height 0.3s ease;
    margin-top: 20px;
}

.skillbar {
    position: relative;
    display: block;
    margin-bottom: 15px;
    width: 100%;
    height: 35px;
}

.skillbar-title {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Quicksand", sans-serif;
    font-size: 12px;
    color: #ffffff;
    font-weight: bold;
    background: #0000001a;
    padding: 0px 10px 0px 10px;
    border-radius: 0 2px 2px 0;
}

.skillbar-bar {
    display: block;
    background-color: #EEEEEE;
    height: 35px;
    width: 100%;
    border-radius: 3px;
    position: relative;
    box-sizing: border-box;
    transform: none;
    outline: none;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 18.6667px;
    line-height: 32.6667px;
    text-decoration: none solid rgb(100, 100, 100);
    word-spacing: 0px;
    color: #646464;
}

.skillbar-bar:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #E47272;
    border-radius: 3px;
    width: var(--percent-width, 0%);
}

/* Fallback classes for specific percentages */
.skillbar-bar[data-percent="20%"]:before { width: 20%; }
.skillbar-bar[data-percent="40%"]:before { width: 40%; }
.skillbar-bar[data-percent="60%"]:before { width: 60%; }
.skillbar-bar[data-percent="80%"]:before { width: 80%; }
.skillbar-bar[data-percent="100%"]:before { width: 100%; }

.skillbar-divisions {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1px;
    box-sizing: border-box;
    pointer-events: none;
}

.skillbar-division {
    width: 1px;
    height: 100%;
    background-color: transparent;
}

.skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    color: #0006;
    z-index: 1;
}

/* Category-specific colors for skill bars */
.skillbar-category-title {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #646464;
    margin: 20px 0 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}

/* Digital Marketing - Red */
.category-digital-marketing .skillbar-bar:before {
    background-color: rgb(228, 114, 114); /* Red shade */
}

/* Design Skills - Blue */
.category-design-skills .skillbar-bar:before {
    background-color: rgb(56, 150, 226); /* Blue shade */
}

/* Web Development - Green */
.category-web-development .skillbar-bar:before {
    background-color: rgb(64, 73, 78); /* Green shade */
}

/* AI & Automation - Purple */
.category-ai-automation .skillbar-bar:before {
    background-color: rgb(105, 104, 179); /* Purple shade */
}

/* Skills Filter Buttons */
.skills-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    gap: 0;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #fff;
    padding: 10px 0;
}

.skill-filter-button {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    color: #3c3b3b !important;
    cursor: pointer;
    display: inline-block;
    font-family: Raleway, Helvetica, sans-serif;
    font-size: .6em;
    font-weight: 800;
    height: auto;
    letter-spacing: .25em;
    padding: 0.6em -1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    margin: 0;
    width: auto;
    min-width: min-content;
}

.skill-filter-button:hover {
    box-shadow: inset 0 0 0 1px #1877f2;
    color: #1877f2 !important;
}

.skill-filter-button.active {
    background-color: transparent;
    box-shadow: none;
    color: #1877f2 !important;
    font-weight: 900;
}

/* Special styling for active category buttons (not All) */
.skill-filter-button.active:not([data-category="all"]) {
    box-shadow: inset 0 0 0 1px #1877f2;
}

/* All button special styling */
.skill-filter-button.active[data-category="all"] {
    box-shadow: none;
}

@media (max-width: 768px) {
    .skills-filter-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }
    
    .skill-filter-button {
        width: auto;
        margin: 0;
        padding: 0.6em -1em;
    }
}

.all-skills-container {
    position: relative;
}

/* Make sure the content container adapts properly */
.content-after-border {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensure the two-column container adjusts height */
.two-column-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
    margin-bottom: 30px;
    min-height: min-content;
}

/* References line styling */
.references-line {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #646464;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 160, 160, 0.3);
}

.reference-link {
    color: #646464;
    text-decoration: none;
    border-bottom: 1px dotted #646464;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.reference-link:hover {
    color: #1877f2;
    border-bottom: 1px solid #1877f2;
}

/* Stats Table Styling */
.stats-table-container {
    margin: 30px 0;
    width: 100%;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    color: #646464;
    font-weight: 600;
}

.stats-table tr {
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.stats-left-cell {
    width: 60%;
    padding: 20px 10px;
    text-align: left;
}

.stats-right-cell {
    width: 40%;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
}

.stats-row-odd {
    background-color: #f8f8f8;
}

.stats-row-even {
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .stats-table {
        font-size: 12px;
    }
    
    .stats-left-cell {
        padding: 12px 8px;
        font-size: 10px;
        width: 40%;
    }
    .stats-right-cell {
        padding: 12px 8px;
        font-size: 10px;
        width: 60%;
    }
}

/* Styling for scroll-to-section navigation */
.scroll-to-section {
    color: #000000 !important;
    word-spacing: 10px;
}

.scroll-to-section a {
    color: #000000 !important;
    transition: color 0.3s ease; /* Smooth color transition */
}

.scroll-to-section a:hover {
    color: #1877f2 !important;
}

/* Contact Page Styling */
.contact-info-container {
    margin: 20px 0;
}

.standard-format p {
    margin-bottom: 10px;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #646464;
}

.standard-format strong {
    font-weight: 600;
}

.animated-email {
    font-family: inherit;
    color: #1877f2;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #1877f2;
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.animated-email:hover {
    color: #1877f2;
    border-bottom: 1px solid #1877f2;
}

.contact-social-icons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.contact-social-icons a {
    color: #3c3b3b;
    transition: color 0.3s ease;
}

.contact-social-icons a:hover {
    color: #1877f2;
}

.contact-social-icons i {
    font-size: 24px;
}

/* Disable text selection on interactive elements */
a, button, .button, .menu-item, .sidebar-menu-item, .social-icons a, .skill-filter-button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.project-item {
    margin-top: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.project-item:last-child {
    border-bottom: none;
}

/* Project details now uses site standard styling */
.project-details {
    margin: 25px 0;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.tech-tag {
    background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
    color: #333;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tech-tag i {
    margin-right: 5px;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #e0e0e0, #d4d4d4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    color: #555;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1877f2;
    font-weight: bold;
}

.project-image-wrapper {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
}

.project-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.6s ease, filter 0.6s ease;
    transform-origin: center;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.view-project {
    color: white;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.project-image-wrapper:hover .project-image {
    transform: scale(1.05);
    filter: brightness(0.8) blur(2px);
}

.project-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.project-image-wrapper:hover .view-project {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .project-details {
        padding: 15px;
    }
    
    .project-tech {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .features-list li {
        font-size: 14px;
    }
    
    .view-project {
        font-size: 16px;
        padding: 8px 16px;
    }
}
