/* Base styles */
:root {
    --primary-bg: #fff;
    --secondary-bg: #f7f7f7;
    --text-color: #333;
    --link-color: #4a6cf7;
    --border-color: #e5e7eb;
    --gray-text: #6b7280;
    --widget-bg: #ffffff;
    --widget-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --widget-shadow-hover: 0 4px 15px rgba(0, 0, 0, 0.12);
    --section-header-bg: #f3f4f6;
    --modal-bg: #ffffff;
    --modal-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

/* Layout */
#root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.min-full-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.profile-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar styles */
.sidebar {
    width: 250px;
    padding: 40px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    background-color: var(--primary-bg);
    z-index: 10;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar {
    margin-bottom: 25px;
}

.profile-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.profile-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.profile-info {
    background-color: var(--secondary-bg);
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    margin-top: 10px;
}

.profile-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Sidebar Navigation */
.sidebar-nav {
    margin-top: 15px;
    width: 100%;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--gray-text);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    text-align: left;
}

.sidebar-nav a:hover {
    background-color: var(--primary-bg);
    color: var(--text-color);
}

/* Bio section */
.bio {
    margin-top: 25px;
    padding: 15px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.bio p {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 5px;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 40px 20px;
    overflow-y: auto;
    max-width: calc(100% - 250px);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Grid items */
.grid-item {
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--widget-bg);
    box-shadow: var(--widget-shadow);
    transition: transform var(--transition-speed) ease, 
                box-shadow var(--transition-speed) ease;
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--widget-shadow-hover);
}

/* Section headers */
.section-header {
    display: flex;
    align-items: center;
    margin: 30px 0 10px;
    padding: 0;
    background: none;
    box-shadow: none;
    grid-column: 1 / -1;
    width: 100%;
}

.section-header:hover {
    transform: none;
    box-shadow: none;
}

.section-header p {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Experience items */
.experience-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    height: 200px;
    width: 200px;
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 15px;
}

.experience-item:hover {
    transform: translateY(-4px) scale(1.02);
}

.experience-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform var(--transition-speed) ease;
}

/* Confidential overlay styling */
.confidential-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    z-index: 1;
}

.confidential-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Remove the text indicators */
.experience-item::after,
.experience-item::before {
    display: none;
}

/* Update experience cards to match reference */
.experience-item[data-company="Tribe AI"],
.experience-item[data-company="Tribe"] {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.experience-item[data-company="A.Team"],
.experience-item[data-company="A-Team"] {
    background: linear-gradient(135deg, #f9c8d3, #f472b6);
}

.experience-item[data-company="Amazon"] {
    background: #FF9900;
}

.experience-item[data-company="Woebot"],
.experience-item[data-company="Portfolio"] {
    background: linear-gradient(135deg, #0d4cac, #0f75bd);
}

.experience-item[data-company="Nirvana"],
.experience-item[data-company="Harvard Business School"] {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.experience-item[data-company="Harvard"],
.experience-item[data-company="Harvard Innovation Lab"] {
    background: #A51C30;
}

/* Image widgets */
.image-widget {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.image-widget img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.image-widget:hover img {
    transform: scale(1.05);
}

/* Link widgets */
.link-widget {
    display: block;
    color: var(--text-color);
}

.link-widget:hover {
    transform: translateY(-4px);
}

.link-content {
    padding: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
}

.link-widget:hover .link-icon {
    transform: scale(1.1);
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link-info {
    flex: 1;
}

.link-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.link-host {
    font-size: 0.8rem;
    color: var(--gray-text);
}

/* Calendar icon background */
.calendar {
    background-color: #111827;
}

/* LinkedIn icon background */
.linkedin {
    background-color: #0077B5;
}

/* Instagram icon background */
.instagram {
    background-color: #E1306C;
}

/* YouTube icon background */
.youtube {
    background-color: #FF0000;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    color: var(--gray-text);
    font-size: 0.8rem;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* YouTube thumbnails */
.youtube-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    width: 100%;
    margin-top: 10px;
}

.youtube-thumbnails div {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.youtube-thumbnails img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.youtube-thumbnails:hover img {
    transform: scale(1.05);
}

.movie .link-content, .music .link-content {
    flex-wrap: nowrap;
}

.link-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
}

.link-widget:hover .link-image {
    transform: scale(1.1);
}

.link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Welcome widget */
.welcome-widget {
    padding: 20px 24px;
    grid-column: 1 / -1;
    height: auto;
}

.welcome-content {
    position: relative;
    padding: 16px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.welcome-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 400;
}


@media (max-width: 576px) {
    .welcome-content {
        padding-right: 0;
        min-height: auto;
    }
}

/* Media queries */
@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-header {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .profile-container {
        padding: 0;
    }
    
    .main-content {
        padding: 40px;
    }
    
    .bento-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1280px) {
    .bento-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 767px) {
    .min-full-screen {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
    
    .main-content {
        max-width: 100%;
        padding: 20px;
    }
    
    .profile-avatar img {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.3rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .grid-item.map-widget,
    .link-widget.movie,
    .link-widget.music {
        grid-column: span 2;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--modal-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--modal-shadow);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-text);
}

.close-button:hover {
    color: var(--text-color);
}

#modal-title {
    margin-bottom: 15px;
    padding-right: 20px;
    font-size: 1.2rem;
}

#modal-description {
    line-height: 1.6;
    color: var(--gray-text);
}

/* Link items (new image-based style) */
.link-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    height: 200px;
    width: 200px;
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 15px;
}

.link-item:hover {
    transform: translateY(-4px) scale(1.02);
}

.link-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform var(--transition-speed) ease;
}

/* Interest items (new image-based style) */
.interest-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 15px;
}

.interest-item:hover {
    transform: translateY(-4px) scale(1.02);
}

.interest-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform var(--transition-speed) ease;
}

/* Coverflow Sections (Interests and Projects) */
.interests-coverflow-container,
.projects-coverflow-container {
    grid-column: 1 / -1;
    background: var(--widget-bg);
    border-radius: 15px;
    padding: 20px 10px;
    box-shadow: var(--widget-shadow);
    overflow: visible;
}

.coverflow-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 30px;
    perspective: 1000px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.coverflow-scroll::-webkit-scrollbar {
    display: none;
}

.coverflow-item {
    flex: 0 0 200px;
    height: 200px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.coverflow-item:hover {
    transform: translateY(-10px) rotateY(5deg) scale(1.05);
    z-index: 2;
}

.coverflow-item:nth-child(even):hover {
    transform: translateY(-10px) rotateY(-5deg) scale(1.05);
}

.coverflow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.coverflow-item:hover img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Add subtle 3D effect to non-hovered items */
.coverflow-scroll:hover .coverflow-item:not(:hover) {
    transform: rotateY(2deg) scale(0.95);
    opacity: 0.8;
}

/* Scroll Indicators */
.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.scroll-indicator.scroll-right {
    right: 30px;
}

.scroll-indicator.scroll-left {
    left: 30px;
}

.scroll-indicator.visible {
    opacity: 0.8;
}

.scroll-indicator:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.scroll-indicator span {
    font-size: 18px;
    color: var(--text-color);
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.7;
        transform: translateX(0);
    }
    50% { 
        opacity: 1;
        transform: translateX(2px);
    }
}

/* Container positioning */
.interests-coverflow-container {
    position: relative;
}

.coverflow-scroll:hover ~ .scroll-indicator.visible {
    opacity: 0.3;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .coverflow-item {
        flex: 0 0 150px;
        height: 150px;
    }
    
    .coverflow-scroll {
        gap: 15px;
        padding: 15px 25px;
    }
    
    .interests-coverflow-container {
        padding: 15px;
    }
    
    .experience-item,
    .link-item {
        height: 150px;
        width: 150px;
        max-width: 150px;
    }
    
    .scroll-indicator {
        width: 35px;
        height: 35px;
    }
    
    .scroll-indicator.scroll-right {
        right: 20px;
    }
    
    .scroll-indicator.scroll-left {
        left: 20px;
    }
    
    .scroll-indicator span {
        font-size: 16px;
    }
}

 