/**
 * Custom Styles for Luis Bei Theme
 * 
 * @package Luis_Bei_Theme
 * @since 1.0.0
 */

/* ==========================================================================
   FRONT PAGE STYLES
   ========================================================================== */

/* Main content padding for fixed header */
.front-page {
    padding-top: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #8300E9 0%, #9B51E0 50%, #7EBEC5 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-shapes .shape {
    position: absolute;
    opacity: 0.3;
}

.hero-shapes .circle-large {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #FF9A8B;
    top: -100px;
    left: -100px;
}

.hero-shapes .circle-medium {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #8300E9;
    top: 50px;
    left: 50px;
}

.hero-shapes .triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #FF9A8B;
    bottom: 100px;
    left: 10%;
}

.hero-shapes .diamond {
    width: 150px;
    height: 150px;
    background-color: #7EBEC5;
    transform: rotate(45deg);
    bottom: 100px;
    right: 10%;
}

.hero-shapes .circle-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #FC7223;
    top: 40%;
    right: 15%;
}

.hero-shapes .square {
    width: 60px;
    height: 60px;
    background-color: #8300E9;
    bottom: 30%;
    right: 20%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.875rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description p {
    margin-bottom: 0;
}

.wave-transition {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23FFFFFF" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="%23FFFFFF" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="%23FFFFFF" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* ==========================================================================
   EXPERIENCE SECTION
   ========================================================================== */

.experience-section {
    background-color: var(--white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-lg);
}

.experience-list {
    max-width: 1000px;
    margin: 0 auto;
}

.experience-item {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: var(--transition-medium);
}

.experience-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
}

.experience-info h3 {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.experience-period {
    font-size: 0.875rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.experience-location {
    font-size: 0.875rem;
    color: var(--gray-light);
    margin-bottom: 0;
}

.accordion-toggle {
    background: none;
    border: 2px solid var(--gray-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.accordion-toggle:hover {
    background-color: var(--gray-very-light);
    border-color: var(--primary-purple);
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-medium);
    transition: var(--transition-fast);
}

.accordion-item.active .toggle-icon {
    transform: rotate(45deg);
}

.experience-content,
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
}

.accordion-item.active .experience-content,
.accordion-item.active .accordion-content {
    max-height: 1000px;
    margin-top: var(--spacing-md);
}

.experience-content p {
    line-height: 1.7;
    color: var(--gray-medium);
}

.experience-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */

.education-section {
    background-color: var(--gray-ultra-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.education-item {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: var(--spacing-md);
    transition: var(--transition-medium);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(131, 0, 233, 0.15);
}

.education-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: var(--primary-purple);
}

.education-icon svg {
    width: 100%;
    height: 100%;
}

.education-content h3 {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.education-institution {
    font-size: 0.9375rem;
    color: var(--gray-medium);
    margin-bottom: 0.25rem;
}

.education-date {
    font-size: 0.875rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 0;
}

/* ==========================================================================
   LECTURES SECTION
   ========================================================================== */

.lectures-section {
    background-color: var(--white);
}

.lectures-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, #7EBEC5 0%, #2EA3F2 100%);
    border-radius: 12px;
    overflow: hidden;
    padding: var(--spacing-lg);
    min-height: 400px;
}

.carousel-container {
    position: relative;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-content {
    text-align: center;
    color: var(--white);
}

.carousel-image {
    margin-bottom: var(--spacing-md);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-text h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.carousel-text h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
}

.carousel-text p {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.8;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 3rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-md);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--white);
}

.lectures-list-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.lectures-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lectures-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-border);
    line-height: 1.6;
}

.lectures-list li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */

.skills-section {
    background-color: var(--gray-ultra-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto var(--spacing-xxl);
}

.skill-item {
    text-align: center;
}

.skill-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-md);
    position: relative;
}

.skill-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.skill-circle-bg {
    fill: none;
    stroke: var(--gray-very-light);
    stroke-width: 10;
}

.skill-circle-progress {
    fill: none;
    stroke: currentColor;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1.5s ease;
}

.skill-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-dark);
}

.skill-item h3 {
    font-size: 1.125rem;
    color: var(--gray-dark);
}

/* Languages */
.languages-section {
    max-width: 800px;
    margin: 0 auto;
}

.subsection-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-lg);
}

.language-item {
    margin-bottom: var(--spacing-md);
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.language-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-dark);
}

.language-percentage {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-medium);
}

.language-bar {
    height: 30px;
    background-color: var(--gray-very-light);
    border-radius: 15px;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background-color: currentColor;
    border-radius: 15px;
    width: 0;
    transition: width 1.5s ease;
}

/* ==========================================================================
   COMPLEMENTARY EDUCATION SECTION
   ========================================================================== */

.complementary-section {
    background-color: var(--white);
}

.complementary-list {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    padding: var(--spacing-md) var(--spacing-lg);
}

.complementary-list ul {
    list-style: disc;
    margin-left: var(--spacing-md);
}

.complementary-list li {
    padding: 0.5rem 0;
    line-height: 1.6;
    color: var(--gray-medium);
}

/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */

.certifications-section {
    background-color: var(--gray-ultra-light);
}

.certifications-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto var(--spacing-xxl);
}

.badge-item {
    display: flex;
    justify-content: center;
}

.badge {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-medium);
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.appm-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.google-badge,
.google-ads-badge {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.hubspot-badge {
    background: linear-gradient(135deg, #FF7A59, #FF5C35);
}

.badge-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    font-size: 0.7rem;
    opacity: 0.9;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.software-column {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.software-column ul {
    list-style: none;
    margin: 0;
}

.software-column li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-border);
    color: var(--gray-medium);
}

.software-column li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition-medium);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-turquoise));
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-medium);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-purple);
    opacity: 0.3;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--gray-light);
    margin-bottom: 0;
}

/* ==========================================================================
   LET'S TALK SECTION
   ========================================================================== */

.lets-talk-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #8300E9 0%, #9B51E0 50%, #7EBEC5 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
}

.lets-talk-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.lets-talk-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.lets-talk-shapes .shape {
    position: absolute;
    opacity: 0.3;
}

.lets-talk-content {
    position: relative;
    z-index: 2;
}

.lets-talk-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    letter-spacing: 3px;
}

.lets-talk-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--white);
    font-weight: 300;
}

.wave-transition-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23000000" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="%23000000" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="%23000000" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* ==========================================================================
   BLOG STYLES
   ========================================================================== */

.site-main {
    padding-top: 100px;
    min-height: 60vh;
}

.archive-page .container,
.single-post .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-lg);
    max-width: 1200px;
}

.content-area {
    min-width: 0;
}

.content-area-full {
    max-width: 900px;
    margin: 0 auto;
}

.archive-header {
    margin-bottom: var(--spacing-lg);
}

.archive-title {
    font-size: 2.5rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
}

.posts-grid,
.posts-container {
    display: grid;
    gap: var(--spacing-lg);
}

.post-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-item .post-content {
    padding: var(--spacing-md);
}

.post-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.post-title a {
    color: var(--gray-dark);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--primary-purple);
}

.post-meta {
    font-size: 0.875rem;
    color: var(--gray-light);
    margin-bottom: var(--spacing-sm);
}

.post-separator {
    margin: 0 0.5rem;
}

.post-excerpt {
    color: var(--gray-medium);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.read-more {
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-orange);
}

/* Single Post */
.single-post .entry-header {
    margin-bottom: var(--spacing-lg);
}

.entry-title {
    font-size: 2.5rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
}

.entry-thumbnail {
    margin-bottom: var(--spacing-lg);
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-medium);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--gray-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.entry-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-very-light);
    color: var(--gray-dark);
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.tag:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xxl) 0;
}

.nav-previous,
.nav-next {
    background-color: var(--gray-ultra-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: var(--transition-medium);
}

.nav-previous:hover,
.nav-next:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

.nav-previous:hover a,
.nav-next:hover a {
    color: var(--white);
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-dark);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.widget {
    background-color: var(--gray-ultra-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.widget-title {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-purple);
}

.widget ul {
    list-style: none;
    margin: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-border);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition-fast);
}

.widget a:hover {
    color: var(--primary-purple);
}

/* Search Form */
.search-form-wrapper {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.search-submit:hover {
    background-color: var(--primary-orange);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-xxl);
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--gray-very-light);
    color: var(--gray-dark);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-numbers.current,
.page-numbers:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.error-404-page {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
}

.error-404-header {
    margin-bottom: var(--spacing-xxl);
}

.error-404-title {
    font-size: clamp(6rem, 15vw, 10rem);
    color: var(--primary-purple);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.error-404-subtitle {
    font-size: 2rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
}

.error-404-search,
.error-404-links,
.error-404-recent {
    max-width: 600px;
    margin: 0 auto var(--spacing-xxl);
}

.error-404-links ul {
    list-style: none;
    margin: var(--spacing-md) 0 0;
}

.error-404-links li {
    margin: var(--spacing-sm) 0;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.recent-post-item {
    background-color: var(--gray-ultra-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: left;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .software-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-page .container,
    .single-post .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 4rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .hero-section,
    .lets-talk-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-shapes .shape,
    .lets-talk-shapes .shape {
        display: none;
    }
    
    .certifications-badges {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .accordion-toggle {
        align-self: flex-start;
    }
}

/* ==========================================================================
   SCREEN READER TEXT
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
