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

:root {
    --primary-color: #3d2e2e;
    --secondary-color: #8b7070;
    --accent-color: #c17c74;
    --accent-dark: #a86860;
    --bg-light: #f9e5e0;
    --bg-white: #fef9f7;
    --bg-pink: #ff9999;
    --bg-peach: #ffb3ba;
    --bg-lavender: #e8dfe8;
    --bg-mint: #b8e6d5;
    --bg-blue: #c8e3f5;
    --bg-lilac: #d9c8f5;
    --intense-coral: #ff6b6b;
    --intense-purple: #9b59b6;
    --intense-teal: #1abc9c;
    --shadow-mint: #7dd4b8;
    --text-primary: #3d2e2e;
    --text-secondary: #8b7070;
    --border-color: #e8cdc7;
    --border-black: #000000;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6,
.logo,
.nav-links a,
.btn-primary {
    font-family: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-peach);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 4px solid var(--border-black);
    box-shadow: 0 4px 0 var(--shadow-mint);
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--border-black);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    grid-column: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    grid-column: 1;
    justify-content: flex-start;
}

.nav-links a {
    color: var(--border-black);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

.nav-contact {
    grid-column: 3;
    justify-self: flex-end;
}

.btn-contact {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--bg-white);
    color: var(--border-black);
    text-decoration: none;
    border: 3px solid var(--border-black);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 5px 5px 0 var(--shadow-mint);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contact:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--shadow-mint);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    background: var(--bg-pink);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--intense-coral);
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: 3px solid var(--border-black);
    box-shadow: 4px 4px 0 var(--intense-purple);
}

.btn-primary:hover {
    background-color: var(--intense-teal);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--intense-purple);
}

/* Work Section */
.work {
    padding: 120px 0;
    background: var(--bg-blue);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-primary);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-white);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(193, 124, 116, 0.15);
    border-color: var(--accent-color);
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: sepia(0.15) saturate(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: sepia(0.1) saturate(1);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--bg-pink);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* Project Card Variations */
.project-card:nth-child(1) .project-tag {
    background-color: var(--bg-pink);
}

.project-card:nth-child(2) .project-tag {
    background-color: var(--bg-lilac);
    color: var(--intense-purple);
}

.project-card:nth-child(3) .project-tag {
    background-color: var(--bg-mint);
    color: var(--intense-teal);
}

.project-card:nth-child(4) .project-tag {
    background-color: var(--bg-peach);
    color: var(--intense-coral);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--bg-lilac);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.2) saturate(0.85);
    border: 3px solid var(--border-color);
}

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.skills {
    margin-top: 48px;
}

.skills h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
}

.skills-list li {
    padding: 12px 16px;
    background: var(--bg-white);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    border: 2px solid var(--border-black);
    box-shadow: 3px 3px 0 var(--bg-mint);
    transition: var(--transition);
}

.skills-list li:nth-child(odd) {
    box-shadow: 3px 3px 0 var(--bg-lilac);
}

.skills-list li:nth-child(even) {
    box-shadow: 3px 3px 0 var(--bg-blue);
}

.skills-list li:hover {
    transform: translate(-2px, -2px);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    text-align: center;
    background: var(--bg-mint);
}

.contact-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-link {
    font-size: 28px;
    font-weight: 700;
    color: var(--intense-purple);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--intense-coral);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 16px;
    border: 2px solid var(--border-black);
    background-color: var(--bg-white);
    box-shadow: 3px 3px 0 var(--intense-teal);
}

.social-links a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--intense-teal);
    background-color: var(--bg-lilac);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        position: relative;
        top: 0;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 16px;
    }

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

    .contact-content h2 {
        font-size: 36px;
    }

    .contact-link {
        font-size: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav-links {
        grid-column: 1;
        justify-content: center;
        order: 2;
    }

    .logo {
        grid-column: 1;
        order: 1;
    }

    .nav-contact {
        grid-column: 1;
        justify-self: center;
        order: 3;
    }
}

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

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .work {
        padding: 80px 0;
    }

    .about {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }
}
