:root {
    --bg: #f5f7fa;
    --text: #2c3e50;
    --accent: #3498db;
    --section-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.05);
}

/* Base */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg);
    color: var(--text);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background: transparent;
    color: var(--text);
    padding: 3rem 0 1rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    text-align: center;
    z-index: 1;
}

.header-divider {
    width: 60px;
    height: 3px;
    background: #64748b;
    border-radius: 2px;
    margin-top: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.header-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text);
    border: 1px solid #d7dee8;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px var(--shadow);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.header-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

footer {
    background: transparent;
    color: var(--text);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #74b9ff;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0rem;
    padding-top: 0rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    main {
        padding: 2rem 1rem;
    }

    section {
        margin: 20px 12px;
        padding: 16px;
    }

    .project-card {
        padding: 1rem;
    }

    .project-card iframe {
        height: 200px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-selfie-block {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Sections */
section {
    max-width: 960px;
    margin: 40px auto 40px;
    padding: 24px 32px;
    background-color: var(--section-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

section h2 {
    margin-top: 0;
    color: var(--text);
}

/* Images & Media */
.about-bottom-image,
.image-section img {
    display: block;
    max-width: 100%;
    margin: 20px auto 0;
    border-radius: 4px;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-text p {
    margin-top: 0;
}

.about-text ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
    padding: 0;
}

.about-selfie-block {
    width: min(260px, 40vw);
    max-width: 100%;
}

.about-selfie {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
}

.about-selfie-caption {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.video-section iframe {
    display: block;
    margin: 20px auto 0;
    width: 100%;
    max-width: 960px;
    height: 450px;
    border-radius: 4px;
}

/* Project Cards */
.project-card {
    background: #fafbfc;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-card:last-child {
    margin-bottom: 0;
}

.project-card h3 {
    margin: 0 0 1rem 0;
    color: var(--text);
    font-size: 1.1rem;
}

.project-card p {
    margin: 0.75rem 0;
    color: #4a5568;
}

.project-card img {
    display: block;
    max-width: 80%;
    height: auto;
    border-radius: 6px;
    margin: 1.25rem auto;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-card iframe {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 6px;
    margin: 1.25rem auto;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 1.25rem 0;
    justify-items: center;
    align-items: center;
}

.project-images img {
    width: 100%;
    max-width: 760px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    margin: 0;
    background: #fff;
}

.project-images iframe {
    width: 100%;
    max-width: 760px;
    height: 420px;
    margin: 0;
}

.wardrobe-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
    margin: 1.25rem 0;
}

.wardrobe-media > div {
    width: 100%;
}

.wardrobe-media iframe,
.wardrobe-media img {
    width: 100%;
    max-width: none;
    height: 280px;
    object-fit: cover;
    margin: 0;
}

.wardrobe-media iframe {
    display: block;
}

.wardrobe-media p {
    text-align: center;
    margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
    .project-card img {
        max-width: 100%;
    }

    .project-images img {
        max-height: none;
    }

    .project-images iframe {
        height: 220px;
    }

    .wardrobe-media {
        grid-template-columns: 1fr;
    }

    .wardrobe-media iframe,
    .wardrobe-media img {
        height: 220px;
    }
}

/* Tables */
.project-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.project-card th,
.project-card td {
    border: 1px solid #e1e4e8;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.project-card th {
    background: #f1f3f5;
    font-weight: 600;
}

.project-card tr:nth-child(even) {
    background: #f8f9fa;
}
