/* ========================================
   Modern Minimalist Portfolio - 2025
   ======================================== */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 400px);
}

/* Header */
header {
    background: linear-gradient(135deg, #d4e4f4 0%, #e8f1f8 100%);
    padding: 80px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

header .headline {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c5282;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(44, 82, 130, 0.75);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1e40af;
}

a i {
    margin-right: 2px;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

/* Sections */
.featurette {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.featurette:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.featurette:nth-child(even) {
    background: linear-gradient(to right, #f8fafc 0%, #ffffff 100%);
}

.featurette h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
    padding-bottom: 12px;
    border-bottom: 3px solid #b8d4ea;
    display: inline-block;
}

/* Dividers - Hidden */
.featurette-divider {
    display: none;
}

/* Profile Image */
.featurette-image {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-left: 40px;
    box-shadow: 0 8px 24px rgba(125, 163, 209, 0.2);
    border: 4px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featurette-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(125, 163, 209, 0.3);
}

/* Text */
.lead {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.75;
    color: #404040;
    margin-bottom: 24px;
}

/* Lists */
ul.lead {
    padding-left: 0;
    list-style-type: none;
}

ul.lead li {
    margin-bottom: .15em;
    padding-left: 22px;
    position: relative;
}

ul.lead li::before {
    content: "•";
    color: #2563eb;
    font-weight: 600;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Strong Text */
strong {
    font-weight: 600;
    color: #0a0a0a;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.skill-tag {
    display: inline-block;
    padding: 4px 5px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #dbe9f6 0%, #e8f1f8 100%);
    color: #2c5282 !important;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(125, 163, 209, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    box-shadow: 0 3px 10px rgba(125, 163, 209, 0.2);
    background: linear-gradient(135deg, #c8dff0 0%, #d8e9f5 100%);
}

.social-links a i {
    font-size: 1.1em;
    margin-right: 8px;
}

/* Presentations Section - Styled Cards */
ul.list-talks {
    display: grid;
    gap: 14px;
    padding-left: 0;
    margin-top: 32px;
}

ul.list-talks li {
    padding: 8px 24px;
    margin-bottom: 0;
    background: linear-gradient(to right, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    border-left: 4px solid #b8d4ea;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.5;
    list-style-type: none;
}

ul.list-talks li::before {
    display: none;
}

ul.list-talks li:hover {
    background: linear-gradient(to right, #ffffff 0%, #fefeff 100%);
    border-left-color: #9bbdd9;
    box-shadow: 0 4px 16px rgba(125, 163, 209, 0.15);
}

ul.list-talks li a {
    font-weight: 500;
    transition: color 0.2s ease;
}

ul.list-talks li small {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 400;
}

/* Container */
.container {
    padding-top: 0;
    padding-bottom: 20px;
    max-width: 1200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 200px);
    }

    header {
        padding: 60px 0;
        margin-bottom: 40px;
    }

    header h1 {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }

    header h2 {
        font-size: 1.25rem;
    }

    .featurette {
        margin-bottom: 50px;
        padding: 30px 24px;
    }

    .featurette h2 {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .featurette-image {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
        float: none !important;
        display: block;
    }

    .lead {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    ul.lead li {
        margin-bottom: 10px;
    }

    ul.list-talks {
        margin-top: 24px;
        gap: 12px;
    }

    ul.list-talks li {
        padding: 16px 20px;
    }

    .container {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
    }

    header {
        padding: 50px 0;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 2.25rem;
        letter-spacing: -0.8px;
    }

    header h2 {
        font-size: 1.125rem;
    }

    .featurette {
        margin-bottom: 40px;
        padding: 24px 20px;
    }

    .featurette h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    ul.list-talks li {
        padding: 14px 16px;
    }

    .container {
        padding-bottom: 50px;
    }
}
