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

/* Floating Shapes Background */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.08;
    background: linear-gradient(135deg, #c17844, #e8a87c);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 80%;
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 30%;
    left: 70%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-duration: 28s;
    animation-delay: -10s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 20%;
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    animation-duration: 22s;
    animation-delay: -15s;
}

.shape-5 {
    width: 220px;
    height: 220px;
    top: 20%;
    left: 40%;
    border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
    animation-duration: 26s;
    animation-delay: -8s;
}

.shape-6 {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 5%;
    border-radius: 50% 50% 70% 30% / 70% 70% 30% 30%;
    animation-duration: 32s;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #5d4e37;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 50%, #ffd9a8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
}

.profile-photo {
    flex-shrink: 0;
}

.profile-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e8a87c;
    box-shadow: 0 4px 15px rgba(232, 168, 124, 0.3);
}

.hero-content {
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #8b4513;
}

.subtitle {
    font-size: 1.2rem;
    color: #a0826d;
    margin-bottom: 20px;
}

.hero-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-links a {
    color: #c17844;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.hero-links a:hover {
    color: #8b4513;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #8b4513;
    border-bottom: 2px solid #e8a87c;
    padding-bottom: 8px;
}

p {
    margin-bottom: 12px;
    color: #6b5744;
    line-height: 1.7;
}

.card {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 3px solid #ffecd1;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
    border-left-color: #e8a87c;
}

.card.research:hover {
    border-left-color: #daa06d;
}

.card.project:hover {
    border-left-color: #c9895b;
}

.card.hobby:hover {
    border-left-color: #b87333;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.card-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: #8b4513;
}

.card-location {
    font-size: 0.9rem;
    color: #a0826d;
}

.card-subtitle {
    font-size: 1rem;
    color: #9d7959;
    margin-bottom: 8px;
}

.card-meta {
    font-size: 0.9rem;
    color: #a0826d;
    margin-bottom: 10px;
}

.card-description {
    color: #6b5744;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    aspect-ratio: 1;
    background: #ffecd1;
    display: block;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Sidebar */

.sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.08);
}

.skill-category {
    margin-bottom: 18px;
}

.skill-category:last-child {
    margin-bottom: 0;
}

.skill-category-title {
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #ffecd1;
    color: #8b4513;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: default;
}

.skill-tag:hover {
    background: #e8a87c;
    transform: scale(1.05);
}

footer {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #e8a87c;
    text-align: center;
    color: #a0826d;
    font-size: 0.9rem;
}

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

    .sidebar {
        position: relative;
        top: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    h1 {
        font-size: 2rem;
    }

    .profile-photo img {
        width: 150px;
        height: 150px;
    }

    .hero-links {
        justify-content: center;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}