/* --- VARIABLES --- */
:root {
    --bg-paper: #F9F9F7;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #64748B;
    --accent-sage: #4A7C59;
    --accent-sand: #E2E2D5;
    --accent-warm: #E76F51; /* Running Color */
    --accent-wood: #A0522D; /* Guitar Color */
    
    --font-head: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
    
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

body {
    background-color: var(--bg-paper);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--text-dark); }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: transparent;
}

.logo { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; color: var(--accent-sage); }

.nav-links a { margin-left: 30px; font-weight: 700; font-size: 0.9rem; color: var(--text-light); }
.nav-links a:hover { color: var(--accent-sage); }

.btn-nav {
    padding: 10px 25px;
    border: 2px solid var(--text-dark);
    border-radius: 50px;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}
.btn-nav:hover { background: var(--text-dark); color: var(--bg-white) !important; }

/* --- HERO --- */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content { max-width: 600px; z-index: 2; }

.tag {
    display: inline-block;
    background: var(--accent-sand);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-sage);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; }
.hero-text { font-size: 1.1rem; color: var(--text-light); margin-bottom: 40px; }

.tech-stack-row { display: flex; align-items: center; gap: 20px; font-size: 1.8rem; color: var(--text-dark); }
.tech-label { font-size: 0.8rem; font-weight: 700; color: var(--text-light); border-left: 2px solid var(--accent-sage); padding-left: 15px; }

.hero-visual { position: relative; }
.circle-shape {
    width: 400px; height: 400px;
    background-color: var(--accent-sage);
    border-radius: 50%;
    opacity: 0.1;
    position: absolute;
    top: -50px; right: -50px;
}
.img-placeholder { font-size: 10rem; color: var(--accent-sage); position: relative; }

/* --- SECTIONS --- */
.container { padding: 100px 10%; }
.bg-soft { background-color: #FFFFFF; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

/* --- GRID LAYOUT (The Mind) --- */
.grid-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-bottom: 5px solid transparent;
}
.card:hover { transform: translateY(-10px); border-bottom-color: var(--accent-sage); }

.icon-box {
    width: 50px; height: 50px;
    background: var(--accent-sand);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-sage);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }

.micro-list { list-style: none; padding-left: 0; }
.micro-list li { margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; }
.micro-list li::before { content: "✓"; color: var(--accent-sage); margin-right: 10px; }

.book-status { font-size: 0.8rem; font-weight: 700; color: var(--accent-sage); display: flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; background: var(--accent-warm); border-radius: 50%; animation: pulse 1.5s infinite; }

.device-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--bg-paper); padding: 5px 12px; border-radius: 15px; font-size: 0.75rem; font-weight: 700; color: var(--text-light); }

/* --- HOBBY GRID (The Play) --- */
.hobby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 20px;
}

.hobby-tile {
    background: var(--bg-paper);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Big Tiles (Running & Guitar) */
.big-tile { 
    min-height: 280px; 
    color: var(--bg-white);
}

.running-tile { background: var(--text-dark); }
.running-tile i { color: var(--accent-warm); }

.guitar-tile { background: var(--accent-wood); }
.guitar-tile i { color: #FFD700; /* Gold */ }

.big-tile i { font-size: 4rem; margin-bottom: 20px; }
.big-tile h3 { color: var(--bg-white); font-size: 1.8rem; margin-bottom: 10px; }
.big-tile p { color: rgba(255,255,255,0.8); }

.stat-overlay {
    position: absolute; top: 30px; right: 30px;
    display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}

/* Small Tiles */
.small-tile { 
    text-align: center; 
    align-items: center; 
    border: 1px solid var(--accent-sand); 
    background: white; 
    min-height: 180px;
}
.small-tile i { font-size: 2.5rem; color: var(--accent-sage); margin-bottom: 15px; }

/* Wide Tile (Carrom) */
.wide-tile { 
    grid-column: span 2; 
    background: var(--accent-sage); 
    color: white;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    min-height: 150px;
}
.wide-tile h4 { color: white; margin-bottom: 5px; }
.wide-tile p { color: rgba(255,255,255,0.8); }

/* Carrom Graphic */
.carrom-icon { width: 80px; height: 80px; border: 2px solid rgba(255,255,255,0.3); position: relative; border-radius: 4px; flex-shrink: 0; }
.carrom-striker { width: 20px; height: 20px; background: #fff; border-radius: 50%; position: absolute; bottom: 10px; left: 30px; }
.carrom-piece { width: 15px; height: 15px; background: var(--accent-warm); border-radius: 50%; position: absolute; top: 30px; right: 20px; }

/* --- SPLIT LAYOUT (Photography) --- */
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-content { flex: 1; }
.split-visual { flex: 1; display: flex; justify-content: center; }

.photo-badges { display: flex; gap: 20px; margin-top: 30px; }
.photo-badges span { font-weight: 700; color: var(--accent-sage); }

.polaroid {
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
    text-align: center;
    font-family: var(--font-head);
    font-weight: 700;
}
.polaroid-inner {
    width: 280px; height: 280px;
    background: #f0f0f0;
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
}

/* --- FOOTER --- */
footer { background: var(--text-dark); color: var(--bg-white); padding: 80px 10%; text-align: center; }
.footer-container h3 { color: var(--bg-white); font-size: 2rem; margin-bottom: 20px; }
.footer-container p { color: #aaa; margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }

.btn-primary {
    display: inline-block;
    background: var(--accent-warm);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 60px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(231, 111, 81, 0.4); }

.footer-links { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; color: #777; font-size: 0.9rem; }
.social-icons a { color: #777; margin-left: 20px; font-size: 1.2rem; }
.social-icons a:hover { color: var(--accent-warm); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .grid-layout { grid-template-columns: repeat(2, 1fr); }
    .hero-section { flex-direction: column; text-align: center; padding-top: 100px; }
    .tech-stack-row { justify-content: center; margin-top: 20px; }
    .hero-visual { display: none; }
}

@media (max-width: 768px) {
    .grid-layout { grid-template-columns: 1fr; }
    .hobby-grid { grid-template-columns: 1fr; }
    .wide-tile { grid-column: auto; }
    
    .split-layout { flex-direction: column-reverse; }
    .navbar { flex-direction: column; gap: 20px; }
    .nav-links { display: flex; flex-direction: column; gap: 15px; text-align: center; }
    .nav-links a { margin: 0; }
    
    .hero-content h1 { font-size: 2.5rem; }
}

@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.fade-in, .scroll-reveal { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.active { opacity: 1; transform: translateY(0); }
