/* Theme variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #6c757d;
  --accent-color: #e79717e9;
  --accent-hover: #d17a1a;
  --border-color: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-color: #f09228;
  --accent-hover: #ffa500;
  --border-color: #404040;
  --shadow: rgba(0, 0, 0, 0.3);
}

/* Main layout and structure */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Main container with flexbox layout */
.main-container {
  display: flex;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  margin-left: 190px; /* Account for fixed sidebar width */
}

/* Main content container */
.main-content {
  flex: 1; /* Take remaining space */
  padding-left: 40px;
  padding-top: 20px;
  padding-right: 40px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

/* Header styles */
.header {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 12px;
}

.name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-links {
  text-align: center;
  margin-bottom: 8px;
}

.contact-links a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Content sections - borderless style only */
.section { 
  display: none; 
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}
.section.active { display: block; }

.section heading {
  background: transparent;
  border: none;
  border-radius: 0;
}


/* Footer */
.footer {
  text-align: right;
  font-size: small;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
}

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

/* Theme toggle button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

.theme-toggle:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}
