/* Import component styles */
@import url('components/top-navigation.css');
@import url('components/footer.css');
@import url('style.css');

:root {
    /* AI Website Creation Color System */
    --color-theme: #5285A5;
    --color-H2: #2D3748;
    --color-H3: #4A5568;
}

/* AI Website Creation Typography Color Overrides */
h2 {
    color: var(--color-H2, #2D3748);
}

h3 {
    color: var(--color-H3, #4A5568);
}

h4 {
    color: var(--color-H4, #7D7B7B);
}

p {
    color: var(--color-Body, #1E1E1E);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--color-bg, #f6f6f6);
    color: var(--color-Body, #1E1E1E);
    font-size: var(--fonts-size-body, 16px);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Page Wrapper */
.page-wrapper {
    display: block;
    min-height: 100vh;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

/* Main Container */
.container {
    padding: 100px 6rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.head-title {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    box-sizing: border-box;
    gap: 0.3rem;
}

.head-title h1 {
    font-family: 'Bitter', serif;
    font-size: var(--fonts-size-h1, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-Body, #1E1E1E);
}

/* Full Width Images */
.head-image {
    width: 100vw;
    height: 70vh;
    object-fit: cover;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Header section */
.header {
    display: flex;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.summary-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin-right: 4rem;
    margin-top: 12px;
    margin-bottom: 36px;
}

.summary-row {
    display: flex;
}

.summary-label {
    color: var(--color-H4, #718096);
    font-size: var(--fonts-size-label, 13px);
    width: 60px;
    margin-right: 36px;
}

.summary-content {
    color: var(--color-Body, #1E1E1E);
    width: 120px;
    font-size: var(--fonts-size-label, 13px);
}

.context {
    grid-column: 7 / 13;
}

.context p {
    line-height: 1.5;
    margin-bottom: 6px;
}

/* My role section */
.my-role {
    margin-top: 20px;
}

/* Project impact section */
.project-impact {
    margin-top: 20px;
}

.project-impact ul {
    list-style-type: none;
    line-height: 1.5;
}

.project-impact li {
    margin-bottom: 2px;
    position: relative;
    padding-left: 20px;
}

.project-impact li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--color-H3, #4A5568);
    font-weight: bold;
}

/* Spacing utilities */
.spacer-y {
    height: 0;
}

.space-s {
    margin-bottom: 1rem;
}

.space-m {
    margin-bottom: 2rem;
}

.space-l {
    margin-bottom: 4rem;
}

.space-xl {
    margin-bottom: 6rem;
}

/* Paragraph sections */
.paragraph {
    margin-bottom: 2rem;
}

.paragraph h3 {
    font-family: 'Bitter', serif;
    font-size: var(--fonts-size-h3, 24px);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-H3, #4A5568);
}

.paragraph p {
    font-size: var(--fonts-size-body, 16px);
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--color-Body, #1E1E1E);
}

.context h2 {
    font-family: 'Bitter', serif;
    font-size: var(--fonts-size-h2, 32px);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-H2, #2D3748);
}

.context h3 {
    font-family: 'Bitter', serif;
    font-size: var(--fonts-size-h3, 24px);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-H3, #4A5568);
}

.context p {
    line-height: 1.5;
    margin-bottom: 6px;
}

.my-role p,
.project-impact p {
    line-height: 1.5;
    margin-bottom: 6px;
}

/* Temporary paragraph styling */
.temporary-paragraph {
    text-align: center;
    margin: 10rem 0 ;
    padding: 2rem 0;
}

.temporary-paragraph h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #939093;
}

/* Dot animation */
.dot {
    opacity: 0;
    animation: dotAppear 1.5s infinite;
    color: #939093;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
    color: #b3b1b3;
}

.dot:nth-child(3) {
    animation-delay: 1s;
    color: #dfdbdb;

}

@keyframes dotAppear {
    0%, 20% {
        opacity: 0;
    }
    40%, 100% {
        opacity: 1;
    }
}

/* Scroll-triggered fade in animation */
.fade-in {
    opacity: 0.3;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 80px 2rem 0;
    }

    .header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .summary-container {
        grid-column: 1;
    }

    .context {
        grid-column: 1;
    }

    .head-title h1 {
        font-size: 32px;
    }

    .context h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 60px 1rem 0;
    }

    .head-title h1 {
        font-size: 28px;
    }

    .context h2 {
        font-size: 24px;
    }
}