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

:root {
    /* Flat color palette to complement vibrant geometric portrait */
    --primary-color: #2563eb; /* Deep blue - complements the blues in your image */
    --primary-text: #1e40af; /* Darker blue for text */
    --accent-color: #ec4899; /* Hot pink - matches the pinks in your image */
    --secondary-color: #f59e0b; /* Warm amber - complements yellows/oranges */
    --text-primary: #1f2937; /* Dark gray for main text */
    --text-secondary: #6b7280; /* Medium gray for secondary text */
    --bg-primary: #ffffff; /* Pure white background */
    --bg-secondary: #f8fafc; /* Very light blue-gray */
    --bg-accent: #fef3c7; /* Soft yellow tint - complements image yellows */
    --border-color: #e2e8f0; /* Light blue-gray border */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.skip-link:focus {
    top: 0;
    left: 0;
    clip: auto;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(236, 72, 153, 0.12) 50%, rgba(245, 158, 11, 0.12) 100%);
    clip-path: polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%);
    transition: var(--transition);
    overflow: hidden;
}

.nav-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(236, 72, 153, 0.15) 50%, rgba(245, 158, 11, 0.15) 100%);
    clip-path: polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%);
    z-index: -1;
    opacity: 0.8;
}

.nav-brand::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    clip-path: polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%);
    pointer-events: none;
}

.nav-brand:hover {
    transform: translateY(-2px);
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(236, 72, 153, 0.18) 50%, rgba(245, 158, 11, 0.18) 100%);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: var(--bg-primary);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-greeting {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title strong {
    font-weight: 700;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-subtitle strong {
    font-weight: 600;
    color: var(--text-primary);
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
}


/* Sections */
.section {
    padding: 8rem 0;
    scroll-margin-top: 100px;
}

.section-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-heading strong {
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
}


/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.project-card {
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.project-card:last-child {
    border-bottom: none;
}

.project-card img {
    float: right;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.project-type {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.project-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg width="500" height="500" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="lowpoly" width="500" height="500" patternUnits="userSpaceOnUse"><polygon points="0,0 180,80 120,200" fill="rgba(37,99,235,0.06)"/><polygon points="180,80 380,20 320,200" fill="rgba(236,72,153,0.06)"/><polygon points="380,20 500,0 450,150" fill="rgba(245,158,11,0.05)"/><polygon points="120,200 320,200 220,320" fill="rgba(37,99,235,0.05)"/><polygon points="320,200 450,150 380,320" fill="rgba(236,72,153,0.05)"/><polygon points="0,250 120,200 60,380" fill="rgba(245,158,11,0.04)"/><polygon points="500,250 450,150 480,380" fill="rgba(37,99,235,0.04)"/><polygon points="60,380 220,320 140,500" fill="rgba(236,72,153,0.04)"/><polygon points="380,320 480,380 420,500" fill="rgba(245,158,11,0.05)"/><polygon points="140,500 220,320 180,500" fill="rgba(37,99,235,0.05)"/><polygon points="420,500 380,320 360,500" fill="rgba(236,72,153,0.05)"/><polygon points="220,320 380,320 300,450" fill="rgba(245,158,11,0.03)"/><polygon points="0,0 120,200 0,120" fill="rgba(37,99,235,0.04)"/><polygon points="500,0 380,20 500,120" fill="rgba(236,72,153,0.04)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23lowpoly)"/></svg>');
    background-size: 500px 500px;
    background-repeat: repeat;
    background-attachment: fixed;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
        linear-gradient(225deg, rgba(236, 72, 153, 0.03) 0%, transparent 40%),
        linear-gradient(45deg, rgba(245, 158, 11, 0.02) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 100%;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.skills-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.skills-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-item {
    padding: 0.75rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.hvr-reveal:before {
    border-color: #15b185 !important;
}

/* Contact Section */
.contact-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
}

.contact-content {
    max-width: 100%;
}

.contact-item {
    margin-bottom: 3rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item a {
    font-size: 1.125rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Accent highlights */
.nav-link:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        max-width: 400px;
    }

    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-card img {
        width: 100%;
        float: none;
    }

    .social-links {
        flex-wrap: nowrap;
        gap: 1.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
}

/* Portfolio Projects - 4 Column Grid */
.projects-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1024px) {
    .projects-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Project Image Overlays */
.project-image {
    position: relative;
    height: 220px;
}

.project-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.project-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nebula Analytics - Real screenshot */
.project-image-nebula {
    background-image: url('images/projects/nebula-analytics.png');
    background-size: cover;
    background-position: top left;
    position: relative;
    overflow: hidden;
}

/* Atelier Studio - Real screenshot */
.project-image-atelier {
    background-image: url('images/projects/atelier-studio.png');
    background-size: cover;
    background-position: top left;
    position: relative;
    overflow: hidden;
}

/* Paws & Glamour - Real screenshot */
.project-image-paws {
    background-image: url('images/projects/paws-glamour.png');
    background-size: cover;
    background-position: top left;
    position: relative;
    overflow: hidden;
}

/* Serenity Yoga - Real screenshot */
.project-image-yoga {
    background-image: url('images/projects/serenity-yoga.png');
    background-size: cover;
    background-position: top left;
    position: relative;
    overflow: hidden;
}

/* Hover effects for project cards */
.project-card:hover .project-image-nebula::before {
    transform: scale(1.2);
    transition: transform 0.5s ease;
}

.project-card:hover .project-image-atelier::before {
    height: 6px;
    transition: height 0.3s ease;
}

/* Compact project cards for 4-column layout */
.projects-grid-4 .project-content h3 {
    font-size: 1.25rem;
}

.projects-grid-4 .project-content p {
    font-size: 0.875rem;
    line-height: 1.5;
}

.projects-grid-4 .project-tags span {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

