@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&family=Urbanist:wght@400;700&display=swap");

/* CSS Variables */
:root {
    --bg: #c6dbf0;
    --text: #21221c;
    --accent-color: #741A31;
    --primary-bg: #f4f4f9;
    --primary-text: #003049;
    --heading-color: #16324f;
    --button-bg: #741A31;
    --button-hover-bg: #002741;
    --link-hover-color: #16324f;
}

/* General Body Styles */
body {
    font-family: 'Karla', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: var(--primary-text);
    background-color: var(--primary-bg);
    margin: 0;
    padding: 0;
}

/* Heading Styles */
h1, h2, h3 {
    font-family: 'Urbanist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--heading-color);
}

h3, h4, p {
    margin: 0;
}

/* Link Styles */
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Main Content Container */
.main-content {
    position: relative;
    max-width: 900px;
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Intro Section */
.intro {
    text-align: center;
    margin-bottom: 30px;
}

.intro-title {
    font-size: 3.5rem;
    color: var(--heading-color);
    margin-bottom: 0;
}

.intro .horizontal-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro .vertical-container {
    padding: 20px;
    display: block;
    text-align: left;
}

.intro-subtitle {
    font-size: 1.2rem;
    color: #13293D;
    padding-left: 30px;
    padding-right: 30px;
}

.intro img {
    width: 150px;
    border-radius: 50%;
    border: 2px solid var(--heading-color);
    margin-top: 20px;
}

.intro .location {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.links {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 45px;
    color: var(--accent-color);
    background-color: transparent;
    border-radius: 50%;
    transition: transform 0.3s ease, color 0.3s ease;
    margin: 10px;
}

.link:hover {
    color: var(--link-hover-color);
    transform: scale(1.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--button-hover-bg);
}

/* Experience Section */
.experience {
    margin-top: 30px;
}

.timeline-list {
    border-left: 3px solid var(--button-hover-bg);
    margin-left: 20px;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-content {
    background: #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-info {
    margin-bottom: 10px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #182e44;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.job-link:hover {
    letter-spacing: 6px;
    font-size: 1.3rem;
    color: #788ea2;
}

.job-date {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.job-info .location {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.job-description {
    font-size: 1rem;
    color: #34495e;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding-left: 0;
}

.tag {
    background-color: #7d1c349d;
    border-width: 1.5px;
    border-style: solid;
    border-color: var(--accent-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Creative Projects Section */
.creative {
    margin-top: 100px;
}

.creative-title {
    margin-bottom: 0;
}

.creative-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding: 0;
    font-weight: normal;
}

.creative .creative-img {
    height: 150px;
}

.creative .prof-drawing {
    height: 200px;
    margin-right: 20px;
}

.creative-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--heading-color);
    text-align: center;
    background-color: #f8f8f8;
    cursor: pointer;
    border-radius: 8px;
    width: 200px;
    height: 200px;
    margin: 10px;
}

.creative-btn h3 {
    margin: 0;
    font-size: 16px;
}

.creative-btn:hover {
    background-color: #94a9b8;
}

.creative .inline-container {
    display: flex;
    align-items: center;
}

.creative .inline-container img {
    margin-right: 10px;
    margin-left: 10px;
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 10px;
    background-color: #34495e;
    color: #ecf0f1;
    margin-top: 25px;
    font-size: 0.9rem;
}

.footer .footer-link {
    color: #95b6be;
}

.footer .footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Media Queries for Responsive Design */

/* Mobile screens */
@media (max-width: 600px) {
    .intro-title {
        font-size: 2.5rem;
    }

    .intro img {
        width: 100px;
    }

    .intro-subtitle {
        font-size: 1rem;
    }

    .intro .horizontal-container {
        flex-direction: column;
        align-items: center;
    }

    .main-content {
        margin: 10px;
        padding: 10px;
    }

    .links {
        font-size: 35px;
    }
    .creative .prof-drawing {
        height: 150px;
        margin-right: 20px;
    }

    .creative-subtitle {
        font-size: 1rem;
    }

    .creative .inline-container {
        display: flex;
        flex-direction: column; /* Stack vertically on mobile */
        align-items: center;
    }
    
    .creative .inline-container img {
        margin-right: 10px;
        margin-left: 10px;
    }
}

/* Tablets (600px to 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .intro-title {
        font-size: 3rem;
    }

    .intro img {
        width: 120px;
    }

    .links {
        font-size: 40px;
    }

    .creative-btn {
        width: 180px;
        height: 180px;
    }

    .creative-subtitle {
        font-size: 1.15rem;
    }
}

/* Large screens (desktops, min-width 1024px) */
@media (min-width: 1024px) {
    .main-content {
        max-width: 1000px;
        margin: 40px auto;
        padding: 20px;
    }

    .intro-title {
        font-size: 4rem;
    }

    .intro img {
        width: 200px;
    }

    .links {
        font-size: 50px;
    }

    .creative-btn {
        width: 220px;
        height: 220px;
    }

    .creative-subtitle {
        font-size: 1.5rem;
    }
}
