/* Copyright (c) 2024-2026. Jericho Crosby (Chalwk) */

:root {
    --primary: #1e88e5;
    --secondary: #42a5f5;
    --accent: #0d47a1;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --radius-lg: 1rem;
    --radius: 0.6rem;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --gray-light: #f5f5f5;
    --light: #f8f9fa;
    --border: #dee2e6;
    --transition: 0.3s;
    --text-light: #6c757d;
    --success: #28a745;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.hero {
    padding: 6rem 0 2rem;
    background: linear-gradient(135deg, #1e88e5, #42a5f5, #0d47a1);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 20%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, #fff, #e0e0e0, #fff);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn i {
    margin-right: 0.5rem;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.about-panel {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fdfdfd, #f5f5f5);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border-left: 6px solid;
    border-image: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent)) 1;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
    color: var(--dark);
    font-size: 1.1rem;
    text-align: left;
    word-wrap: break-word;
    hyphens: none;
}

.about-text a {
    color: var(--secondary);
    text-decoration: underline;
    transition: color 0.2s;
}

.about-text a:hover {
    color: var(--primary);
}

.about-image img {
    width: 900px;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.about-card {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.about-columns {
    display: flex;
    gap: 2rem;
}

.about-column {
    flex: 1;
}

.column-heading {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    position: relative;
    font-weight: 600;
    color: var(--dark);
}

.column-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.current-focus {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: var(--radius);
    border-left: 5px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: auto;
    box-sizing: border-box;
}

.focus-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.focus-item i {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

.focus-item strong {
    color: var(--primary);
}

.focus-item a {
    color: var(--secondary);
    text-decoration: underline;
}

.focus-item a:hover {
    color: var(--primary);
}

.focus-item p {
    margin: 0.25rem 0 0 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--dark);
}

.services-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-item {
    background: var(--gray-light);
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    line-height: 1.5;
    border-left: 4px solid var(--primary);
    transition: all 0.2s;
}

.service-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.service-item i {
    color: var(--primary);
    margin-right: 0.6rem;
    width: 1.4rem;
    text-align: center;
}

.service-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-text {
    font-size: 1.2rem;
    margin-top: 2rem;
    text-align: center;
}

.btn-left {
    margin-top: 0.1rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.skill-category h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.3rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--light);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    display: inline-block;
    color: var(--dark);
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    cursor: default;
}

.tag.primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 992px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-card {
        padding: 2rem;
    }

    .focus-item {
        padding: 0.7rem;
        gap: 0.6rem;
    }

    .about-columns {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .about-panel {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .about-image img {
        width: 80%;
        max-width: 350px;
        margin: 1rem auto;
        display: block;
    }

    .about-text p {
        text-align: left;
    }

    .tag {
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-image img {
        width: 90%;
        max-width: 280px;
    }
}