/*
  DARK THEME PORTFOLIO - Inspired by the provided reference
  - Uses deep backgrounds, glassy cards, and strong contrast
  - Large profile image, bold headings, and modern layout
*/

:root {
  --bg-main: #181a20;
  --bg-card: #23262f;
  --bg-glass: rgba(35, 38, 47, 0.85);
  --text-main: #f5f6fa;
  --text-secondary: #b2b6c8;
  --accent: #00c6fb;
  --accent2: #005bea;
  --shadow: 0 4px 32px rgba(0,0,0,0.25);
  --radius: 18px;
  --nav-height: 64px;
}

html, body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  scroll-behavior: smooth;
}

body {
  padding-top: var(--nav-height);
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--bg-glass);
  box-shadow: var(--shadow);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* HERO */
#hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 60% 40%, #23262f 60%, transparent 100%);
  padding: 64px 0 32px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
  max-width: 1100px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.hero-text h1 strong {
  font-weight: 800;
  color: var(--accent);
}
.hero-text .subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 18px;
}
.hero-btn {
  padding: 0.7em 1.6em;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #181a20;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,198,251,0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.hero-btn.secondary {
  background: #23262f;
  color: var(--text-main);
  border: 1px solid var(--accent2);
}
.hero-btn:hover {
  background: var(--accent2);
  color: #fff;
}

.hero-img {
  flex: 0 0 260px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border: 4px solid var(--accent);
  background: #23262f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT */
#about {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 64px 0;
}
.about-inner {
  display: flex;
  gap: 48px;
  max-width: 1100px;
  width: 100%;
  align-items: flex-start;
}
.about-title {
  flex: 0 0 220px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}
.about-desc {
  flex: 1;
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* PROJECTS */
#projects {
  padding: 64px 0;
}
.projects-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-main);
}
.project-featured {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto 48px auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
}
.project-img {
  flex: 0 0 320px;
  width: 320px;
  height: 640px;
  background: #111216;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.project-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.project-info .project-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.project-info .project-btn {
  padding: 0.6em 1.4em;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent2);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,91,234,0.12);
  cursor: pointer;
  transition: background 0.2s;
}
.project-info .project-btn:hover {
  background: var(--accent);
  color: #181a20;
}

/* SKILLS */
#skills {
  padding: 64px 0;
}
.skills-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-main);
}
.skills-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.skill-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.skill-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* CONTACT */
#contact {
  padding: 64px 0 32px 0;
}
.contact-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-main);
}
.contact-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}
.contact-card .contact-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}
.contact-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}
.contact-card .contact-btn {
  padding: 0.6em 1.4em;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #181a20;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,198,251,0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-card .contact-btn:hover {
  background: var(--accent2);
  color: #fff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 18px 0 10px 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  background: transparent;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .project-featured {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .about-title {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .nav-container {
    padding: 0 10px;
  }
  .hero-img {
    width: 160px;
    height: 160px;
  }
  .project-img {
    width: 180px;
    height: 340px;
  }
  .skills-icons {
    gap: 18px;
  }
  .skill-icon {
    width: 60px;
    height: 60px;
  }
}

