/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

    /* Base font size for accessibility */
}

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;

    /* 18px for better readability */
}

/* Skip Link for 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 Management for Accessibility */
*:focus {
    outline: 3px solid #ff6b9d;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }

    .highlight-blue,
    .highlight-pink,
    .highlight-green,
    .highlight-orange {
        background: #fff;
        color: #000;
        padding: 0 4px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

/* Improved Grid System for Consistency */
.grid-4 {
    margin-bottom: 4px;
}

.grid-8 {
    margin-bottom: 8px;
}

.grid-12 {
    margin-bottom: 12px;
}

.grid-16 {
    margin-bottom: 16px;
}

.grid-20 {
    margin-bottom: 20px;
}

.grid-24 {
    margin-bottom: 24px;
}

.grid-32 {
    margin-bottom: 32px;
}

.grid-40 {
    margin-bottom: 40px;
}

.grid-48 {
    margin-bottom: 48px;
}

.grid-56 {
    margin-bottom: 56px;
}

.grid-64 {
    margin-bottom: 64px;
}

.grid-80 {
    margin-bottom: 80px;
}

.grid-96 {
    margin-bottom: 96px;
}

/* Spacing System for Storyscrolling */
section {
    margin-bottom: clamp(64px, 8vw, 96px);
    scroll-margin-top: 80px;

    /* Account for fixed navbar */
}

section + section {
    margin-top: clamp(48px, 6vw, 80px);
}

/* Typography Hierarchy for Better Storyscrolling */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: clamp(16px, 2vw, 24px);
    margin-top: clamp(32px, 4vw, 48px);
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

p {
    margin-bottom: clamp(16px, 2vw, 20px);
}

p:last-child {
    margin-bottom: 0;
}

/* List Improvements */
ul,
ol {
    margin-bottom: clamp(16px, 2vw, 20px);
    padding-left: 24px;

    /* Consistent indentation */
}

li {
    margin-bottom: 8px;
    line-height: 1.7;
}

li:last-child {
    margin-bottom: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link:focus {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
}

.hamburger:focus {
    background: rgba(78, 205, 196, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e0e6ed;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 44px;

    /* Minimum touch target size */
    min-width: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: #4ecdc4;
}

/* Hero Section */
.hero {
    padding: clamp(80px, 15vh, 120px) 0 clamp(60px, 12vh, 80px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.profile-image {
    margin-bottom: 30px;
}

.profile-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

    50% {
        transform: translateY(-10px);
    }
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #a0aec0;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    line-height: 1.6;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 8px;
    white-space: nowrap;
}

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

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px;
    color: #cbd5e0;
}

.highlight-blue {
    color: #4ecdc4;
    font-weight: 600;
    background: rgba(78, 205, 196, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

.highlight-pink {
    color: #ff6b9d;
    font-weight: 600;
    background: rgba(255, 107, 157, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

.highlight-green {
    color: #7ed321;
    font-weight: 600;
    background: rgba(126, 211, 33, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

.highlight-orange {
    color: #f5a623;
    font-weight: 600;
    background: rgba(245, 166, 35, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0aec0;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

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

/* Section Styles */
section {
    padding: clamp(60px, 12vh, 80px) 0;
}

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

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.02);
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e0;
}

.about-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.stat-flag,
.stat-number,
.stat-icon {
    font-size: 1.2rem;
    min-width: 30px;
}

.stat-number {
    font-weight: 700;
    color: #4ecdc4;
}

.stat-text {
    color: #e0e6ed;
    font-weight: 500;
}

.work-availability,
.education,
.languages,
.global-experience {
    margin-bottom: 25px;
}

.work-availability h3,
.education h3,
.languages h3,
.global-experience h3 {
    color: #ff6b9d;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.availability-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    line-height: 1.6;
}

.availability-tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
    margin-bottom: 8px;
    white-space: nowrap;
}

.education ul {
    list-style: none;
}

.education li {
    margin-bottom: 8px;
    color: #cbd5e0;
    padding-left: 15px;
    position: relative;
}

.education li::before {
    content: '🎓';
    position: absolute;
    left: 0;
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    line-height: 1.6;
}

.language {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
    margin-bottom: 8px;
    white-space: nowrap;
}

.global-experience p {
    color: #cbd5e0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.skill-category:hover {
    transform: translateY(-5px);
}

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

.skill-category h3 {
    color: #ff6b9d;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
    text-align: left;
}

.skill-category li {
    margin-bottom: 12px;
    color: #cbd5e0;
    padding-left: 20px;
    position: relative;
}

.skill-category li::before {
    content: '✓';
    color: #4ecdc4;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.certifications {
    text-align: center;
}

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

.cert-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

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

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


/* Work Section */
.work {
    background: rgba(255, 255, 255, 0.02);
}

.work-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card.featured {
    border: 2px solid rgba(255, 107, 157, 0.3);
    background: rgba(255, 107, 157, 0.05);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(255, 107, 157, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    font-size: 4rem;
    opacity: 0.7;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: #e0e6ed;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-content p {
    color: #a0aec0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-impact {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags .tag {
    font-size: 0.85rem;
    padding: 8px 16px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.project-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-link:hover,
.project-link:focus {
    color: #4ecdc4;
}

/* Journey Section */
.journey-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #a0aec0;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 40px;
}

.timeline-date {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.timeline-content h3 {
    color: #ff6b9d;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #cbd5e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline-content h4 {
    color: #4ecdc4;
    margin-bottom: 10px;
    font-size: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    color: #a0aec0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.timeline-content li::before {
    content: '→';
    color: #4ecdc4;
    position: absolute;
    left: 0;
}

/* Connect Section */
.connect {
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.connect-description {
    font-size: 1.2rem;
    color: #cbd5e0;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.interests h3 {
    color: #ff6b9d;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.interest-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.interest {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

/* Footer */
.footer {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

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

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4ecdc4;
}

.separator {
    color: #a0aec0;
}

/* Project Page Specific Styles */
.project-page main {
    padding-top: 100px;

    /* Adjust for fixed navbar */
}

.back-nav {
    margin-bottom: 40px;
}

.back-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

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

.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-hero-image {
    margin-bottom: 40px;
}

.project-hero-image img {
    display: flex;
    justify-content: center;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #a0aec0;
    margin-bottom: 30px;
}

.project-tags .tag {
    font-size: 1rem;
    padding: 10px 20px;
}

.project-overview {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-content h2 {
    font-size: 1.8rem;
    color: #ff6b9d;
    margin-bottom: 20px;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.overview-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.overview-stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 5px;
}

.overview-stats .stat-item p {
    font-size: 1rem;
    color: #a0aec0;
    text-align: center;
}

.project-details h2 {
    font-size: 2rem;
    color: #ff6b9d;
    text-align: center;
    margin-bottom: 50px;
}

.project-case {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.case-header h3 {
    font-size: 1.8rem;
    color: #e0e6ed;
    margin-bottom: 15px;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.case-tag {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.case-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.achievements h4 {
    color: #ff6b9d;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.achievements ul {
    list-style: none;
    margin-bottom: 30px;
}

.achievements li {
    color: #cbd5e0;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.achievements li::before {
    content: '✨';
    position: absolute;
    left: 0;
}

.design-showcase h4 {
    color: #ff6b9d;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.design-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    justify-content: center;
}

.design-process h2 {
    font-size: 2rem;
    color: #ff6b9d;
    text-align: center;
    margin-bottom: 50px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.3rem;
    color: #e0e6ed;
    margin-bottom: 15px;
}

.process-step p {
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.6;
}

.key-learnings h2 {
    font-size: 2rem;
    color: #ff6b9d;
    text-align: center;
    margin-bottom: 50px;
}

.learnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.learning-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-item h3 {
    font-size: 1.3rem;
    color: #e0e6ed;
    margin-bottom: 15px;
}

.learning-item p {
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.6;
}

.cta {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta .btn {
    background: white;
    color: #ff6b9d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Design Decisions Page Specific Styles */
.decisions-hero {
    padding-top: 100px;
}

.decisions-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.decisions-hero .hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.toc-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 0;
}

.toc-section h2 {
    font-size: 1.8rem;
    color: #ff6b9d;
    text-align: center;
    margin-bottom: 30px;
}

.toc-nav ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.toc-nav li a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 0;
    display: block;
    transition: color 0.3s ease;
}

.toc-nav li a:hover {
    color: #4ecdc4;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2rem;
    color: #ff6b9d;
    margin-bottom: 40px;
    text-align: center;
}

.philosophy-content h3,
.branding-content h3,
.accessibility-content h3,
.visual-design-content h3,
.ux-principles-content h3,
.technical-content h3,
.easter-eggs-content h3,
.resources-content h3 {
    font-size: 1.5rem;
    color: #e0e6ed;
    margin-bottom: 20px;
}

.philosophy-content p,
.branding-content p,
.accessibility-content p,
.visual-design-content p,
.ux-principles-content p,
.technical-content p,
.easter-eggs-content p,
.resources-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.n-showcase {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.n-symbol {
    font-size: 4rem;
    font-weight: 700;
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
}

.n-explanation h3 {
    font-size: 1.8rem;
    color: #e0e6ed;
    margin-bottom: 10px;
}

.brand-applications h4,
.wcag-compliance h4,
.neurodiversity-features h4,
.color-decisions h4,
.typography-decisions h4,
.image-principles h4,
.ucd-elements h4 {
    font-size: 1.2rem;
    color: #4ecdc4;
    margin-top: 30px;
    margin-bottom: 15px;
}

.application-list,
.wcag-compliance,
.neurodiversity-features,
.color-decisions,
.typography-decisions,
.image-principles,
.ucd-elements,
.resource-list {
    list-style: none;
    margin-bottom: 30px;
}

.application-list li,
.resource-list li {
    color: #cbd5e0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.application-list li::before,
.resource-list li::before {
    content: '•';
    color: #ff6b9d;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.compliance-item,
.feature-item,
.color-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.compliance-item h5,
.feature-item h5,
.color-item h5 {
    font-size: 1.1rem;
    color: #4ecdc4;
    margin-bottom: 10px;
}

.compliance-item p,
.feature-item p,
.color-item p {
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.6;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.color-item {
    display: flex;
    align-items: center;
}

.primary-dark {
    background-color: #0a0a1a;
}

.primary-light {
    background-color: #f0f0f0;
}

.accent-blue {
    background-color: #007bff;
}

.accent-pink {
    background-color: #ff6b9d;
}

.accent-green {
    background-color: #28a745;
}

.accent-orange {
    background-color: #fd7e14;
}

/* Design Insights System Styles */
.design-insights-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
    white-space: nowrap;
}

.design-insights-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    width: auto;
    padding: 0 20px;
    border-radius: 28px;
}

.design-insights-toggle:hover::after {
    content: " Design Insights";
    font-size: 0.9rem;
    margin-left: 8px;
}

.design-insights-toggle.active {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
}

.design-snackbar {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: rgba(25, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 998;
    max-width: 300px;
    color: #e0e6ed;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.design-snackbar h4 {
    color: #ff6b9d;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.design-snackbar p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #a0aec0;
}

.design-tooltip {
    position: relative;
    cursor: help;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

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

    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
        padding: 24px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        padding: 24px;
    }

    .timeline-date {
        position: static;
        transform: translateX(0);
        margin-bottom: 15px;
    }

    .timeline-content {
        width: 100%;
        padding: 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: rgba(15, 20, 25, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

@media (max-width: 768px) {
    .hero-tags,
    .hero-buttons,
    .hero-features,
    .contact-buttons,
    .interest-tags {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .skills-grid,
    .projects-grid,
    .process-grid,
    .learnings-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        margin: 0 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .timeline-date {
        left: 20px;
    }

    .toc-nav ol {
        padding: 0 20px;
    }

    .n-showcase {
        flex-direction: column;
        text-align: center;
    }

    .n-symbol {
        margin-bottom: 20px;
    }

    .color-item {
        flex-direction: column;
        text-align: center;
    }

    .color-swatch {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .overview-content h2 {
        font-size: 1.5rem;
    }

    .project-details h2 {
        font-size: 1.8rem;
    }

    .case-header h3 {
        font-size: 1.5rem;
    }

    .design-process h2 {
        font-size: 1.8rem;
    }

    .key-learnings h2 {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .decisions-hero .hero-title {
        font-size: 2rem;
    }

    .decisions-hero .hero-subtitle {
        font-size: 1rem;
    }

    .toc-section h2 {
        font-size: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .philosophy-content h3,
    .branding-content h3,
    .accessibility-content h3,
    .visual-design-content h3,
    .ux-principles-content h3,
    .technical-content h3,
    .easter-eggs-content h3,
    .resources-content h3 {
        font-size: 1.2rem;
    }

    .n-symbol {
        font-size: 3rem;
    }

    .n-explanation h3 {
        font-size: 1.5rem;
    }
}

/* Work Section - New Category Cards */
.work-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.work-category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.work-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-hero {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 24px 24px 0 0;
}

.category-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.category-info {
    padding: 32px;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #e0e6ed;
}

.category-info p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.category-metric {
    margin-bottom: 24px;
}

.metric-value {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    padding: 12px 20px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
    display: inline-block;
}

.category-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-cta {
    color: #ff6b9d;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

/* Category-specific colors and borders */
.social-category {
    border-color: rgba(255, 107, 157, 0.3);
}

.social-category .category-hero {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.1));
}

.social-category:hover {
    border-color: rgba(255, 107, 157, 0.6);
}

.social-category:hover .category-cta {
    color: #4ecdc4;
}

.financial-category {
    border-color: rgba(78, 205, 196, 0.3);
}

.financial-category .category-hero {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
}

.financial-category:hover {
    border-color: rgba(78, 205, 196, 0.6);
}

.financial-category:hover .category-cta {
    color: #ff6b9d;
}

.content-category {
    border-color: rgba(99, 102, 241, 0.3);
}

.content-category .category-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
}

.content-category:hover {
    border-color: rgba(99, 102, 241, 0.6);
}

.content-category:hover .category-cta {
    color: #4ecdc4;
}

.wellness-category {
    border-color: rgba(168, 85, 247, 0.3);
}

.wellness-category .category-hero {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
}

.wellness-category:hover {
    border-color: rgba(168, 85, 247, 0.6);
}

.wellness-category:hover .category-cta {
    color: #ff6b9d;
}

@media (max-width: 768px) {
    .work-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-category-card {
        min-height: 420px;
    }

    .category-hero {
        height: 160px;
    }

    .category-emoji {
        font-size: 3rem;
    }

    .category-info {
        padding: 24px;
        height: calc(100% - 160px);
    }

    .category-info h3 {
        font-size: 1.3rem;
    }
}

/* Work Section - Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(78, 205, 196, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 157, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.category-content {
    position: relative;
    z-index: 1;
}

.category-content h3 {
    color: #ff6b9d;
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.category-content p {
    color: #cbd5e0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.category-tags .tag {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.category-link {
    color: #ff6b9d;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

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

/* Category Navigation */
.category-navigation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    margin: 64px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-navigation h3 {
    color: #ff6b9d;
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

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

.category-nav-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.category-nav-item:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: rgba(255, 107, 157, 0.3);
    transform: translateY(-2px);
}

.category-nav-item.current {
    background: rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.5);
}

.category-nav-item .nav-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.category-nav-item .nav-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e0e6ed;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-card {
        padding: 24px;
    }

    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-nav-item {
        padding: 16px;
    }
}

/* ===== SKELETON LOADING STYLES ===== */
.image-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    width: 100%;
    height: 200px;
    display: block;
    position: relative;
}

.project-hero-image .image-skeleton {
    height: 400px;
}

.project-image + .image-skeleton {
    height: 300px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Dark theme skeleton for dark backgrounds */
@media (prefers-color-scheme: dark) {
    .image-skeleton {
        background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
        background-size: 200% 100%;
    }
}

/* ===== COLOR PALETTE STYLES ===== */
.color-palette-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

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

.color-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-info h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.color-info p {
    color: #b0b8c1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== KEY SCREENS AND FEATURES STYLES ===== */
.key-screens-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

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

.feature-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-item p {
    color: #b0b8c1;
    line-height: 1.6;
}

/* ===== PROJECT IMAGES STYLES ===== */
.project-images {
    margin: 4rem 0;
    padding: 2rem 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.image-caption {
    padding: 1.5rem;
}

.image-caption h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.image-caption p {
    color: #b0b8c1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== HASHTAGS STYLES ===== */
.hashtags-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hashtag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hashtag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ===== CONTACT SECTION STYLES ===== */
.contact-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.contact-section h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #b0b8c1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
    color: #ffffff;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .color-palette {
        grid-template-columns: 1fr;
    }

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

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hashtags {
        justify-content: center;
    }
}

/* ===== SMOOTH SCROLLING ENHANCEMENTS ===== */
html {
    scroll-behavior: smooth;
}

/* Enhanced scroll padding for better navigation */
section {
    scroll-margin-top: 100px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* GPU acceleration for animations */
.color-item,
.feature-item,
.image-item,
.hashtag,
.contact-link {
    will-change: transform;
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
/* Focus indicators for keyboard navigation */
.color-item:focus-within,
.feature-item:focus-within,
.image-item:focus-within {
    outline: 3px solid #ff6b9d;
    outline-offset: 2px;
}

/* High contrast mode support for new elements */
@media (prefers-contrast: high) {
    .color-item,
    .feature-item,
    .image-item,
    .contact-section {
        background: #000;
        border-color: #fff;
    }

    .hashtag {
        background: #fff;
        color: #000;
    }
}

/* Reduced motion for new animations */
@media (prefers-reduced-motion: reduce) {
    .color-item,
    .feature-item,
    .image-item,
    .hashtag,
    .contact-link {
        transition: none;
    }

    .image-skeleton {
        animation: none;
        background: #f0f0f0;
    }
}



/* Responsive Image Styles */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- Disclaimer Styles --- */
.site-disclaimer {
    background-color: #fff3cd; /* amarillo suave */
    color: #856404; /* marrón suave para contraste */
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #ffeeba;
}
.site-disclaimer a {
    color: #856404;
    text-decoration: underline;
}
.site-disclaimer a:hover {
    color: #5a3d00;
}

/* --- Responsive Project Images --- */
.project-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}


