@font-face {
  font-family: "Nitti";
  src: url("../fonts/Nitti-Normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primary Colors */
  --primary-dark: #1c1c1c; /* Dark background */
  --primary-light: #e6e6e6; /* Light text */
  --accent-1: #e6a817; /* Dark saffron accent - changed from red */
  --accent-2: #8b5cf6; /* Purple - kept for some accents */
  --accent-3: #22c55e; /* Green - kept for success elements */
  --danger: #ef4444; /* Red for errors/warnings */

  /* Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "Nitti", "SF Mono", SFMono-Regular, ui-monospace, Monaco,
    Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--primary-dark);
  color: var(--primary-light);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: 100px;
  font-size: 16px; /* Increased from 15px */
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease; /* Faster transition for subtle effect */
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 92%;
  max-width: 800px; /* Narrower container for Naval style */
  margin: 0 auto;
  padding: 0 1rem;
}

/* Remove custom cursor for Naval style */
.cursor {
  display: none;
}

/* Navigation - Naval Style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none; /* Remove max-width constraint to allow true edge-to-edge */
  padding: 0 2.5rem; /* Increased padding to match Naval's site */
}

.logo {
  font-family: var(--font-mono);
  font-size: 1rem; /* Increased from 0.9rem */
  font-weight: 400;
  color: var(--accent-1);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin-right: auto;
}

.navbar-top {
  font-size: 1.2rem;
  width: 100%;
  font-weight: 400;
  padding: 1.5rem 0;
}

.navbar-main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 1.5rem;
  margin-top: 0;
  border: none;
}

.navbar-center {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.navbar-right {
  display: flex;
  gap: 1.5rem;
  margin-left: auto; /* Push to the extreme right */
}

.navbar-center a,
.navbar-right a {
  color: var(--primary-light);
  font-size: 0.85rem; /* Increased from 0.75rem */
  font-weight: 400;
  letter-spacing: 0.3px;
}

.navbar-center a:hover,
.navbar-right a:hover {
  color: var(--accent-1);
}

/* Mobile menu button */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--primary-light);
  font-size: 1.5rem;
}

/* Content Sections */
section {
  cursor: default; /* Changed from pointer to default */
  padding: 3rem 0; /* Reduced padding */
  background: transparent;
  border-bottom: none;
}

.hero {
  padding: 4rem 0 3rem; /* Reduced padding */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2rem; /* Increased from 1.8rem */
  font-weight: 400;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.3rem; /* Increased from 1.2rem */
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--gray-400);
}

.hero p {
  font-size: 1.1rem; /* Increased from 1rem */
  color: var(--gray-400);
  max-width: 600px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Blog Posts - Naval Style */
.post-item {
  padding: 1.5rem 0; /* Reduced padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem; /* Reduced margin */
}

.post-item:last-child {
  border-bottom: none;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--gray-500);
  font-size: 0.9rem; /* Increased from 0.8rem */
}

.post-title {
  font-size: 1.4rem; /* Increased from 1.3rem */
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.post-excerpt {
  color: var(--gray-400);
  margin-bottom: 0.8rem;
  font-size: 1rem; /* Increased from 0.9rem */
  line-height: 1.5;
}

.post-link {
  font-weight: 400;
  color: var(--accent-1);
  font-size: 0.9rem; /* Increased from 0.8rem */
}

/* Section Headers */
.section-header {
  margin-bottom: 2rem; /* Reduced margin */
}

.section-header h2 {
  font-size: 1.6rem; /* Increased from 1.5rem */
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.section-divider {
  width: 40px; /* Smaller divider */
  height: 1px;
  background-color: var(--accent-1);
  margin-bottom: 1.5rem; /* Reduced margin */
}

/* Project Items */
.project-item {
  font-size: 1.4rem; /* Increased from 1.3rem */
  font-weight: 400;
  margin-bottom: 3rem; /* Increased from implicit/default margin */
  padding-bottom: 1.5rem; /* Add bottom padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Add subtle separator */
}

.project-title {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  color: var(--primary-light);
}

/* Reposition project links to appear below title */
.project-links {
  margin-bottom: 1rem; /* Add space between links and project meta info */
}

.project-meta {
  color: var(--gray-500);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.project-description {
  color: var(--gray-400);
  margin-bottom: 0.8rem;
  font-size: 1rem; /* Increased from 0.9rem */
  line-height: 1.5;
}

.project-features {
  list-style-type: disc;
  padding-left: 1.3rem;
  margin-bottom: 0.8rem;
  font-size: 1rem; /* Increased from 0.9rem */
  color: var(--gray-400);
  line-height: 1.4;
}

.project-link {
  color: var(--accent-1);
  font-size: 0.9rem; /* Increased from 0.8rem */
  font-weight: 400;
}

/* Timeline - Education and Experience */
.timeline {
  font-size: 1rem; /* Increased from 0.9rem */
  position: relative;
  padding: 1.5rem 0;
}

.timeline-item {
  margin-bottom: 2rem; /* Reduced margin */
  position: relative;
}

.timeline-item h3 {
  font-size: 1.3rem; /* Increased from 1.2rem */
  font-weight: 400;
  margin-bottom: 0.2rem;
  color: var(--primary-light);
}

.timeline-subtitle {
  color: var(--gray-400);
  font-size: 1rem; /* Increased from 0.9rem */
  margin-bottom: 0.2rem;
}

.timeline-date {
  color: var(--gray-500);
  font-size: 0.9rem; /* Increased from 0.8rem */
  margin-bottom: 0.4rem;
}

.timeline-item p {
  font-size: 1rem; /* Increased from 0.9rem */
  line-height: 1.5;
  color: var(--gray-400);
}

/* Contact Section */
.contact-info p {
  color: var(--gray-400);
  margin-bottom: 1.2rem;
  font-size: 1rem; /* Increased from 0.9rem */
  line-height: 1.5;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1rem; /* Increased from 0.9rem */
  color: var(--gray-400);
}

/* Form elements */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--primary-light);
  font-family: var(--font-sans);
  font-size: 1rem; /* Increased from 0.9rem */
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem; /* Increased from 0.8rem */
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.primary-btn {
  background-color: var(--accent-1);
  color: var(--primary-light);
}

.primary-btn:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem; /* Increased from 0.8rem */
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .navbar-right {
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 70px;
  }

  .navbar-main {
    display: none;
  }

  .navbar-main.active {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .navbar-top {
    display: none;
  }

  .navbar-right.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    border-top: none;
  }
}

@media (max-width: 768px) {
  .navbar-center {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar-center {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    text-align: center;
  }
}
