/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #00A86B 0%, #006B3F 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Navbar Styles ===== */
.navbar {
    background: rgba(0, 107, 63, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 10px;
    margin-bottom: 20px;
}

.navbar-brand {
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 70px;
}

.navbar-logo {
    height: 80px;
    width: auto;
    min-width: 80px;
}

/* ===== Language Switcher Styles ===== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 20px;
}

.lang-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.3s;
}

.lang-link:hover {
    background-color: rgba(0, 168, 107, 0.2);
    color: #00A86B;
}

.lang-link.lang-active {
    background-color: rgba(0, 168, 107, 0.3);
    color: #00A86B;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Main Content & Business Card ===== */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.business-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
}

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

.card-header {
    background: linear-gradient(135deg, #00A86B 0%, #006B3F 100%);
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    margin: 0 auto 15px;
    background: #f0f0f0;
}

.name {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.title {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.subtitle {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.card-body {
    padding: 30px;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
    transition: transform 0.2s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    fill: #00A86B;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #00A86B;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #00A86B;
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #666;
    transition: fill 0.3s;
}

/* ===== Footer Styles ===== */
.footer {
    background: rgba(0, 107, 63, 0.95);
    color: white;
    padding: 20px 30px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-text {
    font-size: 14px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #3ae6a7;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Container & Page Layouts ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.back-link {
    display: inline-block;
    color: #006B3F;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #00A86B;
}

/* ===== Standalone Page Styles ===== */
h1 {
    color: #006B3F;
    font-size: 32px;
    margin-bottom: 10px;
}

h2 {
    color: #00A86B;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h3 {
    color: #006B3F;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

p, li {
    line-height: 1.6;
    color: #333;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

a {
    color: #00A86B;
    text-decoration: none;
}

a:hover {
    color: #006B3F;
    text-decoration: underline;
}

.company-info {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #00A86B;
}

.info-block {
    margin-bottom: 15px;
}

.label {
    font-weight: 600;
    color: #006B3F;
    display: inline-block;
    min-width: 200px;
}

.divider {
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

/* ===== Hobbies & CV Page Styles ===== */
.header {
    background: linear-gradient(135deg, #00A86B 0%, #006B3F 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.header .subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
}

.body {
    padding: 40px;
}

.section {
    margin-bottom: 35px;
}

.section-title {
    color: #006B3F;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00A86B;
}

.activity {
    margin-bottom: 25px;
}

.activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.activity-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.activity-description {
    color: #555;
    line-height: 1.6;
    margin-left: 55px;
}

.activity-description ul {
    margin-top: 10px;
    margin-left: 20px;
}

.activity-description li {
    margin-bottom: 5px;
}

.volunteer-org {
    color: #00A86B;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* ===== CV Specific Styles ===== */
.cv-header {
    background: linear-gradient(135deg, #00A86B 0%, #006B3F 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.cv-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cv-header .title {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
}

.cv-body {
    padding: 40px;
}

.subsection {
    margin-bottom: 25px;
}

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

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.subsection-date {
    color: #666;
    font-size: 14px;
}

.subsection-subtitle {
    color: #00A86B;
    font-size: 16px;
    margin-bottom: 8px;
}

.subsection-content {
    color: #555;
    line-height: 1.6;
}

.subsection-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.subsection-content li {
    margin-bottom: 5px;
}

.last-updated {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

strong {
    color: #006B3F;
}

.certificate-image {
    width: 200px;
}

/* ===== Media Queries ===== */
@media (max-width: 1500px) {
    .name {
        font-size: 24px;
    }

    .card-body {
        padding: 20px;
    }

    .header h1,
    .cv-header h1 {
        font-size: 28px;
    }

    .body,
    .cv-body {
        padding: 30px 20px;
    }

    .subsection-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .subsection-date {
        margin-top: 5px;
    }

    .activity-description {
        margin-left: 0;
        margin-top: 10px;
    }

    .container {
        padding: 30px 20px;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
    }

    .back-link {
        display: none;
    }
}
