:root {
    /* Light Mode Variables */
    --bg-color: #f8f9fc;
    --card-bg: #ffffff;
    --text-primary: #111827; 
    --text-secondary: #4b5563;
    --accent-color: #2563eb; /* Royal Blue */
    --accent-hover: #1d4ed8;
    --navbar-bg: rgba(255, 255, 255, 0.98);
    --navbar-text: #111827;
    --border-color: #e5e7eb;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hero-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --header-height: 90px; /* Increased height for bigger logo */
}

.dark {
    /* Dark Mode Variables */
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f9fafb; 
    --text-secondary: #d1d5db; 
    --accent-color: #60a5fa; 
    --accent-hover: #93c5fd;
    --navbar-bg: rgba(15, 23, 42, 0.98);
    --navbar-text: #f3f4f6;
    --border-color: #334155;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Base Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Layout */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 20px; position: relative; z-index: 2; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* =========================
   NAVBAR STYLING
   ========================= */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    height: var(--header-height);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 25px;
    height: 100%;
    display: flex; justify-content: space-between; align-items: center;
}

/* Logo Container */
.logo-link { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; 
    color: var(--navbar-text);
    transition: transform 0.2s ease;
}
.logo-link:hover { transform: translateY(-1px); }

/* BIGGER LOGO ICON */
.logo-img { 
    height: 65px; /* Increased from 50px */
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

/* Text Stack */
.logo-text-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    line-height: 1.2; 
}

/* Main Title */
.logo-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.3rem; /* Slightly larger */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--navbar-text);
    white-space: nowrap; 
}

/* Subtitle with DASHES (— LLC —) */
.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px; /* Space between dashes and text */
}

/* The Left & Right Dashes */
.logo-subtitle::before, 
.logo-subtitle::after {
    content: "";
    display: block;
    height: 2px; 
    width: 25px; /* Length of the dash */
    background-color: var(--accent-color);
    opacity: 0.8;
}

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    color: var(--navbar-text); text-decoration: none; font-weight: 500; font-size: 1rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-color); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--navbar-text); cursor: pointer; }

/* Buttons */
.btn-primary {
    background: var(--accent-color); color: white !important; 
    padding: 12px 24px; border-radius: 8px; font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    display: inline-block; text-decoration: none; border: none;
}
.dark .btn-primary { color: #0f172a !important; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-secondary {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.4); color: white;
    padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none;
    display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* Hero Section */
.hero {
    background: var(--hero-gradient); color: white;
    padding: 140px 20px 120px; /* Adjusted padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}
.hero::before {
    content: '';
    position: absolute;
    top: 55%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background-image: url('../assets/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08; 
    pointer-events: none;
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

/* NEW: Hero Logo Style (The prominent logo on main page) */
.hero-logo {
    height: 120px; /* Big and clear */
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.hero h1 { font-size: 3.5rem; margin-bottom: 25px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.hero p { 
    font-size: 1.35rem; color: rgba(255, 255, 255, 0.95);
    max-width: 750px; margin: 0 auto 40px; font-weight: 400;
}
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* Cards & Other CSS */
.card {
    background: var(--card-bg); padding: 35px; border-radius: 16px;
    box-shadow: var(--shadow); border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-primary); font-weight: 700; }
h3 { margin-bottom: 10px; color: var(--text-primary); font-size: 1.4rem; }
p { color: var(--text-secondary); margin-bottom: 15px; font-size: 1.05rem; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 40px; }
.contact-item { background: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; transition: all 0.2s; }
.contact-item:hover { border-color: var(--accent-color); transform: translateY(-3px); }
.contact-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.contact-label { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 5px; font-weight: 600; }
.contact-link { font-size: 1.1rem; color: var(--accent-color); text-decoration: none; font-weight: 600; word-break: break-all; }
.contact-link:hover { text-decoration: underline; }

.project-tag { display: inline-block; background: rgba(37, 99, 235, 0.1); color: var(--accent-color); font-size: 0.75rem; padding: 6px 12px; border-radius: 20px; margin-bottom: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.dark .project-tag { background: rgba(96, 165, 250, 0.15); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.skill-category h4 { color: var(--accent-color); margin-bottom: 15px; font-size: 1.2rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
#modeToggle { background: none; border: none; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 50%; transition: background 0.2s; }
#modeToggle:hover { background: rgba(128,128,128,0.1); }
.dark .icon-sun { display: inline; }
.dark .icon-moon { display: none; }
body:not(.dark) .icon-sun { display: none; }
body:not(.dark) .icon-moon { display: inline; }

.footer { background: #0f172a; color: white; padding: 60px 20px; margin-top: 80px; border-top: 1px solid #1e293b; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* FOOTER LOGO FILTER: Makes your PNG logo pure white in the footer */
.footer-logo { 
    height: 60px; 
    margin-bottom: 20px; 
    filter: brightness(0) invert(1); 
    opacity: 0.9;
}
.social-links { margin-top: 25px; display: flex; justify-content: center; gap: 30px; }
.social-links a { color: #94a3b8; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.social-links a:hover { color: white; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { margin-top: var(--header-height); }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero::before { width: 350px; height: 350px; opacity: 0.1; }
    .grid-2 { grid-template-columns: 1fr; }
}