/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(160deg, #1a1f2e 0%, #0f1219 100%);
    background-attachment: fixed;
    color: #F9FAFB;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(45, 90, 135, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 119, 6, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 31, 46, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    padding: 0;
}

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

.nav-brand a {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D5A87;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand a:hover {
    color: #E67E22;
}

.nav-subtitle {
    font-weight: 400;
    color: #9CA3AF;
}

[data-theme="light"] .nav-subtitle {
    color: #64748b;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #2D5A87;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #E67E22;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #D97706;
    transition: width 0.25s ease;
}

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

.nav-links a.active {
    color: #D97706;
}

.nav-links a.active::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D1D5DB;
}

.theme-toggle:hover {
    background-color: #374151;
    color: #D97706;
}

.moon-icon {
    display: none;
}

/* Light mode styles - Warm palette */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #FDF6E3;
    --bg-tertiary: #F7F3E9;
    --text-primary: #2D5A87;
    --text-secondary: #2D5A87;
    --text-muted: #64748b;
    --accent: #E67E22;
    --accent-hover: #D35400;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] body {
    background: linear-gradient(160deg, #FAFAF8 0%, #F5F3EF 100%);
    color: var(--text-primary);
}

[data-theme="light"] body::before {
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(45, 90, 135, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(217, 119, 6, 0.03) 0%, transparent 40%);
}

[data-theme="light"] .top-nav {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .nav-brand a {
    color: var(--text-primary);
}

[data-theme="light"] .nav-brand a:hover {
    color: var(--accent);
}

[data-theme="light"] .nav-links a {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-links a:hover {
    color: var(--accent);
}

[data-theme="light"] .nav-links a::after {
    background-color: var(--accent);
}

[data-theme="light"] .theme-toggle {
    color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent);
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

[data-theme="light"] .name {
    color: var(--text-primary);
}

[data-theme="light"] .about-section {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

[data-theme="light"] .about-text {
    color: var(--text-secondary);
}

[data-theme="light"] .social-icons {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border);
}

[data-theme="light"] .icon-link {
    color: var(--text-muted);
}

[data-theme="light"] .icon-link:hover {
    color: var(--accent);
    background-color: rgba(230, 126, 34, 0.08);
}

[data-theme="light"] .navigation {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px var(--shadow);
}

[data-theme="light"] .nav-button {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--accent);
    box-shadow: 0 2px 4px var(--shadow);
}

[data-theme="light"] .nav-button:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

[data-theme="light"] .back-to-top {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.3);
}

[data-theme="light"] .back-to-top:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 25px rgba(230, 126, 34, 0.4);
}

[data-theme="light"] .footer p {
    color: var(--text-muted);
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.blog-search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.blog-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: #374151;
    border: 1px solid #4B5563;
    border-radius: 12px;
    color: #F9FAFB;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.blog-search:focus {
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
    background-color: #1F2937;
}

.blog-search::placeholder {
    color: #9CA3AF;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #9CA3AF;
    font-size: 1.1rem;
}

.blog-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.blog-subtitle {
    font-size: 1rem;
    color: #D1D5DB;
    font-weight: 400;
}

.blog-posts {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Custom scrollbar for blog posts */
.blog-posts::-webkit-scrollbar {
    width: 8px;
}

.blog-posts::-webkit-scrollbar-track {
    background: #1F2937;
    border-radius: 4px;
}

.blog-posts::-webkit-scrollbar-thumb {
    background: #4B5563;
    border-radius: 4px;
}

.blog-posts::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

.blog-post {
    background-color: rgba(55, 65, 81, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    padding-left: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-left: 3px solid #D97706;
    transition: all 0.25s ease;
    cursor: pointer;
}

.blog-post:hover {
    background-color: rgba(55, 65, 81, 0.8);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(217, 119, 6, 0.15);
    border-left-color: #F59E0B;
}

.blog-post-header {
    margin-bottom: 0.75rem;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F9FAFB;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post-title a:hover {
    color: #D97706;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #9CA3AF;
}

.blog-source {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #1F2937;
    border-radius: 6px;
    color: #D97706;
    font-weight: 500;
}

.blog-date {
    color: #9CA3AF;
}

.blog-post-excerpt {
    font-size: 0.95rem;
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background-color: #D97706;
    color: #1F2937;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.blog-post-link:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.blog-post-link svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Contact Section */
.contact-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: #374151;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4B5563;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #D1D5DB;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #1F2937;
    border: 1px solid #4B5563;
    border-radius: 12px;
    color: #F9FAFB;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
    background-color: #111827;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background-color: #D97706;
    color: #1F2937;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    font-family: 'DM Sans', sans-serif;
}

.submit-button:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button svg {
    width: 16px;
    height: 16px;
}

.form-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ADE80;
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

/* Light mode contact form styles */
[data-theme="light"] .contact-form {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

[data-theme="light"] .form-group label {
    color: var(--text-secondary);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
    background-color: var(--bg-tertiary);
}

[data-theme="light"] .submit-button {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

[data-theme="light"] .submit-button:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

[data-theme="light"] .form-message.success {
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #16A34A;
}

[data-theme="light"] .form-message.error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #DC2626;
}

/* Apps Section */
.apps-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.apps-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.app-card {
    background-color: #374151;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4B5563;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.app-header {
    margin-bottom: 1.5rem;
}

.app-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.app-description {
    font-size: 1.1rem;
    color: #D1D5DB;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background-color: #D97706;
    color: #1F2937;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.app-link:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.app-link svg {
    width: 16px;
    height: 16px;
}

.notion-embed-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

/* Notion Embed */
.notion-embed-wrapper {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4B5563;
}

.notion-embed {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

/* Light mode blog styles */
[data-theme="light"] .blog-title {
    color: var(--text-primary);
}

[data-theme="light"] .blog-subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .blog-search {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] .blog-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
    background-color: var(--bg-secondary);
}

[data-theme="light"] .blog-search::placeholder {
    color: var(--text-muted);
}

[data-theme="light"] .search-icon {
    color: var(--text-muted);
}

[data-theme="light"] .no-results {
    color: var(--text-muted);
}

[data-theme="light"] .blog-posts::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

[data-theme="light"] .blog-posts::-webkit-scrollbar-thumb {
    background: var(--border);
}

[data-theme="light"] .blog-posts::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

[data-theme="light"] .blog-post {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    box-shadow: 0 1px 8px var(--shadow);
}

[data-theme="light"] .blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(230, 126, 34, 0.2);
    border-left-color: var(--accent-hover);
}

[data-theme="light"] .blog-post-title {
    color: var(--text-primary);
}

[data-theme="light"] .blog-post-title a {
    color: inherit;
}

[data-theme="light"] .blog-post-title a:hover {
    color: var(--accent);
}

[data-theme="light"] .blog-source {
    background-color: var(--bg-tertiary);
    color: var(--accent);
}

[data-theme="light"] .blog-post-excerpt {
    color: var(--text-secondary);
}

[data-theme="light"] .blog-post-link {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

[data-theme="light"] .blog-post-link:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

[data-theme="light"] .section-title {
    color: var(--text-primary);
}

[data-theme="light"] .notion-embed-wrapper {
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

[data-theme="light"] .app-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

[data-theme="light"] .app-card:hover {
    box-shadow: 0 8px 30px var(--shadow);
}

[data-theme="light"] .app-title {
    color: var(--text-primary);
}

[data-theme="light"] .app-description {
    color: var(--text-secondary);
}

[data-theme="light"] .app-link {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

[data-theme="light"] .app-link:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Main Content */
.container {
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    margin-top: 80px; /* Account for fixed nav */
    text-align: center;
}

/* Profile Section */
.profile-section {
    margin-bottom: 2rem;
}

.profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(45, 90, 135, 0.15);
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Name/Title */
.name {
    font-size: 2.25rem;
    font-weight: 600;
    color: #2D5A87;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #9CA3AF;
    margin-bottom: 1.75rem;
    letter-spacing: 0.02em;
}

[data-theme="light"] .subtitle {
    color: #64748b;
}

/* About Section */
.about-section {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-text {
    font-size: 1.05rem;
    font-weight: 400;
    color: #3d4f5f;
    line-height: 1.75;
    text-align: left;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    background-color: rgba(55, 65, 81, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(75, 85, 99, 0.4);
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #9CA3AF;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: transparent;
}

.icon-link:hover {
    color: #D97706;
    background-color: rgba(217, 119, 6, 0.1);
}

.icon-link svg {
    width: 20px;
    height: 20px;
}

/* Navigation Buttons */
.navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background-color: #374151;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #4B5563;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background-color: #1F2937;
    color: #D1D5DB;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #D97706;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background-color: #D97706;
    color: #1F2937;
    border-color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.nav-button.external svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* Footer */
.footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-subtitle {
        display: none;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 1.5rem;
        margin-top: 70px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .navigation {
        gap: 0.75rem;
    }
    
    .nav-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .name {
        font-size: 1.75rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .social-icons {
        gap: 0.75rem;
    }
    
    .icon-link {
        width: 36px;
        height: 36px;
    }
    
    .navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-button {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.icon-link:focus,
.nav-button:focus {
    outline: 2px solid #D97706;
    outline-offset: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #D97706;
    color: #1F2937;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 119, 6, 0.6);
}

/* Fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section,
.about-section,
.social-icons,
.navigation {
    animation: fadeInUp 0.6s ease-out;
}

.about-section {
    animation-delay: 0.2s;
}

.social-icons {
    animation-delay: 0.4s;
}

.navigation {
    animation-delay: 0.6s;
}

/* Print styles */
@media print {
    body {
        background-color: white;
    }
    
    .social-icons,
    .navigation,
    .back-to-top {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
