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

body {
    font-family: 'Lora', serif;
    background-color: #FFFEF9;
    color: #1A1A1A;
    line-height: 1.6;
    font-size: 16px;
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #C9A961;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.family-seal-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 47px;
    height: 47px;
    background-color: #FFFEF9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #C9A961;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.seal-image {
    width: 35px;
    height: 35px;
    opacity: 0.8;
    filter: sepia(0.2) saturate(0.9);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.seal-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.name {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title {
    font-size: 1.2rem;
    color: #4A5568;
    font-weight: 400;
    margin-bottom: 0;
}

/* Bio Section */
.bio-section {
    margin-bottom: 3rem;
    max-width: 600px;
}

.bio-content {
    padding: 1rem 0;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #1A1A1A;
    text-align: left;
}

/* Social Links Section */
.social-section {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.social-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

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

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.8rem 1.2rem;
    background-color: #F0EDE5;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
    border-color: #C9A961;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.social-description {
    font-size: 0.9rem;
    color: #4A5568;
    font-weight: 400;
    opacity: 0.8;
}

/* Individual social card colors */
.social-card.linkedin .social-icon {
    background-color: #0077b5;
    color: white;
}

.social-card.linkedin:hover .social-icon {
    background-color: #005885;
    transform: scale(1.1);
}

.social-card.blog .social-icon {
    background-color: #C9A961;
    color: white;
}

.social-card.blog:hover .social-icon {
    background-color: #B89751;
    transform: scale(1.1);
}

.social-card.bluesky .social-icon {
    background-color: #00A8E8;
    color: white;
}

.social-card.bluesky:hover .social-icon {
    background-color: #0087BD;
    transform: scale(1.1);
}

.social-card.terrakata .social-icon {
    background-color: #F0EDE5;
    color: white;
    border: 2px solid #C9A961;
}

.social-card.terrakata:hover .social-icon {
    background-color: #C9A961;
    transform: scale(1.1);
}

.logo-svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1rem;
    }
    
    .profile-image-container {
        margin-bottom: 1rem;
    }
    
    .profile-image {
        width: 160px;
        height: 160px;
    }
    
    .family-seal-badge {
        bottom: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
    }
    
    .seal-image {
        width: 28px;
        height: 28px;
    }
    
    .bio-content {
        padding: 0.8rem 0;
    }
    
    .bio-text {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .social-card {
        padding: 1.4rem 1rem;
    }
    
    .social-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .profile-image {
        width: 140px;
        height: 140px;
    }
    
    .family-seal-badge {
        bottom: 4px;
        right: 4px;
        width: 32px;
        height: 32px;
    }
    
    .seal-image {
        width: 24px;
        height: 24px;
    }
    
    .bio-content {
        padding: 0.6rem 0;
    }
    
    .bio-text {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .social-card {
        padding: 1.2rem 0.8rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .social-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
}

/* Focus states for accessibility */
.social-card:focus {
    outline: 2px solid #C9A961;
    outline-offset: 2px;
}