:root {
    --orange: #FF6B00;
    --bg-color: #ffffff;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --card-bg: #F9F9F9;
    --border: #eeeeee;
}

.dark-theme {
    --bg-color: #0B0B0B;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --card-bg: #161616;
    --border: #222222;
}

* { margin:0; padding:0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Outfit', sans-serif; 
    line-height: 1.8; 
    color: var(--text-main);
    background: var(--bg-color);
    transition: 0.3s ease;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }

/* Navbar */
.navbar {
    height: 90px; width: 100%; position: fixed; top: 0; 
    background: var(--bg-color); z-index: 1000;
    display: flex; align-items: center; border-bottom: 1px solid var(--border);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--orange); }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 1rem; }

.theme-btn { background: none; border: none; font-size: 1.2rem; color: var(--text-main); cursor: pointer; }

/* Menu Toggle - Hidden by default (Desktop) */
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
section { padding: 140px 0; }
.hero { padding-top: 200px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-text h1 { font-size: 4.5rem; line-height: 1; letter-spacing: -3px; margin-bottom: 25px; }
.orange-text { color: var(--orange); }
.badge { color: var(--orange); background: rgba(255,107,0,0.1); padding: 5px 15px; border-radius: 20px; font-weight: 600; display: inline-block; margin-bottom: 20px; }

.hero-img img { width: 100%; border-radius: 40px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }

/* Skills */
.skills { background: var(--card-bg); padding: 80px 0; }
.skills-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.skill-box { text-align: center; }
.skill-box i { font-size: 2.5rem; color: var(--orange); display: block; margin-bottom: 10px; }
.skill-box span { font-weight: 600; }

/* Buttons */
.btn { padding: 18px 36px; border-radius: 14px; font-weight: 700; text-decoration: none; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn-orange { background: var(--orange); color: white; margin-right: 15px; }
.btn-outline { border: 2px solid var(--orange); color: var(--orange); }
.btn:hover { transform: translateY(-5px); }

/* Sidebar (Mobile) */
.sidebar { position: fixed; top: 0; left: -100%; width: 280px; height: 100%; background: var(--bg-color); z-index: 2000; transition: 0.4s; padding: 40px; border-right: 1px solid var(--border); }
.sidebar.active { left: 0; }
.sidebar-links { list-style: none; margin-top: 50px; }
.sidebar-links li { margin-bottom: 30px; }
.sidebar-links a { text-decoration: none; color: var(--text-main); font-size: 1.5rem; font-weight: 700; }

/* Projects */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.project-card { border-radius: 24px; overflow: hidden; background: var(--bg-color); border: 1px solid var(--border); transition: 0.4s; }
.project-img { height: 350px; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 40px; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 20px; border-radius: 15px; border: 1px solid var(--border); background: var(--card-bg); color: var(--text-main); margin-bottom: 20px; font-family: inherit; }

/* Mobile */
@media (max-width: 900px) {
    .desktop-only { display: none; }
    .menu-toggle { display: block; }
    .hero-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3.2rem; }
    .btn-orange { margin: 0 0 15px 0; width: 100%; }
    .btn-outline { width: 100%; }
}