/* Modern CSS for BoxMicro */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --accent-color: #4eb980;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-800: #1e293b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

#header .image {
    max-width: 200px;
    margin-bottom: 20px;
}

#header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
}

/* Main Content */
#main {
    padding-bottom: 60px;
}

section {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

section header {
    margin-bottom: 30px;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

section p {
    margin-bottom: 20px;
    color: #555;
}

/* Lists as Cards */
ul.default {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
}

ul.default li {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.2s, background 0.2s;
    position: relative;
}

ul.default li a {
    color: inherit;
    text-decoration: none;
}

ul.default li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

ul.default li:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

/* Table Styles */
.table-wrapper {
    overflow-x: auto;
}

table.modern-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--white);
}

table.modern-table th,
table.modern-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

table.modern-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

table.modern-table tr:hover {
    background-color: var(--gray-100);
}

/* Profile Card */
.profile-card {
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--gray-100);
}

.profile-card h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.profile-card .title {
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.profile-card .social-links {
    margin: 20px 0;
}

.profile-card .social-links a {
    font-size: 24px;
    margin: 0 10px;
    color: var(--gray-800);
}

.profile-card .btn-contact {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
    transition: background 0.2s;
}

.profile-card .btn-contact:hover {
    background-color: #3da06e;
    color: var(--white);
}

/* Footer */
#footer {
    background-color: var(--gray-800);
    color: var(--gray-200);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

#footer ul.copyright {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

#footer ul.copyright li {
    display: inline-block;
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
    #header h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 20px;
    }
    
    ul.default {
        grid-template-columns: 1fr;
    }
}
