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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #666;
}

.page-content a {
    text-decoration: underline;
    text-decoration-color: rgba(44, 62, 80, 0.3);
    text-underline-offset: 2px;
}

.page-content a:hover {
    text-decoration-color: #666;
}

/* Header and Navigation */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    padding: 1rem 0;
}

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

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #2c3e50;
}

/* Main content */
.main-content {
    min-height: calc(100vh - 140px);
    padding: 0.5rem 0 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Homepage styles */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 2rem auto;
    display: block;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.hero-contact {
    margin-top: 2rem;
}

.hero-contact p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.social-links a:hover {
    background: #2c3e50;
    border-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.social-links a:hover svg {
    fill: #fff;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: #666;
    transition: fill 0.3s ease;
}

/* Post layout tweaks */
.post-social {
    margin-top: 4rem;
}

/* Page styles */
.page-header {
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.about-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    margin: 0 auto 2rem auto;
    display: block;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    margin: 0 auto 2rem auto;
    display: block;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.wedding-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: left 15%;
    margin: 0 auto 2rem auto;
    display: block;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Certificates */
.certificates-list {
    margin-top: 2rem;
}

.certificate-item {
    background: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.certificate-icon {
    flex-shrink: 0;
}

.certificate-details {
    flex: 1;
}

.certificate-item h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.certificate-description {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.certificate-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.certificate-meta p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

.certificate-meta strong {
    color: #2c3e50;
}

@media (max-width: 768px) {
    .certificate-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #e1e5e9;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-photo {
        width: 150px;
        height: 150px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .page-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-description {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
