/* ============================================
   SOHAM JADHAV - SMART MEADOW
   Minimal • Serene • Professional
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    /* ═══════════════════════════════════════
       COLOR PALETTE - SERENE MEADOW (Refined)
       ═══════════════════════════════════════ */
    /* Base - Lighter, airier */
    --color-buttercream: #FDFCF8;  /* Almost white, hint of warm cream */
    
    /* Accents - Softer, pastel-like */
    --color-freesia: #E6C86E;      /* Soft Morning Sun */
    --color-grasshopper: #8DA37D;  /* Sage/Eucalyptus Green */
    --color-cranberry: #94B0C2;    /* Misty Sky Blue */
    
    /* Text - Softer contrast */
    --color-sea: #2A3B47;          /* Deep Slate (Softer than pure black/navy) */
    
    /* Semantic */
    --bg-main: #FDFCF8;
    --text-primary: #2A3B47;
    --text-secondary: #6B7C85;     /* Muted Slate */
    --border-color: rgba(42, 59, 71, 0.06); /* Very subtle dividers */
    
    /* Typography */
    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-unit: 8px;
    --container-width: 1200px;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--color-buttercream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* AMBIENT BACKGROUND (Refined Serenity) */
.ambient-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: #FDFCF8; /* Solid soft cream base */
}

/* Orbs are now subtle washes of color */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); /* Extreme blur for softness */
    opacity: 0.4;        /* Very transparent */
    animation: float 25s infinite ease-in-out alternate;
}

.orb-sun {
    width: 800px; height: 800px;
    background: var(--color-freesia);
    top: -20%; right: -10%;
    opacity: 0.15;
}

.orb-grass {
    width: 700px; height: 700px;
    background: var(--color-grasshopper);
    bottom: -20%; left: -10%;
    opacity: 0.12;
    animation-delay: -5s;
}

.orb-sky {
    width: 600px; height: 600px;
    background: var(--color-cranberry);
    top: 30%; left: 30%;
    opacity: 0.08; /* Barely visible mist */
    animation-delay: -12s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 20px); }
}

/* NOISE TEXTURE (Tactile Feel) */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* REFINED TYPOGRAPHY */
body {
    color: var(--color-sea); /* Softer slate */
    background-color: var(--color-buttercream);
}

h1, h2, h3 { font-weight: 400; letter-spacing: -0.01em; } /* Elegant tracking */

.nav-link {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 0.75rem; /* Smaller for elegance */
    letter-spacing: 0.15em; /* Wide spacing */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.hero-title {
    color: var(--color-sea);
    /* No shadow for flat, clean look */
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.hero-title .line { display: block; }

.role { color: var(--color-grasshopper); letter-spacing: 0.15em; font-size: 0.75rem; text-transform: uppercase; font-weight: 600; white-space: nowrap; }

.project-title { font-weight: 500; color: var(--color-sea); font-family: var(--font-sans); font-size: 2.5rem; margin-bottom: 0.5rem; }

.tags span {
    background: rgba(141, 163, 125, 0.08); /* Sage tint */
    color: var(--color-grasshopper);
    font-weight: 500;
    font-size: 0.8rem;
    margin-right: 1rem;
    padding: 4px 10px;
    border-radius: 4px;
}

.btn-arrow:hover { border-bottom-color: var(--color-grasshopper); }
.email-link:hover { color: var(--color-freesia); }

.italic { font-family: var(--font-serif); font-style: italic; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVIGATION */
.nav-bar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: multiply;
}

.logo {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 3.5rem;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-title {
    color: var(--color-sea);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.hero-title .line { display: block; }

.hero-meta {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    max-width: 600px;
}
.project-item {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 100px 1fr auto; /* Image - Info - Link */
    gap: 2rem;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.project-visual {
    width: 100px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.project-item:hover .project-visual {
    opacity: 1;
    filter: grayscale(0%);
    border-radius: 50px 50px 0 0; /* Morph to arch on hover */
}

.project-item:hover .project-visual img {
    transform: scale(1);
}

.divider { display: none; } /* Replaced by border-bottom */

.project-info { max-width: 600px; }

/* RESPONSIVE UPDATE */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-meta { justify-content: center; border-top: none; }
    .hero-visual { 
        display: flex; 
        height: 300px; 
        margin-top: 2rem;
    } 
    .image-mask {
        width: 250px;
        height: 340px;
    }
    .project-item { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
    .project-visual { 
        display: block; 
        width: 100%;
        height: 200px;
        opacity: 0.8;
        filter: grayscale(0%);
    }
    .project-link { margin-top: 1rem; }
}

.hero-meta {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    max-width: 600px;
}

.intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: var(--border-color);
    overflow: hidden;
}

.scroll-indicator .line {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-grasshopper);
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* WORK SECTION */
.work-section { padding: 8rem 0; }

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    display: block;
}

.project-list { display: flex; flex-direction: column; }

.project-item {
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

.project-item:hover { transform: translateX(10px); }

.project-info { max-width: 600px; }

.project-num {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-grasshopper);
    margin-bottom: 1rem;
    display: block;
    font-style: italic;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-arrow {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.divider {
    height: 1px;
    background: var(--border-color);
    width: 100%;
}

/* EXPERTISE SECTION */
.expertise-section { padding: 4rem 0 8rem; }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.sticky-label {
    position: sticky;
    top: 4rem;
    align-self: start;
}

.section-sub {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.expertise-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CONTACT SECTION */
.contact-section {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 60vh;
}

.contact-heading {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 4rem;
}

.email-link {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-grasshopper);
    text-decoration: none;
    font-style: italic;
    transition: color 0.3s;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.socials { display: flex; gap: 2rem; }
.socials a { text-decoration: none; color: var(--text-secondary); transition: color 0.3s; }
.socials a:hover { color: var(--text-primary); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-bar { padding: 1.5rem; }
    .nav-menu { display: none; }
    .hero-meta { flex-direction: column; gap: 1rem; border-top: none; }
    .grid-2-col { grid-template-columns: 1fr; }
    .sticky-label { position: static; margin-bottom: 3rem; }
    .expertise-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-meta { flex-direction: column; gap: 2rem; align-items: flex-start; }
    .project-item { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
