/* Consolidated Styles - Portfolio Juan Muñoz */

/* ===== NORMALIZE & RESET ===== */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0;}main{display:block;}h1{font-size:2em;margin:.67em 0;}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace,monospace;font-size:1em;}a{background-color:transparent;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-.25em;}sup{top:-.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0;}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText;}fieldset{padding:.35em .75em .625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto;}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --color3: #0dcaf0;
    --color4: #198754;
    --white: white;
    --light: #f8f9fa;
    --dark: #212529;
    
    /* Breaking Rules Variables for Controlled Chaos */
    --rebellion-offset-sm: 3px;
    --rebellion-offset-md: 8px;
    --rebellion-offset-lg: 15px;
    --rebellion-skew: 1deg;
    --rebellion-scale: 1.03;
    --rebellion-rotate: 2deg;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body, html {
    min-height: 100vh;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e6ed;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    background-attachment: fixed;
    min-height: 100vh;
    font-size: 1.125rem;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid #4ecdc4;
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid #ff6b9d;
    outline-offset: 2px;
}

*:focus {
    outline: 3px solid #ff6b9d;
    outline-offset: 2px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav-brand a {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d, #ffd93d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-brand a:hover {
    background: linear-gradient(135deg, #ff6b9d, #ffd93d, #4ecdc4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4ecdc4;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b9d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #e0e6ed;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

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

.profile-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d, #ffd93d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b8c5d1;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #b8c5d1;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4ecdc4;
    border-color: #4ecdc4;
}

.btn-secondary:hover {
    background: #4ecdc4;
    color: #0f1419;
    transform: translateY(-3px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #b8c5d1;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.work-availability h3,
.education h3,
.languages h3,
.global-experience h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.availability-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.availability-tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language {
    color: #b8c5d1;
    font-size: 1rem;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.4);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.skill-category h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    color: #b8c5d1;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6b9d;
}

/* ===== WORK SECTION ===== */
.work {
    background: rgba(255, 255, 255, 0.02);
}

.work-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #b8c5d1;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.work-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Breaking Rules: Intentional asymmetry for memorable experience */
.work-category-card:nth-child(2) {
    transform: rotate(var(--rebellion-skew));
    margin-left: var(--rebellion-offset-md);
}

.work-category-card:nth-child(4) {
    transform: rotate(calc(-1 * var(--rebellion-skew)));
    margin-right: var(--rebellion-offset-md);
}

.work-category-card:hover {
    transform: translateY(-10px) rotate(0deg);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Breaking Rules: Irregular spacing for attention */
.work-category-card:nth-child(odd) {
    margin-bottom: calc(2rem + var(--rebellion-offset-sm));
}

.work-category-card:nth-child(even) {
    margin-top: var(--rebellion-offset-sm);
}

.category-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.category-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-info h3 {
    color: #4ecdc4;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.category-info p {
    color: #b8c5d1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-metric {
    text-align: center;
    margin-bottom: 1.5rem;
}

.metric-value {
    background: rgba(255, 107, 157, 0.1);
    color: #ff6b9d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.category-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.category-cta {
    color: #ffd93d;
    font-weight: 600;
    text-align: center;
    display: block;
    margin-top: 1rem;
}

.rebel-card {
    position: relative;
}

.rebel-card:nth-child(2) {
    transform: rotate(1deg);
}

.rebel-card:nth-child(4) {
    transform: rotate(-1deg);
}

.rebel-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.rebel-rhythm {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    color: #4ecdc4;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #b8c5d1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    background: rgba(255, 107, 157, 0.1);
    color: #ff6b9d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 107, 157, 0.3);
}

/* ===== PROJECT PAGES RESPONSIVE IMAGES ===== */
.project-hero-image,
.screen-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.project-hero-image:hover,
.screen-image:hover {
    transform: scale(1.02);
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.screens-grid .screen-image {
    margin-bottom: 0;
}

/* Responsive adjustments for project images */
@media (max-width: 768px) {
    .screens-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-hero-image,
    .screen-image {
        border-radius: 10px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .project-hero-image,
    .screen-image {
        border-radius: 8px;
        margin-bottom: 0.8rem;
    }
}

/* ===== VISUAL INSIGHTS & METRICS ===== */
.metrics-grid {
    margin: 3rem 0;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #ff6b9d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    position: relative;
    animation: countUp 2s ease-out;
}

.stat-item p {
    color: #b8c5d1;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar Animations */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #ff6b9d);
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    animation: fillProgress 2s ease-out 0.5s forwards;
}

@keyframes fillProgress {
    to {
        transform: scaleX(1);
    }
}

/* Visual Chart Elements */
.visual-metric {
    position: relative;
    padding: 1.5rem;
    margin: 1rem 0;
}

.metric-chart {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 100px;
    margin: 1rem 0;
}

.chart-bar {
    background: linear-gradient(to top, #4ecdc4, #ff6b9d);
    border-radius: 4px 4px 0 0;
    min-width: 20px;
    animation: growBar 1.5s ease-out;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

@keyframes growBar {
    from {
        height: 0;
    }
    to {
        height: var(--bar-height);
    }
}

/* Circular Progress Indicators */
.circular-progress {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #4ecdc4 0deg,
        #ff6b9d var(--progress-angle),
        rgba(255, 255, 255, 0.1) var(--progress-angle)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    position: relative;
    animation: rotateProgress 2s ease-out;
}

.circular-progress::before {
    content: '';
    width: 80px;
    height: 80px;
    background: #0f1419;
    border-radius: 50%;
    position: absolute;
}

.circular-progress .percentage {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: 700;
    color: #4ecdc4;
}

@keyframes rotateProgress {
    from {
        transform: rotate(-90deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* Achievement Cards with Visual Elements */
.achievement-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #4ecdc4;
    margin: 1rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
    border-left-color: #ff6b9d;
}

.achievement-item::before {
    content: '✓';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #4ecdc4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f1419;
    font-weight: 700;
    font-size: 0.8rem;
    animation: checkmark 0.5s ease-out;
}

@keyframes checkmark {
    from {
        transform: translateY(-50%) scale(0);
    }
    to {
        transform: translateY(-50%) scale(1);
    }
}

.achievement-title {
    color: #4ecdc4;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-detail {
    color: #b8c5d1;
    line-height: 1.6;
    margin: 0;
}

/* Interactive Hover Effects */
.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

.achievement-item:nth-child(1) { animation-delay: 0.4s; }
.achievement-item:nth-child(2) { animation-delay: 0.5s; }
.achievement-item:nth-child(3) { animation-delay: 0.6s; }
.achievement-item:nth-child(4) { animation-delay: 0.7s; }
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #4ecdc4, #ff6b9d);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(78, 205, 196, 0.5);
    transform: translateY(-5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -24px;
    border-left-color: rgba(255, 255, 255, 0.08);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -24px;
    border-right-color: rgba(255, 255, 255, 0.08);
}

.timeline-date {
    color: #ff6b9d;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.timeline-content h3 {
    color: #4ecdc4;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.timeline-content h4 {
    color: #e0e6ed;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.timeline-content p {
    color: #c8d3e0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.timeline-content li {
    color: #c8d3e0;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-weight: 600;
}

.project-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

.timeline-year {
    color: #ff6b9d;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: #4ecdc4;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #b8c5d1;
    line-height: 1.6;
}

/* ===== RESPONSIVE TIMELINE ===== */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 1rem !important;
    }
    
    .timeline-content::before {
        left: -24px !important;
        right: auto !important;
        border-right-color: rgba(255, 255, 255, 0.08) !important;
        border-left-color: transparent !important;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-date {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
}

/* ===== CONNECT SECTION ===== */
.connect {
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.connect-content {
    max-width: 600px;
    margin: 0 auto;
}

.connect-description {
    font-size: 1.2rem;
    color: #b8c5d1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 50%;
    color: #4ecdc4;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4ecdc4;
    color: #0f1419;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
}

/* ===== FOOTER ===== */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
}

.footer-content {
    color: #b8c5d1;
    font-size: 0.9rem;
}

/* ===== SITE DISCLAIMER ===== */
.site-disclaimer {
    background: rgba(255, 107, 157, 0.12);
    border: 2px solid rgba(255, 107, 157, 0.4);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin: 6rem 2rem 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.1);
}

.site-disclaimer p {
    color: #ffb3d1;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.site-disclaimer a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.site-disclaimer a:hover {
    color: #ffd93d;
    text-decoration: underline;
}

/* Adjust hero section to account for disclaimer */
.hero {
    min-height: calc(100vh - 80px);
    padding: 1rem 0 4rem;
}

/* ===== HIGHLIGHT EFFECTS ===== */
.highlight-blue {
    background: linear-gradient(120deg, rgba(78, 205, 196, 0.3) 0%, rgba(78, 205, 196, 0.3) 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    color: #4ecdc4;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight-blue:hover {
    background: linear-gradient(120deg, rgba(78, 205, 196, 0.5) 0%, rgba(78, 205, 196, 0.5) 100%);
    transform: scale(1.05);
}

.highlight-pink {
    background: linear-gradient(120deg, rgba(255, 107, 157, 0.3) 0%, rgba(255, 107, 157, 0.3) 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    color: #ff6b9d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight-pink:hover {
    background: linear-gradient(120deg, rgba(255, 107, 157, 0.5) 0%, rgba(255, 107, 157, 0.5) 100%);
    transform: scale(1.05);
}

.highlight-green {
    background: linear-gradient(120deg, rgba(77, 208, 135, 0.3) 0%, rgba(77, 208, 135, 0.3) 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    color: #4dd087;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight-green:hover {
    background: linear-gradient(120deg, rgba(77, 208, 135, 0.5) 0%, rgba(77, 208, 135, 0.5) 100%);
    transform: scale(1.05);
}

.highlight-yellow {
    background: linear-gradient(120deg, rgba(255, 217, 61, 0.3) 0%, rgba(255, 217, 61, 0.3) 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    color: #ffd93d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight-yellow:hover {
    background: linear-gradient(120deg, rgba(255, 217, 61, 0.5) 0%, rgba(255, 217, 61, 0.5) 100%);
    transform: scale(1.05);
}

/* Project Page Text Highlights */
.project-description [data-highlight-words],
.section-description [data-highlight-words],
.achievement-detail [data-highlight-words],
.learning-description [data-highlight-words] {
    position: relative;
}

/* Automatic highlighting for key terms */
.project-description:has([data-highlight-words]) {
    background: linear-gradient(120deg, transparent 0%, rgba(78, 205, 196, 0.1) 50%, transparent 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #4ecdc4;
}

/* Enhanced text effects for project content */
.project-title,
.section-title,
.achievement-title,
.learning-title {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Interactive text reveals */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease-out forwards;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations for multiple elements */
.text-reveal:nth-child(1) { animation-delay: 0.1s; }
.text-reveal:nth-child(2) { animation-delay: 0.2s; }
.text-reveal:nth-child(3) { animation-delay: 0.3s; }
.text-reveal:nth-child(4) { animation-delay: 0.4s; }

.highlight-orange {
    background: linear-gradient(120deg, rgba(255, 217, 61, 0.3) 0%, rgba(255, 217, 61, 0.3) 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
    color: #ffd93d;
    font-weight: 600;
}

/* ===== REBEL STYLES ===== */
.rebel-title {
    position: relative;
    transform: rotate(-0.5deg);
}

.intentional-rebellion {
    animation: subtle-shake 4s ease-in-out infinite;
}

@keyframes subtle-shake {
    0%, 100% { transform: rotate(-0.5deg) translateX(0); }
    25% { transform: rotate(0.3deg) translateX(1px); }
    75% { transform: rotate(-0.3deg) translateX(-1px); }
}

.rebel-spacing {
    margin-top: 2.5rem;
    margin-bottom: 1.8rem;
}

.rebel-color-break {
    background: rgba(255, 217, 61, 0.1) !important;
    color: #ffd93d !important;
    border-color: rgba(255, 217, 61, 0.3) !important;
}

.rebel-text-wild {
    letter-spacing: -0.02em;
    transform: skew(-2deg);
    display: inline-block;
}

.rebel-breakout {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2rem 1rem;
    background: rgba(255, 107, 157, 0.05);
    border-left: 4px solid #ff6b9d;
}

.rebel-hover:hover {
    transform: rotate(1deg) scale(1.02);
}

.skills-rebel .skill-category:nth-child(2) {
    transform: rotate(1deg);
}

.skills-rebel .skill-category:nth-child(4) {
    transform: rotate(-1deg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-content::before {
        left: -20px !important;
        border-right-color: rgba(255, 255, 255, 0.05) !important;
        border-left-color: transparent !important;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== MOTION PREFERENCES ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .profile-circle {
        animation: none;
    }
    
    .intentional-rebellion {
        animation: none;
        transform: none;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }
    
    .navbar {
        background: #000;
        border-bottom-color: #fff;
    }
    
    .btn-primary {
        background: #fff;
        color: #000;
    }
    
    .btn-secondary {
        border-color: #fff;
        color: #fff;
    }
}


/* ===== CERTIFICATIONS SECTION ===== */
.certifications {
    text-align: center;
    margin-top: 3rem;
}

.certifications h3 {
    color: #ff6b9d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cert {
    background: rgba(255, 107, 157, 0.1);
    color: #ff6b9d;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.cert:hover {
    background: rgba(255, 107, 157, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 107, 157, 0.5);
}

/* ===== INTERESTS SECTION ===== */
.interests {
    margin-top: 3rem;
}

.interests h3 {
    color: #4ecdc4;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.interest-tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.interest-tag:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
    border-color: rgba(78, 205, 196, 0.5);
}


/* ===== PROJECT PAGES HERO SECTION ===== */
.hero-section.project-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0 4rem;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
}

.hero-section .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d, #ffd93d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    text-align: center;
}

.hero-section .hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #b8c5d1;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== DESIGN PROCESS SECTION ===== */
.design-process {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.design-process h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.4);
}

.process-step-number {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: #b8c5d1;
    line-height: 1.6;
}

/* ===== KEY LEARNINGS SECTION ===== */
.key-learnings {
    padding: 5rem 0;
}

.key-learnings h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.learnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.learning-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.learning-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(78, 205, 196, 0.4);
}

.learning-item h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.learning-item p {
    color: #b8c5d1;
    line-height: 1.6;
}

/* ===== CATEGORY NAVIGATION ===== */
.category-navigation {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-nav-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.category-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.4);
}

.category-nav-item h3 {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.category-nav-item p {
    color: #b8c5d1;
    font-size: 0.9rem;
    line-height: 1.4;
}



/* ===== FOOTER REVISIONS ===== */
.footer {
    background: rgba(15, 20, 25, 0.95);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(78, 205, 196, 0.2);
    color: #b8c5d1;
    font-size: 0.95rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff6b9d;
}

/* ===== BUTTON REVISIONS ===== */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    color: white;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4ecdc4;
    border-color: #4ecdc4;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.1);
}

.btn-secondary:hover {
    background: #4ecdc4;
    color: #0f1419;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(78, 205, 196, 0.4);
}

@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 80%;
    }
}




/* ===== TAGS REVISIONS ===== */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text from wrapping inside the tag */
}

.tag:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-tags, .interest-tags {
        gap: 0.5rem;
    }
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}



/* ===== SPACING REVISIONS ===== */
section {
    padding: 6rem 0;
}

.hero {
    padding: 8rem 0 6rem;
}

.about-content {
    gap: 5rem;
}

.skills-grid {
    gap: 2.5rem;
}

.work-categories-grid {
    gap: 2.5rem;
    margin-top: 4rem;
}

.timeline-item {
    margin-bottom: 5rem;
}

.connect {
    padding: 6rem 0;
}

.interests {
    margin-top: 4rem;
    padding: 3rem 0;
}

.interests h3 {
    margin-bottom: 2rem;
}

/* ===== HERO SECTION TITLE VISIBILITY ===== */
.hero-section .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d, #ffd93d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    text-align: center;
    display: block;
    visibility: visible;
    opacity: 1;
}

.hero-section .hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #b8c5d1;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== RESPONSIVE SPACING ===== */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .skills-grid {
        gap: 1.5rem;
    }
    
    .work-categories-grid {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .timeline-item {
        margin-bottom: 3rem;
    }
    
    .interests {
        margin-top: 3rem;
        padding: 2rem 0;
    }
}


/* ===== RESPONSIVE TEXT ===== */
.responsive-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .responsive-text {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-top: 1px solid rgba(78, 205, 196, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
}

/* ===== COLOR PALETTE STYLES ===== */
.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.color-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* ===== VERTICAL SPACING IMPROVEMENTS ===== */
.design-process {
    margin: 4rem 0;
}

.design-process .step {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.design-process h3 {
    margin-bottom: 1.5rem;
    color: #4ecdc4;
}

.design-process p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== PROJECT PAGES IMPROVEMENTS ===== */
.project-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.project-hero .hero-title {
    margin-bottom: 2rem;
}

.project-hero .hero-description {
    margin-bottom: 2rem;
}

.project-hero .hero-tags {
    margin-bottom: 3rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.section-description {
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== INLINE CODE FIXES ===== */
@media (min-width: 769px) {
    code, kbd, samp {
        display: none !important;
    }
    
    pre {
        display: none !important;
    }
    
    .highlight-code {
        display: none !important;
    }
}

